The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Hello Triky,
This worked well. But when I try it for several users, like in your example : Code:
<if condition="in_array($post['userid'], 1,2,3)"> The following error occurred when attempting to evaluate this template: Warning: Wrong parameter count for in_array() in /includes/adminfunctions_template.php(3596) : eval()'d code on line 52 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. I think it something with the first comma, could it be? Regards, Tim --------------- Added [DATE]1195314928[/DATE] at [TIME]1195314928[/TIME] --------------- Okay Triky, I found it myself allready. To correct code should be, if I did this good :erm: : Code:
<if condition="in_array($post['userid'], array(1,2,3))"> |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|