PDA

View Full Version : Help on what hook to use for positioning a plugin


Belgrael
12 Apr 2008, 23:55
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.

78646

The code in the forumhome_forumbit_level1_nopost template is as follows:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



I would really appreciate some help urgently if anyone can provide assistance.

Opserty
13 Apr 2008, 10:59
You'll probably be looking for a forumbit_* hook or forumhome_forumbit (if that one exists - not entirely sure).

Belgrael
13 Apr 2008, 12:29
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? :)

Marco van Herwaarden
13 Apr 2008, 13:33
What should this plugin be doing?

Opserty
13 Apr 2008, 13:43
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).

Belgrael
21 Apr 2008, 03:55
Reply from the plugin author:

The code has nothing to do with any plugin location at all it is simple php code to generate an html box with photos in it.

I dont play with vb much so sorry cant be of much assistance to you plus I dont really in general participate in code mod forums since I have literally no time.

So, I'm stuck. :down: :confused:

Crappola!

Belgrael
01 May 2008, 09:22
Can anyone help me plllleeeeeaaaasssseeee?

Belgrael
24 May 2008, 04:16
Bumping. Desperate for a solution. Surely there is a vb programmer who can help?:confused: