![]() |
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 :D |
Close. :)
Code:
<if condition="in_array($post['userid'], array(1, 2, 3))">...</if> |
All times are GMT. The time now is 06:35 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|