The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Delete all users from a certain usergroup?
When I try to prune a certain set of users (example: all users awaiting email confirmation who haven't visited the system since May 1, 2003) I get a VB error
What SQL query could I run that will delete the users? To make it easier, I can move the set of users to the POST BAN category and then run a SQL query that deletes all users who are in the POST BAN group. Can anybody offer some insight? Thanks! |
#2
|
|||
|
|||
Are you running the latest version of vB? If not, the database error itself would help.
|
#3
|
|||
|
|||
My apologies. VB version 2.2.7 - waiting to upgrade until v3 is released.
The DB error displayed below, pops up AFTER the following information is displayed: Deleting forum subscriptions .... okay. Deleting thread subscriptions .... okay. Deleting calendar events .... okay. Deleting custom avatars .... okay. Deleting forum access .... okay. Deleting moderators .... okay. Deleting private messages .... okay. Deleting user sessions .... okay. Now proceding to update threads & posts .... DB Error: Database error in vBulletin Control Panel 2.2.7: Invalid SQL: SELECT userid,username FROM user WHERE userid IN() LIMIT 0,50 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 ') LIMIT 0,50' at line 1 mysql error number: 1064 Date: Tuesday 20th of May 2003 02:49:23 PM Script: http://www.domain.com/forum/forum/ad...osts&startat=0 Referer: http://www.domain.com/forum/admin/user.php |
#4
|
|||
|
|||
I think this was a bug. Always stay up to date on your vB version for important security reasons.
|
#5
|
|||
|
|||
So is there no easy way to run a SQL query to remove all users from the POST BAN usergroup?
|
#6
|
|||
|
|||
Easy, yes. Clean, no. I instead recommend that you upgrade.
|
#7
|
||||
|
||||
I am running 2.3.0 and I get that same error....
|
#8
|
||||
|
||||
if your board is not hacked (particularly file user.php), this might be a bug, report to vb.com. If you hacked user.php, it is the problem of the hack so remove that hack from your file and retry
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|