MyBB Community Forums

Full Version: Creating AdminCP Pages (For your plugin)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I once started on a little documentation bit for the Plugins section of MyBB Docs. After a while, I noticed my writing style did not quite fit that of documentation, and I've also had no time to finish what I intended to write. 

The documentation can help plugin developers create custom pages in AdminCP for their plugins. It's also quite a light read.

It includes:
- Hooking to AdminCP
- Setting up a simple page
- Using the built-in Table class
- Adding Pagination to tables

Missing:
- Permissions to Pages
- Using the built-in Form class
- Using other built-in functions (codebuttons editor, pop-up buttons)

You can view it here on GitHub!
https://github.com/Xazin/docs.mybb.com/b...p-pages.md
Hi, from a quick look the most disturbing thing would be the mix usage of array() and the short array syntax, remember the minimum PHP requirement for MyBB 1.8 is ≥5.2.

Good job so far of course Smile
(2021-05-20, 06:49 PM)Omar G. Wrote: [ -> ]Hi, from a quick look the most disturbing thing would be the mix usage of array() and the short array syntax, remember the minimum PHP requirement for MyBB 1.8 is ≥5.2.

Good job so far of course Smile

Thanks for mentioning it, I'll change all short array syntax (introduced in 5.4)