MyBB Community Forums
[How To?] Plugin Not Working on Custom PHP Page - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] Plugin Not Working on Custom PHP Page (/thread-223000.html)



Plugin Not Working on Custom PHP Page - FaridAzhar777 - 2019-05-13

Hello, I have created a custom PHP page for headers, headerinclude and footer have no problems. but the plugin doesn't work.

Like this plugin...
[Image: uz9KUde.png]

[Image: 75pwvHw.png]

how can I fix it?


RE: Plugin Not Working on Custom PHP Page - Michael2014 - 2019-05-14

it won't work because you have to hook the plugin to get it to work on a custom page


RE: Plugin Not Working on Custom PHP Page - chack1172 - 2019-05-15

Did you use output_page function to display the page? Myadvertisements hooks to it.