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:
[php]require MYBB_ROOT."inc/class_moderation.php";
$moderation = new Moderation;
$moderation->close_threads(array(1, 3, 45));[/php]
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 🙂

We’re ditching MyBB!

Here is the outcome of one of our shortest MyBB developer meetings:

[22:45:13] Chris says: okay
[22:45:15] Chris says: we’re ditching mybb
[22:45:18] Dennis says: yeah
[22:45:23] Peter says: sure
[22:45:24] Dennis says: ok
[22:45:25] Peter says: 😛
[22:45:26] Dennis says: agreed
[22:45:30] Chris says: alright, glad thats resolved
[22:45:33] Dennis says: bye
[22:45:37] Peter says: bye, lol
[22:45:47] Chris says: cya

No we were just kidding 😉 Anyway, I’ve got part of my SVN back up, and I’ve started committing a little bit, after having no commits for who knows how long. I still have a lot of stuff to study for, as you can see from my last two blog posts, so MyBB development will be slow for me until the mock exams are over at least. In the near future, I foresee several more people being brought on board the MyBB team, and that would definitely speed things up around here, in terms of support and development.

Anyway, the ideas for MyBB 1.1-1.2 are great. There’s a new post parser class as some of you found out from certain attachments being leaked on the Community forums ;), and a lot of other stuff being planned. I hope to start working on a language panel for the Admin CP, since that would make life a lot easier if you wanted to change a certain phrase. I can’t wait for AJAX to be implemented into MyBB, and I think that will be in 1.2 as well (it’s not my area of specialty…yet :P)

Anyway, look out for things to come, from the MyBB dev team!

MyBB Development Update

MyBB development is going slowly (at least for me right now since it’s a busy time for me). It’s great that Kilroy has recently joined our team. Hopefully we can push MyBB 1.0 out the door sooner, since we started beta testing PR1 in the early months of this year.

Chris showed me the layout of the new Admin CP design that will be included in the next version of MyBB after 1.0, and I assure you it looks very good. I can’t wait for it to be released and I’m sure you can’t too.