• Resolved hecforce

    (@hecforce)


    This plugins seems to work well. I would be satisfied with it if it didn’t conflict with the forums root page. In this post: https://ww.wp.xz.cn/support/topic/bbp-private-groups-is-messing-up-my-theme/ you mention the ghostpool_bbp_list_forums being an issue in the theme. However, after the plugin is activated there are divs mixed in with <li> tags in the <ul class="bbp-forums-list"> that div is specified in the forum-filters file in the bbp private groups plugin folder. Your version of the function mentioned above is injecting the divs and throwing everything off on the forum root page. The example from the above referenced link is what is happening in a different theme. How can this be resolved?

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter hecforce

    (@hecforce)

    Thanks Robin,

    Can you provide an example of a filter on your function as mentioned? I won’t be able to work on this until later this week. Thanks again for your time.

    Plugin Author Robin W

    (@robin-w)

    I’ve taken a further look.

    As long as you are happy with what the original theme function does, then adding this to your child theme functions file would just let the ghostpool function run

    remove_filter('bbp_list_forums', 'private_groups_list_forums', 10 );

    If you are not trying to hide sub forums, I suspect this will work, but try it and come back

    • This reply was modified 6 years, 9 months ago by Robin W.
    Thread Starter hecforce

    (@hecforce)

    Hello Robin,

    This works as suspected. It would be nice to be able to to hide sub forums automatically but! selecting a group for the hidden sub forum does work.

    Solid!

    Thanks for your help!

    -H

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

    (@robin-w)

    great – thanks for reporting back

    Thread Starter hecforce

    (@hecforce)

    Hello Robin,

    Thanks for you help a month ago. I noticed on the forum test site I have that the sub-forum topic counts on the forum root page is incorrect. For example a sub-forum topic will show 13 topics when there are only 4 topics. When I navigate to the single forum page listing all the sub-forums, the topic count is correct for a given sub-forum. Could this be an issue with the modification above? To test and verify, I disabled this plugin and the topic counts return with the correct counts. Also, the freshness links for each forum are also off and incorrect. Upon deactivating the plugin the freshness links return to normal and function as intended.

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

    (@robin-w)

    hmm… suspect ghostpool is the issue – only so much I can do – sorry

    Thread Starter hecforce

    (@hecforce)

    Thanks again and I understand. It is just weird that when the plugin is disabled the topic counts, post counts, and freshness links are all correct. When the plugin is ENABLED; even if I am on a forum page itself for example https://www.sitename.com/wp/forums/forum/random-name/ all of the counts and freshness links are correct. It is literally only the forum root (https://www.sitename.com/wp/forums/) that has incorrect info for counts and the freshness link.

    If anything comes to mind regarding a possible solution that would be great.

    Thanks again for this great plugin.
    H

Viewing 7 replies - 16 through 22 (of 22 total)

The topic ‘Forum Root display issues’ is closed to new replies.