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
User Group Badge not showing up
Avatar
Joe Sawler
Rookie
Free Members
sp_UserOfflineSmall Offline
May 26, 2012 - 8:23 am

First off sorry if this is the wrong section.

I have uploaded badges for my moderators (similar to what you have for admins here) but they are not showing up when they post. I have them as moderators and assigned the badge to the user group.

 

Thanks.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 26, 2012 - 9:44 am

More than likely because you dont have the template tag for displaying it in your sp theme..  As shipped by us, the template files show the badges for the forum ranks and not the membership badge...  to show both would be overkill and look poor so we had to pick one...  just happens you want the other one...

So you need to edit your sp theme... we recommend making your own theme before making any changes so you dont lose the changes... see:  http://codex.simple-press.com/.....g-a-theme/

Since the badges appear on a topic view,  you want to customize the spTopicView.php template file...  find:

                            sp_PostIndexUserRank('tagClass=spPostUserRank spCenter');
                            sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter');

in there... and you can either replace those or add the membership badges to it with:

                            sp_PostIndexUserMemberships('tagClass=spPostUserMemberships spCenter');

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626