MyBB Community Forums

Full Version: adding php to my footer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone tell me how I can add a small piece of php to my footer?
I am confused since Mybb uses templates rather than a footer.php file.
Thank you for your help!
You can create a plugin to execute some of your PHP code in the global_start hook - that's generally how you get dynamic stuff in your templates.

Alternatively, you can try this plugin: http://mybbhacks.zingaburga.com/showthread.php?tid=177
ZiNgA BuRgA Wrote:You can create a plugin to execute some of your PHP code in the global_start hook - that's generally how you get dynamic stuff in your templates.

Alternatively, you can try this plugin: http://mybbhacks.zingaburga.com/showthread.php?tid=177

That worked perfectly. Thank you for your help!