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

XF 1.5 How to create a forum accessible by member meeting certain criteria

Discussion in 'XenForo Questions and Support' started by OperaManiac, Jan 22, 2016.

  1. OperaManiac

    OperaManiac Well-Known Member

    For example... A member older than 30 days with at least 10 posts.

    I tried getting it to work using User Group Promotions but I must have messed somewhere because it failed to work. I created a rule where a member meeting defined criteria became part of a new user group named Regulars. The forum was allowed to be accessed by Regulars and not Registered.

    This somehow failed to work for me as the users who were promoted became part of both Registered and Regulars and somehow they followed permissions of Registered so no access to the forum. I ended up deleting the custom user group and the promotion and right now the forum is accessible by logged in members and not guests.

    Can someone suggest how to do it the proper way. And if my way is the way to do it, how do I get it right? Thanks.
  2. Martok

    Martok Well-Known Member

    That's correct, everybody should have the Registered group as their primary user group. Promotions add users to secondary user groups.

    Here's how you should do it:

    OperaManiac likes this.
  3. OperaManiac

    OperaManiac Well-Known Member

    So promotions cannot work in this case? I would either have to add individual users to the private forum or add them to a custom user group that has access to that forum?
  4. Martok

    Martok Well-Known Member

    Yes they do work. User group promotion to the group that you give access to the private node. It's something I do on my site.
  5. n00bsaibot

    n00bsaibot Well-Known Member

    1. Make a private node.
    2. Set Node Permissions for user group Regulars
    3. Set user group promotion from Registered to Regular.

    Don't revoke/never anything in Registered in regards to your private node. Just leave it all 'Not Set'
    OperaManiac likes this.
  6. OperaManiac

    OperaManiac Well-Known Member

    Looks like I might have messed settings for Registered because on my forum the private forum was following permissions of Registered even for Regular group not allowing them to access the Private forum. Let me try it once again! Thanks.
  7. Martok

    Martok Well-Known Member

    As @n00bsaibot said, make sure you don't use the Never permission , use Not Set (No) instead for permissions you don't wish to give.
    OperaManiac likes this.
  8. OperaManiac

    OperaManiac Well-Known Member

    Right. I might have selected Never permission. Would update when I test it again. Thanks both of you! This was driving me crazy.
  9. OperaManiac

    OperaManiac Well-Known Member

    Ok. I just have these options for permissions:


    I do not see Not Set/No permission in permission setting of the private forum.

    I do see Not Set/No in Edit User Group. I have to set this to NOT SET for both Registered and Regulars? This option appears to be applicable to entire forum and I cannot set it for individual forums. What am I doing wrong?
  10. Brogan

    Brogan XenForo Moderator Staff Member

    OperaManiac likes this.
  11. OperaManiac

    OperaManiac Well-Known Member

    seems to work for my own test accounts. :D i wonder what i did wrong previously. would find out soon if it works for regular members. i have ran the cron job manually few times... but only around 10 members have been promoted to the regular user group. there should be lots more. would keep an eye if this increases with time. thanks!
  12. Jeremy P

    Jeremy P Well-Known Member

    Only active accounts are promoted. Manually rebuilding User Group Promotions will apply them to all members, inactive or not.
    OperaManiac likes this.
  13. OperaManiac

    OperaManiac Well-Known Member

    I just ran a batch update on members matching criteria (5o+ posts). Is this what you mean by manually rebuilding user group promotions? Or is there an option in backend?

    I assume the cron job would take care of this in future for new accounts matching the criteria! Thanks.
  14. Jeremy P

    Jeremy P Well-Known Member

    There's an option in the backend under Tools > Rebuild.

    The cron job will take care of new accounts that match, it just doesn't apply retroactively to inactive accounts.
    OperaManiac likes this.
  15. OperaManiac

    OperaManiac Well-Known Member

    Found it thanks!
    Jeremy P likes this.

Share This Page