[CDB] [Official Extension] Auto Groups

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5038
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [RC] [Official Extension] Auto Groups

Post by VSE »

Release Candidate 1

RC1 version is now available. :mrgreen:

Please see the first post of this topic for links to the release archive.
Official phpBB Extensions ⭐️ My Extensions & MODs 🔔 YES!!! They ALL work with phpBB 3.3.x 🔔
Please do not PM me for support.

User avatar
imkingdavid
Former Team Member
Posts: 2667
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [RC] [Official Extension] Auto Groups

Post by imkingdavid »

From what I can tell you can only set one type of auto-group promotion thing. Are there plans to make it possible for a group change to be dependent on multiple criteria (i.e. minimum posts AND minimum registered time), or is that already possible and I'm too blind to see it?
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5038
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [RC] [Official Extension] Auto Groups

Post by VSE »

imkingdavid wrote:From what I can tell you can only set one type of auto-group promotion thing. Are there plans to make it possible for a group change to be dependent on multiple criteria (i.e. minimum posts AND minimum registered time), or is that already possible and I'm too blind to see it?
That is possible. The key word being AND... it does not do OR.
Official phpBB Extensions ⭐️ My Extensions & MODs 🔔 YES!!! They ALL work with phpBB 3.3.x 🔔
Please do not PM me for support.

User avatar
imkingdavid
Former Team Member
Posts: 2667
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [RC] [Official Extension] Auto Groups

Post by imkingdavid »

Ahh, alright. So if I set two "Auto Groups" for the same group, it will require both criteria before making the change?
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5038
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [RC] [Official Extension] Auto Groups

Post by VSE »

imkingdavid wrote:Ahh, alright. So if I set two "Auto Groups" for the same group, it will require both criteria before making the change?
Wait, I was wrong... It is OR, not AND...

If a user satisfies any criteria for a group, they will be added. Each Auto Group rule is independent of the others. But a user will not be removed from a group if the fail to satisfy 1 criteria but still meet another.
Official phpBB Extensions ⭐️ My Extensions & MODs 🔔 YES!!! They ALL work with phpBB 3.3.x 🔔
Please do not PM me for support.

User avatar
imkingdavid
Former Team Member
Posts: 2667
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [RC] [Official Extension] Auto Groups

Post by imkingdavid »

Ahh, dang. Alright. Good to know, thanks!
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5038
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [RC] [Official Extension] Auto Groups

Post by VSE »

imkingdavid wrote:Ahh, dang. Alright. Good to know, thanks!
Although we're looking into the AND possibility ;)
Official phpBB Extensions ⭐️ My Extensions & MODs 🔔 YES!!! They ALL work with phpBB 3.3.x 🔔
Please do not PM me for support.

User avatar
imkingdavid
Former Team Member
Posts: 2667
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [RC] [Official Extension] Auto Groups

Post by imkingdavid »

That'd be awesome, and I'd probably be able to help if you need it. I've got a client who is considering switching from MyBB to phpBB (because obviously phpBB is better) but MyBB has this group promotion thing that I'd need to provide in phpBB as well, and it allows AND by default.

I'll say hi on IRC some time.
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

Willeos
Registered User
Posts: 35
Joined: Fri Feb 27, 2015 11:26 pm

Re: [RC] [Official Extension] Auto Groups

Post by Willeos »

What would be cool is that when a member of that group exceeds a number of days/warnings/posts, it would come off. Not like a minimum and maximum value, only a maximum value. Would it be possible?

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5038
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [RC] [Official Extension] Auto Groups

Post by VSE »

Willeos wrote:What would be cool is that when a member of that group exceeds a number of days/warnings/posts, it would come off. Not like a minimum and maximum value, only a maximum value. Would it be possible?
It can do that. Min (and max) can be 0 (optional).
Official phpBB Extensions ⭐️ My Extensions & MODs 🔔 YES!!! They ALL work with phpBB 3.3.x 🔔
Please do not PM me for support.

Mattix
Registered User
Posts: 25
Joined: Sat Oct 25, 2014 7:00 pm

Re: [RC] [Official Extension] Auto Groups

Post by Mattix »

I have a use case which I think would not quite work out: I have a 'for sale' forum, which people cannot post in until they have 25 posts in the rest of the board. This is done through an auto-group with posting permission set to 'never' (I cannot use 'no' as the normal registered user group overrides that with its 'yes' permission).

However, I would like to be able to make exceptions (set some people with fewer than 25 posts to be able to post in the forum). Am I right in believing that if I remove a user from a group manually the extension at some point will automatically re-add him?

Would it be possible to make this exception, considering I am already using the 'never' permission which overrides everything?

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5038
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [RC] [Official Extension] Auto Groups

Post by VSE »

Mattix wrote:However, I would like to be able to make exceptions (set some people with fewer than 25 posts to be able to post in the forum). Am I right in believing that if I remove a user from a group manually the extension at some point will automatically re-add him?
That is correct. If you are treating users manually, that is adding some but not others, then "auto" grouping probably isn't for you in this case. Auto grouping is intended for purely automated purposes.
Official phpBB Extensions ⭐️ My Extensions & MODs 🔔 YES!!! They ALL work with phpBB 3.3.x 🔔
Please do not PM me for support.

Mattix
Registered User
Posts: 25
Joined: Sat Oct 25, 2014 7:00 pm

Re: [RC] [Official Extension] Auto Groups

Post by Mattix »

That's a shame, but understandably outside the scope of the extension. I may try and write a small extension which plugs into this one adding a rule type for adding/removing people to a group based on being a member of another group. Together with the AND logic that would allow me to make an 'exceptions'-group :)

But that'll have to be at some later point.

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [RC] [Official Extension] Auto Groups

Post by javiexin »

Question: can this extension use the contents of profile fields to automatically assign users to groups?

If not out of the box, is it possible to configure it to do it? With an (additional) extension?

Thanks
-javiexin

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5038
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [RC] [Official Extension] Auto Groups

Post by VSE »

javiexin wrote:Question: can this extension use the contents of profile fields to automatically assign users to groups?
No.
javiexin wrote:If not out of the box, is it possible to configure it to do it? With an (additional) extension?
Yes.
https://github.com/phpbb-extensions/aut ... uto-Groups
Official phpBB Extensions ⭐️ My Extensions & MODs 🔔 YES!!! They ALL work with phpBB 3.3.x 🔔
Please do not PM me for support.

Locked

Return to “Extensions in Development”