2016-04-23, 07:20 AM
Hello MyBB plugins developers
I have developed two MyBB plugins so far. I just learnt how to do OOP in PHP and would like to strengthen my knowledge in OOP in PHP by developing more MyBB plugins. A problem I encounter is that I do not know how to create a new page for my upcoming plugins. The two plugins I previously created was behind-the-scene scripts so there is no need for additional page.
I have read http://docs.mybb.com/1.8/development/plu...-new-page/. I manage to get the Misc template out. However I do not know how to insert my plugin functions at the middle of the page - content.
I checked some open source MyBB plugins and found out that I can insert a new custom template directly from the plugin itself. However, I wonder how do I make sure that my template will work with the themes of another website?
Any help will be appreciated. Thanks.
* I am a self-taught PHP developer - still beginner.
I have developed two MyBB plugins so far. I just learnt how to do OOP in PHP and would like to strengthen my knowledge in OOP in PHP by developing more MyBB plugins. A problem I encounter is that I do not know how to create a new page for my upcoming plugins. The two plugins I previously created was behind-the-scene scripts so there is no need for additional page.
I have read http://docs.mybb.com/1.8/development/plu...-new-page/. I manage to get the Misc template out. However I do not know how to insert my plugin functions at the middle of the page - content.
I checked some open source MyBB plugins and found out that I can insert a new custom template directly from the plugin itself. However, I wonder how do I make sure that my template will work with the themes of another website?
Any help will be appreciated. Thanks.
* I am a self-taught PHP developer - still beginner.
RandomAvatar for newly registered member - click here.