Support Forum
ranks to display in header question
kevin calvelli
Member
Free Members
Offline
hi I am trying to display the forum rank in the buddypress header .....the mycred plugin lets you and I think it would be a great idea to display the simple press rank in the header either the special rank or the Standard Forum Ranks ....also when you do the ultimate member plugin do the same thing. thanks
you can display the forum rank wherever you want..
function sp_UserForumRank($args='', $ranks) { $defs = array('tagClass' => 'spForumRank', 'titleClass' => 'spForumRank', 'badgeClass' => 'spForumRank', 'showTitle' => 1, 'showBadge' => 1, 'echo' => 1, );
is the template prototype... or for special rank
function sp_UserSpecialRank($args='', $ranks) { $defs = array('tagClass' => 'spSpecialRank', 'titleClass' => 'spSpecialRank', 'badgeClass' => 'spSpecialRank', 'showTitle' => 1, 'showBadge' => 1, 'echo' => 1, );
if you mean in forum header, than in you spHead.php template file, just put it where you want it to dispaly...
so for example:
sp_UserForumRank('showTitle=0', $spThisUser->rank);
Visit Cruise Talk Central and Mr Papa's World
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
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