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.
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.
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.
great – thanks for reporting back
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.
hmm… suspect ghostpool is the issue – only so much I can do – sorry
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