Version: 1.00, by zajako
Developer Last Online: Aug 2013
Version: 2.2.x
Rating:
Released: 10-22-2003
Last Update: Never
Installs: 8
No support by the author.
All right, its been a while since i released something here.
Lets hope that i dont have anymore bad experinces with releasing programs here, cause i like sharing my projects with you guys.
vB-DOS is a potentialy powerful script that integrates with the vbulletin reply system. When you make a post it checks to see if you have a command word in it. If you do it then runs the proper script for that command. You can also make commands simply post a reply with an answer, for example, if you make the command !help and you set the reply to list some other commands, and leave the command field at 0 it will simply post a reply with the answer to the command you gave.
However the powerful part of this, is you can run php scripts with commands. Included with the install file are 4 common commands, that make moderating your forums easier.
!deletethread -- when this is posted by an admin, it deletes the thread it was posted in.
!dumpthread -- when this is posted by an admin or smod, it moves the thread to the assigned dump forum
!closethread -- when this is posted by an admin or smod , it closes the thread it was posted in
!openthread -- when posted by an admin or smod, it opens a closed thread it was posted in.
This script helps me alot, and my mods appriciate it. If you use it and make custom commands, please share them here, as i have shared this program with you.
Ill post all shared commands in this post, please include a description with your command that you share.
Demo www.tfogame.com (there is a post in the news forum about it saying tfo computer, keep to that thread for testing it please) The !help command lists some userside faq commands.
Shared Commands
Stick thread - by zajako
sticky's a thread.
PHP Code:
INSERT INTO `comp_keywords` VALUES (null, '!stickthread', 'if($bbuserinfo[usergroupid] == 6 || $bbuserinfo[usergroupid] == 5){\r\n $DB_site->query("UPDATE thread SET sticky=\'1\' WHERE threadid=\'$threadid\'");\r\n $goto="showthread.php?s=$session[sessionhash]&threadid=$threadid";\r\n eval("standardredirect(\\""."Thread Stuck"."\\",\\"$goto\\");");\r\n}else{\r\n $dosmess="You do not have permission to do said command.";\r\n}', 1);
UnStick thread - by zajako
unsticky's a thread.
PHP Code:
INSERT INTO `comp_keywords` VALUES (null, '!unstickthread', 'if($bbuserinfo[usergroupid] == 6 || $bbuserinfo[usergroupid] == 5){\r\n $DB_site->query("UPDATE thread SET sticky=\'0\' WHERE threadid=\'$threadid\'");\r\n $goto="showthread.php?s=$session[sessionhash]&threadid=$threadid";\r\n eval("standardredirect(\\""."Thread Stuck"."\\",\\"$goto\\");");\r\n}else{\r\n $dosmess="You do not have permission to do said command.";\r\n}', 1);
Hide thread - by zajako
Makes a post non visible
PHP Code:
INSERT INTO `comp_keywords` VALUES (null, '!hidethread', 'if($bbuserinfo[usergroupid] == 6 || $bbuserinfo[usergroupid] == 5){\r\n $DB_site->query("UPDATE thread SET visible=\'0\' WHERE threadid=\'$threadid\'");\r\n $goto="showthread.php?s=$session[sessionhash]&threadid=$threadid";\r\n eval("standardredirect(\\""."Thread Stuck"."\\",\\"$goto\\");");\r\n}else{\r\n $dosmess="You do not have permission to do said command.";\r\n}', 1);
Show thread - by zajako
makes an invisible post visible
PHP Code:
INSERT INTO `comp_keywords` VALUES (null, '!showthread', 'if($bbuserinfo[usergroupid] == 6 || $bbuserinfo[usergroupid] == 5){\r\n $DB_site->query("UPDATE thread SET visible=\'1\' WHERE threadid=\'$threadid\'");\r\n $goto="showthread.php?s=$session[sessionhash]&threadid=$threadid";\r\n eval("standardredirect(\\""."Thread Stuck"."\\",\\"$goto\\");");\r\n}else{\r\n $dosmess="You do not have permission to do said command.";\r\n}', 1);
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I find it very beneficial, It helps out on moving mutlti threads and such.
Oh, Zaj, you may want to look into that thing about the bot, when it posts, the post don't count toward the post counts, and it ends up glitching the forum post, I have to update the counter more often to fix it.
Pretty much you program the bot by installing query commands, if you can find out the mysql query for super close a specific thread I am sure you can do that command.