MyPlaza Documentation - Module Documentations
What are Modules?
MyPlaza Modules are similar to MyBB plugins, in that they can be used to extend the capabilities of MyPlaza. So if MyBB already has a plugin system, why do we need another such system? Here's a few reasons:
- Flexibility - By making modules specific to MyPlaza, modules can be better designed for the MyPlaza framework.
- Ease of development - MyPlaza includes many functions to module developers, specific to MyPlaza, to make module development much easier and faster than having to write a full MyBB plugin. Also, MyPlaza modules have the advantage of being developed in a passive manner. In addition, modules will inherit advantages and features in MyPlaza, such as CSRF protection.
- MyPlaza specific functions - MyPlaza modules have the advantage of being able to use functions specifically written for MyPlaza - such as automatic code editing, optimized database functions (such as multi-row inserts) and pre-written AJAX functionality.
- Speed & Resources - By design, most modules can work fine without needing to be loaded on every page, unlike MyBB plugins. With systems like passive function calling, and passive hooking, modules are only loaded when necessary. This allows your board to use less system resources.
- Clutter - By keeping MyPlaza specific files in one location, your MyBB plugins folder and languages folder won't get cluttered with a tonne of plugin files. This also has the added bonus of reducing name collisions.
- Module Management - MyPlaza can handle things such as uploading modules from the AdminCP as well as automatic updates and installations.
- Other Innate Advantages - Such as forcing someone to have MyPlaza installed before being able to use modules :P
Module Documentations
The following is a list of the modules included with this MyPlaza package. Note that the first three (Income, Donate & Bank) are automatically activated when you activate MyPlaza.
- Income Module
Allows users to earn income from various sources on the board, such as new posts.
- Donate Module
Allows users to donate money to other users.
- Bank Module
Adds a bank, in which users can store money to earn interest.
- Inventory Module
Adds an inventory system to MyPlaza. This allows you to make "ownable" items.
- Change Username/Usertitle/Post Formatting
Adds items to allow users to change the colour/font/style of their username, usertitle and default formatting for posts.
- Attachment Fees
Allows users/admins to place charges on attachment downloading.
- Change Username/Usertitle
Adds items to allow users to change their username or usertitle.
- Stick Thread
Adds an item to allow users to stick a thread.
Is there something you want, but not in the above list? Feel free to search for more modules! Still can't find what you want? You can also develop your own modules!