Support Forum
Hey Weltall,
Have you taken a look at the function reference in the Codex for Special Ranks? You should be able to do it with the showTitle argument.
You should not be editing core code but making changes to your theme templates - the spTopicView template. What SP theme is this you are using and have you made a child theme so you can make changes safely?
But - if you changed the actual functions themselves then it should work so - are we talking about the same thing? And are you using any caching plugin that might be showing old data?
Perhaps a screenshot of what you are referring to would be helpful just so we know...
YELLOW
SWORDFISH
|
Here it is
I'm not using any cache plugin. My template is reboot.
In topicview.php of my template, what should I change? My knowledge of php is basic, i have to add something here
sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter');
right?
Also, can you please tell me what is difference between child theme and default themes?
In reboot you will find the spTopicViewDesktop.php file in the 'desktop' folder under the main templates folder. Both the normal and special forum rank functions are defined in there. You need to add a showTitle argument to that. As in:
sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter&showTitle=0');
Note the ampersand in there. And no spaces.
A child theme will save any changes you make from being lost in subsequent updates of the software and are very easy to create - we do supply frameworks downloadable from our download pages. See this codex article for in-depth help:
YELLOW
SWORDFISH
|
1 Guest(s)