View Full Version : Moderate new threads
kippesp
04-22-2002, 10:00 PM
I first had this hack in a reply in this thread (https://vborg.vbsupport.ru/showthread.php?threadid=36597) 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 (https://vborg.vbsupport.ru/showthread.php?threadid=37013) 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.
inetd
04-23-2002, 07:53 PM
Please post screenshot from forum-level in admin CP.
P.S. Post normal .txt file, created with Notepad.
Chris M
04-23-2002, 07:56 PM
Aye...
I would like proof of working before "purchase":D
Satan
inetd
04-23-2002, 08:25 PM
I install this hack, and testing now :)
inetd
04-23-2002, 08:38 PM
I add small replace to hack.
In admin/index.php find this code
makenavoption("New Posts","../mod/moderate.php?action=posts","<br>");
and replace to this
makenavoption("New Threads & Posts","../mod/moderate.php?action=posts","<br>");
In mod/index.php find code
makenavoption("New Posts","moderate.php?action=posts","<br>");and change to thismakenavoption("New Threads & Posts","moderate.php?action=posts","<br>");
That's all!
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".
kippesp
04-24-2002, 03:38 AM
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 (https://vborg.vbsupport.ru/showthread.php?threadid=37193). 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.
Richard
12-20-2002, 03:38 AM
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?
Smoothie
12-23-2002, 09:17 AM
Installed, works fine.
Dontom
01-24-2003, 10:05 AM
I also use this hack . it works perfect for me.
I left away this part $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
Logikos
03-17-2003, 06:19 AM
Also another member using this hack and works great! One question. Can i get it to PM Admins, and Sup Mods? Instead of Email Me?
Logikos
03-26-2003, 02:28 AM
I know there has to be a way to have it PM usergroup id's :(
[email protected]
vbmenu_register("postmenu_410542", true);
06-18-2003, 11:18 PM
Getting this error.
Parse error: parse error, unexpected ']' in /home/sportbik/public_html/admin/forum.php on line 198
Any ideas???
[email protected]
vbmenu_register("postmenu_410547", true);
06-18-2003, 11:35 PM
Fixed !
Splitfyre
06-24-2003, 08:44 PM
Can this be set for one forum category, or is this for all forum categories?
Smoothie
06-26-2003, 06:17 AM
Its per forum.
Splitfyre
06-26-2003, 06:31 AM
Cannot specify one forum??!?!?! Crazy. Anyone know how to hack it to add this function so I can have one forum that gets moderated?
Smoothie
06-26-2003, 06:54 AM
It's per forum, you can specify only forum to moderate new threads. I thought I just said that.......
Splitfyre
06-26-2003, 01:02 PM
I specified one forum by the forumid but it does not work :(
Smoothie
06-26-2003, 03:50 PM
there is a radio button in the admin cp for each forum;
forums-> modfy->
Thread Queue
(Require moderator validation before new threads are displayed) Yes No
Splitfyre
06-26-2003, 04:24 PM
Tried modifying but I get the following error after installing hack. This is what I get:
Parse error: parse error, unexpected T_STRING in /home2/flooks/public_html/forums/admin/forum.php on line 102
This is the snippet it complains about at line 102:
makeyesnocode("Attachment Queue<br>(Require moderator validation before new attachment are displayed)","moderateattach",0);
Is there something that needs modifying in that area? Here's a bigger snippet with the above code included:
makeyesnocode("Thread Queue<br>(Require moderator validation before new threads are displayed)","moderatenewthread",0);
makeyesnocode("Post Queue<br>(Require moderator validation before new posts are displayed)","moderatenew",0)
makeyesnocode("Attachment Queue<br>(Require moderator validation before new attachment are displayed)","moderateattach",0);
Splitfyre
06-27-2003, 09:47 PM
anyone?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.