The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need some conditional statement assistance
I need some quick conditional statement assistance. basically i want to detect the user who just posted user id and if his userid is a specific one an icon will display under his username and only his username, also, it'll appear on all his posts.
I think the code is something like this Code:
<if condition="[$post]userid == array ('1, 3, 5']);"><img src="image"></if> THX |
#2
|
||||
|
||||
Close.
Code:
<if condition="in_array($post['userid'], array(1, 2, 3))">...</if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|