The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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> |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|