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);
4 new commands