1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not Planned User Group Promotions: Remove user from user groups ...

Discussion in 'Closed Suggestions' started by CyclingTribe, Oct 3, 2014.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    I'd like to suggest an option for promotions whereby we can remove users from a group when they meet the set criteria.

    This would allow us to use the NEVER usergroup permission to impose restrictions that would automatically be undone by a usergroup remove promotion.

    Extremely handy because the Never permission cannot be overriden, so cannot be undone by any other 'Add' group promotion.

    As an example, I want to stop selected new members from replying until they've made, say, 10 posts (threads). It would be great if I could create a 'Threads' usergroup with Never set for replies, and then use the usergroup promotions system to remove them from this group after 10 posts; allowing them to post replies. Nice and simple. :D

    But ... because Never can't be override, to get this same result at the moment I will need to do one of two things:
    • completely re-do my permissions system so that replies are not part of the initial Registered group permissions - immediately auto-promote any new members into a secondary group that does have reply permissions (so regular new users get the current functionality) - and manually remove people from the secondary reply-granting group and put them in a third one (with reply as Not Set) that gets promoted to the secondary one after 10 posts
    • ... or make a single new group with no specific permissions and manually edit every forum and category to 'Revoke' the reply permission for this group (effectively setting it at the forum level). I'd also have to remember to do this for any new / changed forums.
    Sooooo ... having a "Remove user from user groups:" option would be really handy if it could be included.

    I'm sure others could find creative uses for such an option too. (y)

    Shaun :D
    Oguzhan Malli likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    Isn't that just a matter of not giving the permission to the Registered group and then giving it via the promotion? This way you can still exempt people by manually adding the permission to another group (such as Admins) rather than having to remove them from the group (as with Never).

    Regardless, I don't think this will happen. It creates several difficult situations, particularly where one system says "take X away" and another says "give X". All the group stuff is based on additive setups.

    Additionally, based on the criteria being available, I'm pretty sure you could do this by giving a group on < 10 posts instead of >= 10 posts.
  3. CyclingTribe

    CyclingTribe Well-Known Member

    Well I want everyone who registers to be able to reply, so I'd need 'Reply' not set for the registered usergroup and an immediate promotion to an additional group ("Can reply") so it behaves as it does now.

    Then I'd need to manually remove the select few from the ("Can reply") group and use the promotion system to promote them again after 10 posts (threads). So would I use the criteria member-of Registered but not-a-member-of Can Reply and x posts = 10?
  4. Mike

    Mike XenForo Developer Staff Member

    You could do that with an admin-editable custom field and a promotion limiting the max posts it applies to.

    If it's something you're identifying as something people are doing wrong, a warning seems like a better approach IMO (though it's time-based).
  5. CyclingTribe

    CyclingTribe Well-Known Member

    I'll PM you the details - it'll hopefully add some perspective. (y)
  6. CyclingTribe

    CyclingTribe Well-Known Member

    Thanks to @Mike I've got this sorted; I hadn't realised that promotions only applied whilst the criteria were met (and were removed once the criteria no longer applied).

    I've only ever used usergroup promotions in an additive way so they've always 'stuck'. For the scenario above I simply have to set "User has posted no more than X messages:" to apply the NEVER usergroup promotion and once the member has posted more than the number of messages they are removed from that usergroup because the criteria no longer matches. (y)

    Funny how things can escape you - even when you've used a product for years! :LOL:

    Shaun :D
  7. Steve Brewer

    Steve Brewer Member

    Actually I'd find this useful, I have a system where my forum users are synced with a Minecraft server and if a player is put into more than one secondary group, the Minecraft server doesn't know which group to put them in as it can't sort so it just doesn't happen.

    I thought I'd be able to fix this by telling the account upgrade to 'adjust' the secondary group or 'remove user from these groups' in a similar way to the criteria tab for promotions.

Share This Page