Does anyone know how to add {$mysupport_jumpto_bestanswer} to another template, instead of showthread.php?
When I move it to another template, nothing shows.
to which template you want the move ..
I was thinking to add it in the postbit template. How would I do that?
You're going to have to change which function that contains the code to eval the {$mysupport_jumpto_bestanswer} plugs into.
I haven't looked at this particular plugin, but it's probably hooked into showthread_end and you'll want to hook it into postbit instead.
Check out this page for documentation on how plugins work. It'll help you figure out what changes you need to make to the plugin to get what you want.
http://docs.mybb.com/1.8/development/plu...asic-usage
(2014-12-05, 01:48 AM)jshort Wrote: [ -> ]You're going to have to change which function that contains the code to eval the {$mysupport_jumpto_bestanswer} plugs into.
I haven't looked at this particular plugin, but it's probably hooked into showthread_end and you'll want to hook it into postbit instead.
Check out this page for documentation on how plugins work. It'll help you figure out what changes you need to make to the plugin to get what you want. http://docs.mybb.com/1.8/development/plu...asic-usage
I couldn't find showthread_end, only showthread_start.
Then that would be what you would need to change.