Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Original issue on 1.8 private repo: https://github.com/mybb/MyBB18/issues/36
There are currently suggestions to group together reports (and prevent 'duplicate' reports for the same post), being able to report a profile and being able to report a profile comment.
To meet these suggestions, a Report Center should be added to replace Reported Posts. This is, in fact, a 2.0 feature (see mock ups) that will be brought forward into 1.8; albeit, in a lesser form. In 1.8, the Report Center will track Posts, Profiles and Reputation Comments. It will prevent users being able to report content that has already been reported before; instead, it will simply add an extra 'vote' to the content's original report. It should not allow commenting on the report itself and relatively keep the same database schema.
We should also add specific categories for reasons for reporting content; Spam, Breaks Forum Rules, Wrong Forum and Inappropriate Content (maybe 'Other' too?). Users should be able to add more via the ACP (so a new setting will be needed). Translations of this setting's options should also be made available to handle multiple locales.
This commit changes several things. First it adds a $db->rename_table routine, allowing you to change the name of a table easily.
Second, it changes the name of the reportedposts table to reportedcontent.
Third it renames the reportedposts cache to reportedcontent (found the first use of the new $cache->delete method).
This error is normal?
MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.
Please contact the MyBB Group for technical support.