The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
On my site in the Who's On-line on both the forumhome template and in online.php I don't want my admins to appear any differently to regular users... i.e. I don't want the usernames in bold or italics, I want the text formatted regularly. Is this simply a temlate edit? Help on this would be greatly appreciated - thanks!
|
#2
|
||||
|
||||
![]()
vbulletin CP/ general settings
![]() |
#3
|
|||
|
|||
![]()
Admin CP---->vbulletin options--->Forums Home Page Options---hightlightadmin---NO
good luck |
#4
|
||||
|
||||
![]()
Thanks guys, but is there a way to do this for Admins, but still keep moderators in bold?
|
#5
|
||||
|
||||
![]()
In online.php replace:
Code:
if ($user['usergroupid'] == 6 and $highlightadmin) { $userinfo["$key"]['username'] = "<b><i>$user[username]</i></b>"; } else if (($mod["$key"] or $user['usergroupid'] == 5)and $highlightadmin) { Code:
if (($mod["$key"] or $user['usergroupid'] == 5)and $highlightadmin) { |
#6
|
||||
|
||||
![]()
Thanks very much yet again FireFly.
![]() |
#7
|
||||
|
||||
![]()
FireFly, I just realised that this work's for online.php, but doesn't work for the whosonlinebit on forumhome. Any ideas?
|
#8
|
||||
|
||||
![]()
I thought that's what you wanted.
In index.php replace: Code:
if ($loggedin['usergroupid'] == 6 and $highlightadmin) { Code:
if ($loggedin['usergroupid'] == 6 and $highlightadmin and 'foo' == 'bar') { |
#9
|
||||
|
||||
![]()
It was both I wanted, they're both useful. Thankyou very much sir.
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|