User group promotion for many users

Fredjo

Active member
Hello Community !

I just imported a list of users and I'd want to put them in a new usergroup I just created.
It seems I can only give them another usergroup one by one.. same goes for usergroup promotion..

I tried to make a usergroup promotion to every user with a valid status.
Then, went to Cron Entries and ran the user group promotion manually.

It don't seems to work.
Anything I have missed ? :)

Thanks a lot in advance,

Fred
 
Promotions are run hourly. You may wish to manually run the cron after creating the promotion:

Admin CP -> Tools -> Cron Entries -> User Group Promotions -> Controls: Run

And even if you manually run the cron it only processes users who have been active in the last 3 days. If you want to process all users regardless of activity then you need to use this updated version of the cron:

http://xenforo.com/community/thread...cron-running-out-of-memory.31541/#post-362657

That will allow you to remove 'last_activity' => array('>', XenForo_Application::$time - 86400 * 3) from the file to process all users without memory problems.
 
Thanks Jake.

I'll give it a go tonigh, can't use FTP from here.

I didn't seem to have memory issue though, when I ran the Cron entry manually it was very fast.
I'll let you know.

Thanks a lot for your help !

Fred
 
Promotions are run hourly. You may wish to manually run the cron after creating the promotion:

Admin CP -> Tools -> Cron Entries -> User Group Promotions -> Controls: Run

And even if you manually run the cron it only processes users who have been active in the last 3 days. If you want to process all users regardless of activity then you need to use this updated version of the cron:

http://xenforo.com/community/thread...cron-running-out-of-memory.31541/#post-362657

That will allow you to remove 'last_activity' => array('>', XenForo_Application::$time - 86400 * 3) from the file to process all users without memory problems.

This does not work for me, it always only does about 100ish even tohugh I have 1511 members, once it does 100 running it each time brings me instantly to the "Cron ran successfully" message.

I have to delete all the promotions to be able to have it process again, the numbers it does before it stops varies each time, most of the people logged in don't even have it.
 
This does not work for me, it always only does about 100ish even tohugh I have 1511 members, once it does 100 running it each time brings me instantly to the "Cron ran successfully" message.

I have to delete all the promotions to be able to have it process again, the numbers it does before it stops varies each time, most of the people logged in don't even have it.

Maybe this then:

http://xenforo.com/community/threads/user-group-promotions-only-run-once.31276/#post-357121

If the users were previously promoted then they will not be promoted again. If this situation has occurred then you can run those queries to allow all users to be promoted again.
 
Maybe this then:

http://xenforo.com/community/threads/user-group-promotions-only-run-once.31276/#post-357121

If the users were previously promoted then they will not be promoted again. If this situation has occurred then you can run those queries to allow all users to be promoted again.

Thanks!

I've noticed though that it took a while to finish everyone but it kept going on in the server even though the web page timed out, it eventually finished. Any ideas how to make the webpage not time out?
 
Top Bottom