Quote:
Originally Posted by Dave
$isforumid is a boolean right? (true or false)
PHP Code:
$isforumid = (in_array($thread['forumid'], array(1,2,3,4,5,189)));
|
"You must 'Like' someone else's post before liking any more by Dave." So instead I shall comment and +1 you now

.
Quote:
Originally Posted by bartek24m
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>
In post: the code above causes :

|
Is this conditional being used in the bbcode? You cannot use conditionals in BB Codes in such a way.... this one time... I swear there was a mod for that though allowing you to specify conditionals, if I recall and locate the link I will return, if not then I know its out there, might be vB4 though or I might be wrong and it could be for including something else in bbcodes its a long shot, ok ok shutting up now

.