MyBB 1.2 Beta: Custom Moderation

Custom Moderator Tools are one of the new sections in the Admin Control Panel in MyBB 1.2. Also known as ‘multi-moderation’, this feature allows you to add ‘tools’ to the standard moderator options that allow you to do many moderator actions at the same time. For example, for our beta boards, we have a tool to mark fixed bug threads with a [F] and move it into the appropriate “Fixed Bugs” forum, and also add a reply stating that the bug was fixed. The tools allow moderators to do many actions in one, saving time and effort.

In the Admin CP, administrators can either add a “Post” tool or a “Thread” tool. As you may be able to guess, the Post tool is shown in the Inline Post Moderation options at the bottom of each thread. The “Thread” tools are shown at the bottom of the Inline Thread Moderation options at the bottom of each forum, and also at the bottom of each thread in the Moderation Options menu. As you can see from the screenshots below, there are many options that you may choose to include for each type of tool.

Custom Moderator Tools - Adding a Post Tool Custom Moderator Tools - Adding a Thread Tool

And the custom tools are displayed in an option-group clearly separated at the bottom of the moderator menus:

Custom Moderator Tools - Forum Display Inline Custom Moderator Tools - Thread Display Inline Custom Moderator Tools - Thread Display Options

And yes this feature was the guess-the-feature in one of my previous blog posts.

It took me a while to convert all the moderator actions into a class first so that the custom moderation tools could easily execute them, but I think the work is worth it in the long run, as we can now mark bug threads and suggestion threads on the Community Boards with ease 🙂 and I’m sure many administrators and moderators out there will find it quite useful on their board as well.

MyBB 1.2 Beta: Multi-quoting

I’m going to be posting this series of screenshots in new posts now.

One of the new features of MyBB 1.2 is multi-quoting. This function allows you to select as many posts as you want, from a one or more threads, and have them all ‘pre-quoted’ in the message box when creating a new thread or reply.

The following screenshot shows the postbit. The multi-quote button is the one to the right of the “Reply” button (which was “Quote” before 1.2). (The postbit display of the new reputation system is also shown here)

Selecting Multiquote Replies

The screenshot below shows the new reply page with the selected quotations pre-quoted.

Multi-quote new reply screen

MyBB 1.2 Beta

Every few days I will post a screenshot of the MyBB 1.2 Beta for those of you who didn’t get invited into the beta group (or beta-testers who are still interested in looking at these screenshots). In case you miss one, they will be archived on my Flickr gallery.

June 28, 2006

A view of one of the new sections of the Admin CP. You can now add in your own custom MyCode (using Regex expressions) without having to use plugins.

Add MyCode screen

June 27, 2006

With the new reputation system, the reputation is user-based instead of post based. Now you can view a lot more detail about the reputations you and anyone else gets:

Reputation Report

June 26, 2006

The beta-testing will start in a few hours, so here’s a sneak peek of the new reputation system.

User CP Main Page

Adding Reputation

MyBB Development Update: Moderation

I’ve also been working on MyBB recently and I’ve added a significant feature to MyBB 1.2 a few days ago, which I’ll let you people guess what it is. The feature was not requested due to popularity (I don’t think many people had suggested it on the MyBB Community Forums), but within the staff team there were some who supported this feature. I’ll start off with this clue and add more hints later if requested:

A couple of months ago, I converted most of the stuff in moderation.php into a class. This will allow plugins and other features within MyBB to easily call these methods to moderate threads and posts. An example:

require MYBB_ROOT."inc/class_moderation.php";
$moderation = new Moderation;
$moderation->close_threads(array(1, 3, 45));

Obviously from the description above, this new feature has something to do with the moderation system…

MyBB Development Update: Attachments

In anticipation of the release of first beta/preview of MyBB 1.2, I’ve been committing a lot of small features here and there. Some of them are from past suggestions on the Suggestions forum on the Community Forums (which proves that yes we do add features that people suggest to the MyBB releases). However, there are others that I have added on my own.

One of the sections I concentrated on during the last few days was the Attachment Manager, in both the Admin CP and User CP. I thought that it lacked some functionality, including finding broken attachments. There are three main ways where an attachment can be “lost.” First of all, the attachment can exist in the database, but the actual file has gone missing (directly deleted, or otherwise). Secondly, the attachment does exist in the uploads folder, but has lost its identification in the database. Thirdly, the attachment may not be associated with a post (eg. uploaded to a post that never was posted). I’ve started to implement an “Orphan Search” page in the Admin CP which currently searches for attachments that are in the uploads folder but aren’t associated in the database, and also gives an option to delete them. Regarding the first problem, I’ve added colour coding in the main attachment search page in the Admin CP that indicates that the file associated with the attachment does not exist. Now there are also a bit more detailed attachment statistics in the User CP (I thought that one line in the thead wasn’t sufficient ;)) I’ll probably be working on this more after the release of 1.2 so there will hopefully be more to come, for the attachment managers.

Anyway, as we’re nearing the release of the 1.2, I can see that there have been some significant modifications to certain parts of MyBB. Most of the changes were within the code. As you probably know, we are always looking for ways to make MyBB more OOP, so you’ll see a few new classes in the code. MySQL full-text searching capability should make its way into this release. This will hopefully make searching a lot better for both the user and the server. These are not all the changes, but just the few major ones. We like to give people surprises, so we’ll let you see them when it’s released 🙂