A A A
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Forum Login
Lost password?
general-topic
Turning off text user group when adding rank badges
...View Related Tags
Avatar
Gomlers
89 Posts
(Offline)
11
Mar 29, 2013 - 7:38 pm
Print

I’ve found a solution to this which I think is OK :)

This is how you manage to have Forum Ranks displayed as text for standard members, and then badges without text for your moderators and you – the administrator:

I inserted these lines in the /forum-themes/my-theme/templates/topicView.php

Find:

sp_PostIndexUserLocation('tagClass=spPostUserLocation spCenter');

Insert these lines after the code above:

sp_PostIndexUserRank('tagClass=spPostUserRank spCenter&showTitle=1' );
sp_PostIndexUserMemberships('tagClass=spPostUserMemberships spCenter&showBadge=0&showTitle=0');
sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter&showTitle=0');

And before:

sp_PostIndexUserPosts('tagClass=spPostUserPosts spCenter', __sp('Forum Posts: %COUNT%'));

And in the forum-admin –> Components –> Forum Ranks i made two new Special Forum Ranks:

Image Enlarger

Uploaded the badges from the box below the Special Forum Ranks:

Image Enlarger

Then in the box at the top of Components –> Forum Ranks I made a whole bunch of new ranks, which are meant for the standard members, like “New Member”, “Full Member”, “Silver Member” and whatever way you choose to rank your members..

 

Image Enlarger

Never mind the strange language :) it’s Norwegian..

But I think that’s about it.. hope it can help someone – who is just as terrible at PHP as myself :p

Avatar
Yellow Swordfish
Glinton, England

16436 Posts
(Offline)
12
Mar 30, 2013 - 5:35 am
Print

That;s what we used to do on this site until we went to all badge use. Well worked out.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: America/New_York
All RSSShow Stats
Administrators: Blues Dancer, Simple Press, SP Community Support
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 630
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Newest Members:
BadSantaeni
Patrice Elizabeth
Caroline Norriss
Web team
Pavol Vrabec
Hélène CLEMENT
Forum Stats:
Groups: 7
Forums: 17
Topics: 10062
Posts: 79357

 

Member Stats:
Guest Posters: 607
Members: 16915
Moderators: 0
Admins: 3

Most Users Ever Online
499
Currently Online
Mira Michelle, Silvia Di Blasio
Guest(s)
5
Currently Browsing this Page

1 Guest(s)