Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Adding more then 3 standard forum ranks.
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2014 - 9:14 pm

you are welcome!

Avatar
Mark Lyons
Member
sp_UserOfflineSmall Offline
Apr 18, 2016 - 1:37 pm

All,

Good afternoon/evening! I located this solution that allows the inclusion of the two available ranking methods on member profiles & posts:

1) Standard Ranking (based on the number of posts)
2) Special Ranking (based on who they are)

Unfortunately, replacing the code in the spTopicView.php file as noted above did not solve the problem. The Special Ranking replaces the Standard Ranking ... both are not showing.

Any suggestions on how to resolve this issue?

Also, is there a way to remove the ranking titles? That is, have the ranking badges show only ... not the words describing them ("Moderator", "Admin", etc, etc).

Thanks in advance,
Mark

Avatar
Mark Lyons
Member
sp_UserOfflineSmall Offline
Apr 18, 2016 - 1:47 pm

All,

Actually, the solution worked for posts ... but not for profiles. Is there a way to make it work for profiles?

Again, the other issue is removing the badge title from both ranking methods ... hopefully there's an easy solution for that.

Thanks again,
Mark

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 18, 2016 - 3:47 pm

Hey Mark,

For starters, what theme are you using as it will play a part in how the rank badges are displayed.

My guess would be that the reason it works for posts and not profiles is that you've only edited the spTopicView.php template. For profiles, you will need to do the same for spProfilePopupShow.php and spProfileShow.php.

Without knowing more, another guess would be that you need to add the argument 'showTitle=0' to your functions sp_UserForumRank and sp_UserSpecialRank.

reference:

https://simple-press.com/docum.....forumrank/

https://simple-press.com/docum.....ecialrank/

Avatar
Mark Lyons
Member
sp_UserOfflineSmall Offline
Apr 18, 2016 - 5:09 pm

Hi Ike,

That worked perfectly! While I was at it, I also added the ‘showTitle=0‘ argument to the following functions:

sp_PostIndexUserRank
sp_PostIndexUserSpecialRank

Using these references:

https://simple-press.com/docum.....xuserrank/

https://simple-press.com/docum.....ecialrank/

This, of course, removed the rank titles from the posts ... a much cleaner(and less repetitive) look!

By the way, I'm using the Stacked theme.

Much thanks!
Mark

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 18, 2016 - 5:12 pm

Good stuff, glad we could help! Stacked works just fine using this method. It's a much cleaner look - We have everything displayed as standard to give people the option of what they want to show.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625