The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
usually VBulletin displays all current moderators of a forum on the mainpage (as far as the function ist enabled in the acp). We've got one forum (plus its subforums) with _many_ moderators - for this one forum we would like to only show the moderators usergroup on the mainpage (the collum gets HUGE otherwise). We started to modify the code, but we are getting problems with commas, which are still beeing added by vbulletin for each moderator. Code we've changed in the forumhome_moderators: original code: Code:
<a href="member.php?$session[sessionurl]u=$moderator[userid]" rel="nofollow">$moderator[musername]</a> Code:
<if condition="$forumid==746"> <if condition="$moderator[username]==FinSHeR"> <a href="/showgroups.php"rel="nofollow">Replay Reviewers</a> </if> </if> <if condition="$forumid==749"> <if condition="$moderator[username]==FinSHeR"> <a href="/showgroups.php"rel="nofollow">Replay Reviewers</a> </if> </if> <if condition="$forumid==750"> <if condition="$moderator[username]==FinSHeR"> <a href="/showgroups.php"rel="nofollow">Replay Reviewers</a> </if> </if> <if condition="$forumid!=746"> <if condition="$forumid!=750"> <if condition="$forumid!=749"> <a href="member.php?$session[sessionurl]u=$moderator[userid]"rel="nofollow">$moderator[username]</a> </if> </if> </if> ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|