Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Ajax] Quick Ban Hack ! Details »»
[Ajax] Quick Ban Hack !
Version: 1.1, by Creative Suite Creative Suite is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.6.7 Rating:
Released: 07-22-2007 Last Update: 07-23-2007 Installs: 26
 
No support by the author.

Hi all ..

=====

If you installed the hack before reading this warning please re-download the zip file and re-upload QuickBan.php file and replace the old one for secuirty reasons

=====


What does the hack do ? ..

1- Add new option for Adminstrator to ban the user under user informations in the post

2- If the admin Click the link he will get a confirm box to ban the user , if he hit yes then the ajax will run and show a message "Banning please wait " , if the ban succese the message will be "Banned Seccesed"

Notes :

1 - I didn't use phrases so if you want to change any one of them you have to edit Quick_Ban.php file or the templates !

2- Only super adminstrators can see the link [any user under usergroupid 6] so if you want this option for moderators u have to change the number of the group on the two templates and Quick_Ban.php file !

3-Ofcours no limit of banning in same page "without refreshing" , that's Ajax baby

4- I will improve the hack to make it much easier by using options in the admin cp

5- Feel free to improve and add any features to tha hack.



Installation Steps :
in the Zip File ..

CLICK INSTALL BUTTON IF U LIKED THE HACK..

Regards
CS ..

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-24-2007, 12:03 PM
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
Location: Nashville, TN
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack.
Reply With Quote
  #13  
Old 07-24-2007, 12:51 PM
nyqnzguju nyqnzguju is offline
 
Join Date: May 2007
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
$template_hook[postbit_userinfo_left]
cant find it
Reply With Quote
  #14  
Old 07-24-2007, 01:02 PM
Creative Suite's Avatar
Creative Suite Creative Suite is offline
 
Join Date: May 2004
Location: Kuwait :)
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nyqnzguju View Post
Code:
$template_hook[postbit_userinfo_left]
cant find it
it's belew this code

Code:
				<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
Reply With Quote
  #15  
Old 07-24-2007, 07:07 PM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about " Lift Ban time " and " Reason to show the user " ?
Reply With Quote
  #16  
Old 07-24-2007, 10:28 PM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a lot, good hack
Reply With Quote
  #17  
Old 07-28-2007, 02:20 PM
ngocha85 ngocha85 is offline
 
Join Date: Jan 2006
Location: Hanoi
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mecho View Post
what about " Lift Ban time " and " Reason to show the user " ?
Good question. ^^
Reply With Quote
  #18  
Old 07-30-2007, 06:28 AM
Cagonni Cagonni is offline
 
Join Date: Mar 2006
Location: Turkey
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
Reply With Quote
  #19  
Old 09-04-2007, 04:02 AM
Teknik4 Teknik4 is offline
 
Join Date: Nov 2006
Location: IstanbuL
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ops..
Quote:
Database error in vBulletin 3.6.8:

Invalid SQL:
select userid from user where userid NOT IN() AND usergroupid NOT IN(5,6) AND userid='22764';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND usergroupid NOT IN(5,6) AND userid='22764'' at line 1
Error Number : 1064
Date : Tuesday, September 4th 2007 @ 08:00:54 AM
Script : http://www.site.net/QuickBan.php?id=22764
Referrer : http://www.site.net/cat/60094-thrad-2.html
IP Address : 85.102.xx.xx
Username : xXx
Classname : vb_database
And not banned
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04821 seconds
  • Memory Usage 2,285KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete