vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB-DOS turning quick reply into command prompt (https://vborg.vbsupport.ru/showthread.php?t=58124)

zajako 10-23-2003 10:50 PM

thanks erwin ;)

Dan 10-23-2003 11:01 PM

wonderful hack zajako.... you plan on updating it for vB3 when it goes rc?

zajako 10-23-2003 11:04 PM

yep, it will be an easy update to make, seeing how this does not rely on vb2's functions, i just gotta change the queries around, thats about it.

Gio Takahashi 10-24-2003 01:31 AM

This thing is surprisingly simple and easy to play with for such a powerful script, the installation was easy as heck, Though it does requires a lot of database work but it is very easy, I will definitely try to get more command out of this.

zajako 10-24-2003 01:34 AM

Stick thread - by zajako
sticky's a thread.
PHP Code:

INSERT INTO `comp_keywordsVALUES (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_keywordsVALUES (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_keywordsVALUES (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_keywordsVALUES (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 ;)

Gio Takahashi 10-24-2003 01:52 AM

Added and tested and it works without problem.

I see a LOT of potential in this, anyone can easily make add Ons to this hack, I can also that this can go well with several other major hacks like Lesane's store hack, this one should have its own sub forums. There could be a lot of add ons involved with this one.

KingdomHeartsII 10-24-2003 02:06 AM

This hack might make a really really really good idae, im installing Store right now, but this is on my list! nice idea!

[high]* KingdomHeartsII LIKES! :D[/high]

zajako 10-24-2003 02:38 AM

thanks kingdom hearts :)

Areku 10-24-2003 07:46 AM

Isn't it faster with the small checkboxes some of you created as addon for the quick reply?

To me it's faster to click a checkbox than to write a command...

zajako 10-24-2003 08:49 AM

this is so versitle though that you can make commands do almost anything. Not just things that the checkboxes could do. The post and thread editing commands are just some defaults i added.


All times are GMT. The time now is 02:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01020 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete