PDA

View Full Version : How To Update All User Accounts At Once


Steve Machol
Sat 17th Apr '04, 1:23am
vBulletin 3 has built-in queries to easily allow you to update all user accounts at once to specific settings. To do this:

Admin CP -> Import & Maintenance -> Execute SQL Query -> Automatic Query

Then choose the appropriate query and click on 'Continue'.

Note, to run queries you first need to give yourself permission to run queries in the Admin CP. To do this, edit this section of config.php:

**** USERS WITH QUERY RUNNING PERMISSIONS ******
// The users specified here will be allowed to run queries from the control panel.
// See the above entries for more information on the format.
// Please note that the ability to run queries is quite powerful. You may wish
// to remove all user IDs from this list for security reasons.
$canrunqueries = 'x';
...with x being your userid number.