The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
postbit code
I'm trying to set some images by usergoups and I'm using this code:
Code:
<div align="center"> <if condition="$bbuserinfo['usergroupid'] == 6"> <img src="$stylevar[imgdir_misc]/admin.png"> </if> <if condition="$bbuserinfo['usergroupid'] == 5"> <img src="$stylevar[imgdir_misc]/mod.png"> </if> <if condition="$bbuserinfo['usergroupid'] == 8"> <img src="$stylevar[imgdir_misc]/banned.png"> </if> <if condition="$bbuserinfo['usergroupid'] == 2"> <img src="$stylevar[imgdir_misc]/member.png"> </if> </div> |
#2
|
|||
|
|||
Hmm try:
Code:
<if condition="is_member_of($vbulletin->userinfo, 6)"> You image code here. </if> |
#3
|
|||
|
|||
Quote:
--------------- Added [DATE]1199648511[/DATE] at [TIME]1199648511[/TIME] --------------- Nevermind, got it. Had to run maintenance after putting User Ranks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|