PDA

View Full Version : Query to run to change everyone to wysiwg?



moonclamp
Fri 21st Oct '05, 7:07am
I've just imported 200 users from a phpbb board ... however they are all set to the basic text editor rather than the wysiwyg (the forum default)

Is there a simple SQL query I could run that would convert all users to wysiwyg?

Also, is there a query that could turn off default thread subscriptions in member options? (I mean change back the one's who already have default subs)

Steve Machol
Fri 21st Oct '05, 3:34pm
To set the defaults for new users:

Admin CP -> vBulletin Options -> User Registration Options -> Default Registration Options

To reset options for existing users:

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

Then choose the appropriate query from the drop-down box and click on 'Continue'.

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 (not username).

moonclamp
Fri 21st Oct '05, 4:42pm
Thank You

It's easy when you know how :)