View Full Version : Hook name
Adem GEN?
04-30-2009, 06:14 PM
Hello,
For SHOWTHREAD template
I will add a plugin
Hook Location I will use what?
Thanks
Lynne
04-30-2009, 06:30 PM
Moved to General vB Discussions.
If you turn on debug mode, you will see a list of all the hooks available for that page. There are several showthread hooks:
showthread_start
showthread_getinfo
showthread_post_start
showthread_query_postids
showthread_torrent
showthread_query
showthread_postbit_create
showthread_similarthread_query
showthread_similarthreadbit
showthread_complete
Along with several postbit hooks:
postbit_factory
postbit_display_start
postbit_imicons
postbit_attachment
postbit_display_complete
And a ton of others. You really need to look at the showthread.php page and see exactly what variables you need available (if you need a $post variable, you need to use a hook after the $post variable is defined) and what templates are evaled at what point.
Adem GEN?
04-30-2009, 07:15 PM
Thank you
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.