The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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? |
#2
|
|||
|
|||
![]()
$isforumid is a boolean right? (true or false)
PHP Code:
|
#3
|
|||
|
|||
![]()
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> ![]() |
Благодарность от: | ||
TheLastSuperman |
#4
|
||||
|
||||
![]() Quote:
![]() Quote:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|