The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have a plugiin that puts random photopost pro photos on the forumhome
I want to include this plugin on forumhome_forumbit_level1_nopost using this code: Code:
<if condition="$forum[forumid] == 3"> <br /> <div align="center"> $photopostfeature </div> <br /> </if> When I put that code in the forumhome, it displays the photoblock, but doesn't read the forum id. When I put the code in home_forumbit_level1_nopost it doesn't display at all. The hook location of the plugin is forumhome_complete. Can I change the hook location to make it work? |
#2
|
|||
|
|||
![]()
You need to use
Code:
<if condition="$forumid ==3"> |
#3
|
|||
|
|||
![]()
Thanks!
But that doesn't work either All I get is an extra line inserted. If I put plain text like: Code:
<if condition="$forumid == 3"> <br /> <div align="center"> Hello World </div> <br /> </if> |
#4
|
||||
|
||||
![]()
You use PHP in hooks, not HTML.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|