PDA

View Full Version : Moderators Functions - [Ajax] Quick Ban Hack !


Creative Suite
07-22-2007, 10:00 PM
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 :p

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 ..

yaoren
07-22-2007, 10:36 PM
Maybe useful in the future but for now i'll pass... Thanks anyway!

johnrizz
07-22-2007, 11:08 PM
I have something like this already in the name profile drop down menu, but thnks anyways!

Spank
07-22-2007, 11:19 PM
Useful. Ta.

puertoblack2003
07-22-2007, 11:42 PM
thanks i like ajax features will test it out on my test board..;)

Atakan KOC
07-23-2007, 06:18 AM
Nice idea... Thanks Creative Suite.

sensimilla
07-23-2007, 06:49 AM
Not bad at all :) thanks

projectego
07-23-2007, 07:30 AM
* projectego clicks install :)

ArabSQuad
07-23-2007, 08:42 AM
thanks alot bro ... great hack

* installed

Creative Suite
07-24-2007, 10:56 AM
=====

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

=====

Thanks ..

Tungsten
07-24-2007, 12:03 PM
Nice hack. :)

nyqnzguju
07-24-2007, 12:51 PM
$template_hook[postbit_userinfo_left]


cant find it

Creative Suite
07-24-2007, 01:02 PM
$template_hook[postbit_userinfo_left]


cant find it

it's belew this code

<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

Mecho
07-24-2007, 07:07 PM
what about " Lift Ban time " and " Reason to show the user " ?

FreshFroot
07-24-2007, 10:28 PM
thanks a lot, good hack :D

ngocha85
07-28-2007, 02:20 PM
what about " Lift Ban time " and " Reason to show the user " ?
Good question. ^^

Cagonni
07-30-2007, 06:28 AM
installed

Teknik4
09-04-2007, 04:02 AM
Ops..
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 :(