• Resolved shaylash

    (@shaylash)


    Hi there,

    It says in your readme.txt
    1.6 Shortcode [bbp-topic-form] now only shows allowed forums

    However when I use the shortcode in a custom page the forum select box shows all forums no matter which group the user is in and on top of that every logged in user can post in any forum no matter his group setting.

    Can you tell me what to do to fix this.
    Basically I need to show a new topic form with a select showing only allowed forums depending on groups the user is in.

    Thanks in advance.

    Cheers.

    • This topic was modified 6 years, 8 months ago by shaylash.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter shaylash

    (@shaylash)

    Hi again,

    First of all I hope you had a wonderful time during your well-deserved holidays.

    Concerning my previous post I think I found the problem but I would like your approval on it.

    I noticed that the function private_groups_get_dropdown_forums (located in forum-filters.php) checks if $rpg_topic_permissions[‘activate’] is empty but the $rpg_topic_permissions variable is not defined in the said function and therefore is always empty. Adding global $rpg_topic_permissions; in the function makes the said variable known and therefore everything works as expected.

    Can you please tell me if this is in fact the solution to fix the problem?
    Hope my post is understandable.

    Take care.

    • This reply was modified 6 years, 8 months ago by shaylash.
    Plugin Author Robin W

    (@robin-w)

    @shaylash

    thanks for both your post, but especially for working out what the issue was, and I have now added your fix to the new version 3.5.8 just released.

    Had a great holiday !!

    Please can you just confirm that 3.5.8 works for you !

    Thread Starter shaylash

    (@shaylash)

    Hi Robin,

    @robin-w
    The fix you added to 3.5.8 works perfectly. Thanks for your time, effort and fast answer (You Rock!!!).

    Glad your holidays went well. Take care

    Regards.

    Plugin Author Robin W

    (@robin-w)

    Great – thanks for letting me know !!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[bbp-topic-form]’ is closed to new replies.