Log in

View Full Version : Ban User


giotmuadong
05-18-2007, 04:24 PM
I banned 1 spammers but I forgot to list the reason. Is there a way that I can edit the reason without lift ban then ban them again?

WhaLberg
05-18-2007, 04:33 PM
By a mysql query, you can do this. Here is the query:
UPDATE prefix_userban SET reason='reasonhere' WHERE username='username'

giotmuadong
05-18-2007, 07:55 PM
can you tell me where should i paste that, i'm new to this one. Thanks ^_^

WhaLberg
05-19-2007, 11:16 AM
Paste that to: AdminCP -> Maintenance -> Execute SQL Query

Warning: To execute sql queries on vBulletin, you have to set this line in config.php:$config['SpecialUsers']['canrunqueries'] = '';

giotmuadong
05-22-2007, 12:17 AM
under this right?

****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******

if it's right, how come i don't get it to work?

Dismounted
05-22-2007, 07:29 AM
No, it's Users With Query Running Permissions.

giotmuadong
05-22-2007, 04:55 PM
and put like this right?

http://img236.imageshack.us/img236/1951/untitledan4.jpg

Dismounted
05-23-2007, 07:28 AM
Replace the username and reasonhere with the banned user's username and reason respectively.

giotmuadong
05-23-2007, 04:09 PM
i have this error after i click "continue"

http://img171.imageshack.us/img171/746/untitledjr6.jpg

Dismounted
05-24-2007, 06:14 AM
Single quotes in your reason must be escaped (by adding a single \).