Hook to display my HTML before threads list in a forum
HI All,

I want to display some custom HTML in a forum before a list of threads on a forum display page.
How can i do this with a plugin and hooks?

I know how to do a plugin. I can not find how to do this with hooks
First read this: http://docs.mybb.com/1.8/development/plu...a-variable - do that during installation/activation.

Then initialize the variable added to a template in a hook connected with the page you want to edit - the list of them is here: http://docs.mybb.com/1.8/development/plugins/hooks/ You can see that for instance forumdisplay_start can be used.

Forum Jump:

Users browsing this thread: 1 Guest(s)