The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#8
|
|||
|
|||
![]()
ok my mistake
if ($userinfo['usergroupid'] != "6") { //means he's admin $adminurl = false; } else { $adminurl = true; } on templte <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]<if condition="$adminurl"><img src="URL"></if></a> and if this 1 not working then $nfo = $DB_site->query_first("select * from ". TABLE PREFIX ."user where userid='$post[userid]'"); and then if ($nfo['usergroupid'] != "6") { //means he's admin $adminurl = false; } else { $adminurl = true; } and then the template thing |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|