The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Managing members waiting for email confirmation
due to spam problems, i have set "on" both CAPTCHA, moderation of new users and email confirmation.
Now i have to manage a 16.000 users list. I would like to manage that in a confortable way, such erasing all the users with a specified email server and so on. Nowaday, the best function in admin panel is "erase/move members" and i have to check every members. I dont want to cancel everyone without checking if they are real or not.. Anyone has suggestion on a mod? Thanks a lot |
#2
|
|||
|
|||
I don't know of a mod, but I have a suggestion: create a usergroup for users to be deleted. Then use a query to move users to that group, like maybe:
Code:
UPDATE user SET usergroupid=X WHERE usergroupid=4 AND email LIKE %hotmail.com% Then use Move/Prune users to delete users in usergroupid X. The safe thing to do would be to have a backup before making any changes directly to the database. |
#3
|
|||
|
|||
this could be great!
But please: where the query must be opened? I mean, i have to put your code in a file? |
#4
|
|||
|
|||
You either execute it in something such as PHPMyAdmin or at AdminCP > Maintenance > Execute SQL Query.
|
#5
|
|||
|
|||
so, i execute the query and i will find a new members group, with the members awaiting email confirmation speficied in the query?
--------------- Added [DATE]1423227234[/DATE] at [TIME]1423227234[/TIME] --------------- well, i need the ID of the group "users awaiting email confirmation" to tell the truth |
#6
|
|||
|
|||
Well, you would first have to go to the usergroup manager and add a new user group. You could use "Create Usergroup Based off of Usergroup"... and select Users Awaiting Moderaton, so that the new usergroup won't have any more permissions. Then note the usergroupid of the group you create and use that in the query.
|
#7
|
||||
|
||||
Thanks kh99,
Yet another handy query.. |
#8
|
|||
|
|||
Using a query to change the database directly can be dangerous. It might be best not to use this method if you don't feel confident about it, because you don't want to accidentally delete any of your legitimate users.
|
#9
|
|||
|
|||
I did mean i dont need usergroup 4 but the id of the "users awaiting email confirmation" group
Quote:
oh sorry i see i have the ID on the admin panel! --------------- Added [DATE]1423228369[/DATE] at [TIME]1423228369[/TIME] --------------- great. My admincp says i am not allowed to launch sql query I am superadmin, dont know why |
#10
|
|||
|
|||
Quote:
You need to list your userid in the config.php file as a user who can run queries. Look for this Code:
$config['SpecialUsers']['canrunqueries'] = ''; and add your userid between the quotes. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|