PDA

View Full Version : plugin hook location for "ad_showthread_firstpost" template?


john2k
02-06-2009, 09:37 PM
I would like to insert the results of a plugin into ad_showthread_firstpost and am looking for the best hook location to use. Everything works perfectly when I use the global_start hook, but I see no reason to have the plugin code run globally when I only need it for thread displays so the result can be shown in the ad_showthread_firstpost template.

So, with that said, can anyone suggest which hook location is the correct one to be used in this situation?

Thanks,

John

ForumsMods
02-06-2009, 09:46 PM
showthread_start

john2k
02-07-2009, 01:36 AM
Perfect! Thank you very much! :)

abdobasha2004
08-02-2014, 03:17 PM
ForumsMods, you are the best :)
Thanks,
it is really very nice to find this edit !