Quote:
Originally Posted by ozzy47
Hmmm, 70k, I wonder if it would be better to do this via a query? I would be willing to bet, trying to do 70k will not work, you might have to do them 1000 at a time, depending on the server.
|
I think it would be quicker to run two queries. One to move users from the VIP group with less than 25 posts to Newbies, then one to move the rest to Senior. I can't remember if "posts" or "postcount" is in the user table so the following might not work. Also I'm quite tired and have a feeling my syntax is off

Also I haven't actually fiddled around with any coding since ummm Nov 2012 I think.
Code:
UPDATE user SET usergroupid = newbiesusergroupidhere WHERE posts <=24
Then
Code:
UPDATE user SET usergroupid = seniorusergroupidhere WHERE posts >whateverpostcountpromotestoseniorgrouphere