[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!
Scam Warning
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: 4988
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 » Mon Apr 20, 2015 4:14 am

Release Candidate 1

RC1 version is now available. :mrgreen:

Please see the first post of this topic for links to the release archive.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
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 » Mon Apr 27, 2015 6:18 pm

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: 4988
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 » Mon Apr 27, 2015 6:21 pm

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.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
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 » Mon Apr 27, 2015 6:23 pm

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: 4988
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 » Mon Apr 27, 2015 6:25 pm

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.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
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 » Mon Apr 27, 2015 6:27 pm

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: 4988
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 » Mon Apr 27, 2015 6:28 pm

imkingdavid wrote:Ahh, dang. Alright. Good to know, thanks!
Although we're looking into the AND possibility ;)
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
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 » Mon Apr 27, 2015 6:33 pm

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 » Fri May 01, 2015 12:32 am

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: 4988
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 » Fri May 01, 2015 1:10 am

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).
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
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 » Wed May 06, 2015 5:47 pm

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: 4988
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 » Wed May 06, 2015 5:57 pm

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.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
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 » Thu May 07, 2015 8:22 am

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 » Tue May 19, 2015 10:55 am

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: 4988
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 » Tue May 19, 2015 4:52 pm

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
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

Locked

Return to “Extensions in Development”