Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Robin W

    (@robin-w)

    so you would be looping through users or looping through forums?

    Thread Starter Pascal Casier

    (@casiepa)

    Hi Robin,
    I’m looping through users. For every user I already know to what bbpress forums he is subscribed and to what private groups he belongs to.
    My idea was to create an array with the link between forums and bbp-private-group(s), then I can check into that.
    Pascal.

    Plugin Author Robin W

    (@robin-w)

    Without getting heavily involved I’m not sure I can help, and at the moment I am fully tied up with work elsewhere.

    There’s probably a clever way to do this, but personally I’d keep it simple and for each user have the array of forums and the array of private groups.

    I’d then loop through forums array and check if each has a group (forum subscribed where user doesn’t have private group)

    Then I’d loop through private groups to create a list of subscribed forums that are not in private groups

    Thread Starter Pascal Casier

    (@casiepa)

    OK, I’ll give it a try, thanks for the reponse !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Quick coding question’ is closed to new replies.