Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
rgf100 Posted February 19, 2018 Posted February 19, 2018 I've already changed the default user group, with $INFO['member_group'] in conf_global Is there any way to assign a *secondary* user group at the same stage? I know I can do it easily with promotions for users that joined in the last 24 hours or something, but could I do it automatically right on registration?
rgf100 Posted February 19, 2018 Author Posted February 19, 2018 And without a plugin? That looks like overkill - I want to do it automatically, to a single secondary group, for all new registrations.
rgf100 Posted February 19, 2018 Author Posted February 19, 2018 11 minutes ago, rgf100 said: I know I can do it easily with promotions for users that joined in the last 24 hours or something Actually, I can't. There's only a 'more than X days'; not a 'less than' option
Adriano Faria Posted February 19, 2018 Posted February 19, 2018 12 minutes ago, rgf100 said: And without a plugin? No.
opentype Posted February 19, 2018 Posted February 19, 2018 Why do you need two member groups applied at the same time to begin with? If you want to assign certain permissions, they can all be in one. The whole point of secondary groups is to change the member default permissions.
rgf100 Posted February 19, 2018 Author Posted February 19, 2018 Yeah, it looks like I'll change the way I'm planning to do things.
rgf100 Posted February 19, 2018 Author Posted February 19, 2018 Actually, what I'm trying to do, in case anyone has any better ideas. Currently new members are placed into a custom group, so their posts get moderated before they appear. We try and shift them out of this as quickly as possible, and have a hook to display a 'promote' button on their posts, so as soon as it's obvious they're not spam they get promoted to the regular member group. Usually happens after one or two posts. The additional thing I want to do is highlight members who've recently joined, so volunteers can make sure they get any extra help and (next project) we can have a block solely displaying 'new member posts'. But THAT group should last longer - say 10 posts, or 30 days, whichever happens first. So to manage that part of it, I was going to assign all new members to a secondary group and automatically shift them out of it after 30 days / 10 posts. What I'm thinking I'll do now is go New Members > admin promotes to: > Regular Members + secondary group > automatic removal of secondary group > Regular Members And any formatting or anything will need to be applied to both New Members and the secondary group. Thoughts welcome.
opentype Posted February 19, 2018 Posted February 19, 2018 Yeah, don’t do any of that with secondary groups. An entry group for new members is not uncommon. But use a primary group for that and then let them auto-promote to “regulars”. There is little point in using a secondary group for that. Regarding the post approval: I suggest you use this feature in member group settings: Keeps all my sites virtually spam free.
rgf100 Posted February 19, 2018 Author Posted February 19, 2018 The entry group is a primary group. I was looking to have a secondary group running alongside it. I have an auto-promote set up at 5 posts for anyone the admins don't promote manually.
rgf100 Posted February 19, 2018 Author Posted February 19, 2018 Failed again - although there's a 'Member joined more than X days ago' option for group promotions, and I can use that to remove the secondary usergroup, I now realise that the promotions only trigger when there's activity on the member's account - a visit, an admin edit, etc. Which means that someone who signs up, makes 5 posts over 2 weeks and then never comes back will never get removed from the secondary usergroup. I'm thinking the best way to approach this is just a template hook to highlight members where joined < 30 days ago
Recommended Posts
Archived
This topic is now archived and is closed to further replies.