Modules
From MyPlaza
Contents |
[edit] Introduction
[edit] What are Modules?
MyPlaza Modules are somewhat similar to MyBB plugins in that they can extend the capabilities of the aforementioned scripts.
[edit] Why a Separate System?
If MyBB already has a plugin system, why do we need another?
[edit] 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.
- MyPlaza takes more of an active role, allowing modules to be developed in a more passive manner. Not only is this easier to code for, but also allows MyPlaza to perform some automatic optimization.
- MyPlaza will also handle many things for plugins, such as automatic Helpdoc translations and so on.
[edit] Inherited Features
By developing for MyPlaza, modules can inherit many features offered by MyPlaza. These include (but not limited to):
- CSRF attack protection
- Restocking
- AJAX features
- Optimized Database functions
[edit] Speed
By MyPlaza's active design, most modules can work fine without needing to be loaded on every page, unlike MyBB plugins. MyPlaza also incorporates systems, such as Passive Hooking to ensure minimal resource usage, even with a large number of modules installed.
[edit] Less Clutter
By keeping MyPlaza specific plugins in one location, your MyBB plugins folder and languages folder won't get cluttered with a tonne of MyPlaza related files (assuming you install a lot of modules!). This also has the added bonus of reducing name collision issues.
[edit] Module Management
MyPlaza can handle things such as uploading modules from the AdminCP as well as automatic updates and installations.
[edit] Other Innate Advantages
Such as forcing someone to have MyPlaza installed before being able to use modules :P
[edit] Available Modules
- 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.
- User Formatting module - Allows users (and admins :P) to change the style/formatting used for their username, usertitle and posts.
- Attachment Fees module - Allows uploaders and admins to place "fees" for other users to download their attachment
- Gambling module - Adds some basic gambling items to MyPlaza.
- Buy into Usergroup - Allows users to pay a fee to enter a usergroup.
- Change Username/Usertitle - Allows users to pay to change their username or usertitle.
- Stick Thread - Allows users to pay to have a specified thread stickied.
- Invest in Board - Allows users to invest some of their money into the board.
- Remove Restrictions - Allows admins to control permissions at a user level, plus allows users to pay to reduce/remove their restrictions.
See also: MyPlaza Modules Forum
[edit] Developing Modules
Please see Module development.