Version: 1.00, by kippesp
Developer Last Online: Nov 2013
Version: 2.2.x
Rating:
Released: 04-22-2002
Last Update: Never
Installs: 25
No support by the author.
I first had this hack in a reply in this thread but thought it would be confusing. They are different enough that I'm making my own thread. (The referenced hack disables control of thread moderation making all new threads moderated.) You can blame this thread for my confusion on where to put this hack.
Description: This hack allows forum-level control to moderate new threads. It is similar to the forum-level control to moderate new posts already provided by a default vBulletin installation. On/off controls are in the same area as the controls for moderating attachments & posts. This hack does require a DB modification.
Included in this hack is a small change my admins find useful to the admin/mod control panels (admin/index.php and mod/index.php). It is completely optional and independent of the moderate new thread hack. All it does is add a bit of helpful information after logging in to the admin control panel or moderator contol panel. It will provide something like the following:
There are currently no posts, no attachments, and 1 thread(s) awaiting moderation.
By the way, I hope to never see this hack used here.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Hack work's fine! But this hack don't work with hack by freddie "Admin Quick Stats". freddie, if you read this thread please help me. kippesp, add combine with "Admin Quick Stats".
Originally posted by inetd
Hack work's fine! But this hack don't work with hack by freddie "Admin Quick Stats". freddie, if you read this thread please help me. kippesp, add combine with "Admin Quick Stats". [/B]
Wordwraps added to file.
I didn't know about freddie's hack. If you have that already, ignore everything in my hack file after the ####'s. freddie's hack looks to take care of all this information plus some more.
As far as proof, I can't give proof. But here is a screen shot that shows the modified on/off control area.
Just wondering, would it be possible to add in an addition to move the moderated thread to another forum if you think it's not suitable for that forum?
I also use this hack . it works perfect for me.
I left away this part
PHP Code:
$invisible=$DB_site->query_first("SELECT COUNT(*) AS posts FROM post WHERE visible=0");
if ($invisible[posts]==0) {
$moderatedposts = "no posts";
} else {
$moderatedposts = "<b>$invisible[posts] posts(s)</b>";
}
$invisible=$DB_site->query_first("SELECT COUNT(*) AS attachments FROM attachment WHERE visible=0");
if ($invisible[attachments]==0) {
$moderatedattachments = "no attachments";
} else {
$moderatedattachments = "<b>$invisible[attachments] attachment(s)</b>";
as it took very long for my admincp to load (I have > 400.000 posts in my forums)
Tom