The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help on what hook to use for positioning a plugin
Hi all,
I'm using the Photopostfeature plugin to display featured photos on the forum index and it works if I assign it the forumhome_complete hook but I want to display it in between 2 forums and hence I don't know what hook to use as it is not working currently. http://test.aucado.us is the forum index page and down between the Fun Stuff forum and the Rescue Forum is where I want to display it, where the text currently shows TESTING APRIL 12. Attachment 78646 The code in the forumhome_forumbit_level1_nopost template is as follows: Code:
<if condition="$forum[forumid] == 5"> </table> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr align="center"> <td class="thead"> </td> <td>$photopostfeature</td> <td>TESTING APRIL 12</td> </tr> </thead> </table> </div> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr align="center"> <td class="thead"> </td> <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="175">$vbphrase[last_post]</td> <td class="thead">$vbphrase[threads]</td> <td class="thead">$vbphrase[posts]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead">$vbphrase[moderator]</td> </if> </tr> </thead> </if> |
#2
|
|||
|
|||
You'll probably be looking for a forumbit_* hook or forumhome_forumbit (if that one exists - not entirely sure).
|
#3
|
|||
|
|||
Thanks for your advice. I tried all the forumbit_* hooks and none worked. In fact the front page came up blank for each one. I tried changing the Execution Order to numbers 1 to 16 and still nothing.
I've tried several of the forumhome_ hooks, also to no avail. Any other ideas apart from me going mad trying every single hook and testing? |
#4
|
|||
|
|||
What should this plugin be doing?
|
#5
|
|||
|
|||
It is probably because the Plugin code relies on PHP code present when the forumhome_complete hook is executed. You'll need to speak to the Plugin Author about how you can edit the Plugin so it will work at the desired hook location, (if it is possible).
|
#6
|
|||
|
|||
Reply from the plugin author:
Quote:
Crappola! |
#7
|
|||
|
|||
Can anyone help me plllleeeeeaaaasssseeee?
|
#8
|
|||
|
|||
Bumping. Desperate for a solution. Surely there is a vb programmer who can help?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|