MyPlaza Modules - Income Module
Overview
The Income Module adds the ability for users to earn money from various activities on the board.
Features
- Many sources for income earning.
- New posts, including bonus money to thread creator, bonus money for extra characters used in the message and subject, and you can specify a minimum/maximum length before anything is considered (as well as the ability to ignore quotes).
- Editing a post.
- Making a thread (all sources of income for the post also applies).
- Viewing a thread (paid to thread creator).
- Making a poll.
- Voting in a poll, plus bonus money to the poll creator.
- Reporting a post.
- Referring a user, plus bonus money to the referred user.
- Rating a thread, plus money towards the thread creator for being rated.
- Rating a user, plus money towards the user for being rated, plus additional money for each character used in the comment.
- Sending a PM, plus bonus money for each character used in message and subject, and you can also specify a minimum/maximum length to consider (plus ability to ignore quotes).
- Viewing an (unread) PM.
- Uploading an attachment.
- Downloading an attachment, plus bonus money to the uploader for each download.
- Viewing any page on the forum.
- Visits to the forum.
- Sticking a thread.
- Closing a thread (negative income).
- Ability to change rate at which usergroups earn income.
- Ability to change rate at which income is earnt for different forums.
- Ability to change the global rate at which income is earnt.
- Ability to change "negative income" rates.
- You can recalculate everyone's income.
- All deletions are calculated correctly, and remove the appropriate amounts.
- Supplied help document.
- All queries have been optimized.
- No code edits required.
Notes
This module comes with two additional files (since v1.2.5). The reason for this is to allow the main module file (income.php) to be as small as possible, as it is include'd on each page.
Since this module is included with MyPlaza, this shouldn't be much of an issue. The other two files, related to this plugin are /inc/myplaza/income_plugin.php and /inc/myplaza/income_admin_plugin.php.
Version History
v1.2.5 - January, 12, 2008
- Added three extra sources of income: money per visit, attachment download, and bonus money to the uploader per download.
v1.2.4 - December, 30, 2007
- Fixed some bugs, and patched an "exploit".
v1.2.3 - December, 23, 2007
- Added options to set maximum lengths for posts and PMs
- Added options to parse out quotes in posts and PMs
- Added helpdoc to show what is earnt
- Some bugfixes
v1.2.2 - December, 12, 2007
- Fixed some bugs causing some miscalculations
- Implemented a number of dirty-ish hacks to remove the need for code edits (note, if you've already done the code edits however, the Income module will still take advantage of them)
v1.2.0 - December, 4, 2007
- Some bugfixes
- Added quite a few new sources of income
v1.1.0 - December, 3, 2007
- Compatibility fixes for MyBB 1.2.3
- Added ability to set different income rates for different forums (requires additional code edits to work; note that these code edits are optional).
- Added ability to set different income rates for different usergroups.