![]() |
more variable in my conditional
i would like modyfy just one line of php code in my hook
PHP Code:
It works when is written only one forum id. i would like to add up more numbers to this conditional but i dont know how. i tried change code in to this: $isforumid = array(1,2,3,4,5,189) === $thread['forumid']; but it doesnt work :( any ideas? |
$isforumid is a boolean right? (true or false)
PHP Code:
|
It works !
Thank you very much !! :) I have another question: If it's possible to use this condition in my custom template: zippyshare_player_user which is combined with hook located in bbcode_fetch_tags ? When i try to use this code it didn't work :( HTML Code:
<if condition="in_array($forum['forumid'], array(1,2,3,4,5,189))">Special forum id</if> https://vborg.vbsupport.ru/external/2015/09/19.jpg |
Quote:
Quote:
|
All times are GMT. The time now is 06:49 AM. |
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:
|