Please or Register to create posts and topics.

How can I show or hide a category and its forums with an external function? Hook, Shortcode?

Hello,

First, thanks for your forum plugin! I installed it there is one day ago, after looking to other solutions and it combines simplicity and great facility of use, a nice clear look, fantastic.

I tested the user groups, but I have a special need to bypass your mechanism by enabling or disabling a category and its forums through an external database table record. In my case a user information in a complementary table that indicates if he belongs to a center.

I had a look in other posts, but I did not found a way to do that.

Do you have a hook where I can bypass the standard user group logic (that shows or not a category) just returning true or false for the category ID or name?

If not, in which PHP file (I imagine in the includes folder) have I to look? Or may be can you help me creating a special hook?

I suppose it could be useful for other applications like taking decisions based on the user main role changes (in example, a user that goes to a premium role or returns to a freemium role).

Thank in advance for your advice and one more time, thanks for your great job!
Claude Michaud

PS. Where can I recommand your plugin?