The Arcive of vBulletin Modifications Site. |
|
April Fools - Ban User Details »»
|
|||||||||||||||||||||||||
A slight modification of an in house experiment described here.
Users are prompted with the option to ban any user they choose for a period within 3-30 days. Upon submitting, there is a half second pause, then the username switches with their own name followed with another half second pause, before the script finally submits. Don't worry -- the user input here is completely ignored. The entered username is completely ignored, and the user submitting the form is banned for the period they entered. Refer to attached screenshots for more info. It's up to you to link to this file, and you can also view ban.php?do=view for a list of banned users. ... you may want to unban some of these users the next day. No pressure though. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
I love you
|
|
#3
|
||||
|
||||
|
Very nice idea Adrian
|
|
#4
|
||||
|
||||
|
Haha, really cool AJ.
|
|
#5
|
|||
|
|||
|
An error here?
<!-- Database error in vBulletin 3.6.4: Invalid SQL: INSERT INTO userban (userid, usergroupid, displaygroupid, customtitle, usertitle, adminid, bandate, liftdate, reason) VALUES (1568, 15, 15, 0, 'Junior Member', 1, 1207036109, 1207295309, 'Haha!! Fooled you!!' ); MySQL Error : Duplicate entry '1568' for key 1 Error Number : 1062 Date : Tuesday, April 1st 2008 @ 08:48:29 AM Script : http://xxxxxx.net/forum/ban.php Referrer : http://xxxxxx.net/forum/ban.php IP Address : 80.127.xxxxx Username : Freezer Classname : vB_Database --> |
|
#6
|
||||
|
||||
|
They changed something since when I originally wrote it... who is the user that was banned?
|
|
#7
|
||||
|
||||
|
OK I updated the script to use REPLACE instead of INSERT... will get back to you as to the cause.
|
|
#8
|
|||
|
|||
|
Hmm, it works on other users, i tried with an ex admin account, maybe that has someting to do with it.
Sofar it's working well expect that one error. 2 users banned already
|
|
#9
|
|||
|
|||
|
The update removed the error, thanks!
|
|
#10
|
|||
|
|||
|
|
![]() |
|
|