Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Bumping all registered user to a sub-group within Registered and then taking them out of the registered sub-group

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 10 months ago #274481 by timstohr
Yep,

got no idea how to do this.
I know I have to use Auto action, I am only stuck at the conditions. Where is the CB database for the user groups?

Please Log in or Create an account to join the conversation.

  • jpdenny1
  • jpdenny1
  • OFFLINE
  • Posts: 195
  • Thanks: 25
  • Karma: 5
8 years 10 months ago - 8 years 10 months ago #274491 by jpdenny1
Hey I use this so happy to give my input.

Background: user selects drop down option at registration. I condition off this. e.g. 'we are': A, B, C.

Auto action

Type: usergroup
Access: everybody
User: Automatic
Trigger: onaftersaveuserregistration...could use alternatives..
Condition: [cb_weare] equal to A

ACTION
1. Mode remove. Remove registered.
2. Mode add. Add usergroup x.

Took me a while to relaise you could use mode remove. That's it. Works for me anyway.

Edit: reread, maybe your looking for something different, more specifici.e. you moved and want to move again based off usergroup value. Useful anyway maybe.

Joomla 3.6.2
CB 2.0.15 Latest Nightly
GJ 3.0.1 nightly
Php version 5.5.35
Auto actions nightly
Activity nightly
Privacy nightly
Conditions nightly
CB Gallery 2.0
.....all nightly!
Uddeim 3.9
Last edit: 8 years 10 months ago by jpdenny1.
The following user(s) said Thank You: timstohr

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 10 months ago #274492 by timstohr
Unfortunately not working for me. I need to condition on all Registered going to "Registered without advertisers" and then that all new registered go straight to "Registered without advertisers".

ie I need to empty the "Registered" and put them all into a child group called "Registered without advertisers". I need to know the conditions which I can use (since I am not using a field as condition).

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 10 months ago #274494 by nant
I would not use an auto action for such a batch process.

Just use the Batch process available in your CB User Manager in backend.

Filter off Registered Group to get everyone in that group
Then just tick the checkbox next to the ones you want to process
Then use the Batch Tools to do what you want.

Experiment first with one or two users.

Please Log in or Create an account to join the conversation.

  • jpdenny1
  • jpdenny1
  • OFFLINE
  • Posts: 195
  • Thanks: 25
  • Karma: 5
8 years 10 months ago #274496 by jpdenny1
Just a thought after you explained further and if batch doesn't suit. Don't have any condition, access is everybody. Remove - registered, add - usergroup x. You could trigger after apprve user, after registration or any suitable one.

Joomla 3.6.2
CB 2.0.15 Latest Nightly
GJ 3.0.1 nightly
Php version 5.5.35
Auto actions nightly
Activity nightly
Privacy nightly
Conditions nightly
CB Gallery 2.0
.....all nightly!
Uddeim 3.9

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 10 months ago #274855 by timstohr
Nant: Just a heads-up that your solution works perfectly. It is a bit of work since I can only load a maximum of 500 Users at one time, then CB user manager breaks (and no, it has not got to do with the time-out on my server...) so it will take some time to do all of the changes but well... better than doing it by hand...

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum