Kunena 6.2.4 Released

The Kunena team has announce the arrival of Kunena 6.2.4 [K 6.2.4] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Question how to create a category from php

7 years 3 weeks ago #1 by creat326

I thinking of creating a development section on one of my kunena forums and I want the system to automatically create categories when an user submits a new gaming module. So for instance, let's imagine someone submits "game module x" into my system.
I want to create a category under Forum/Game Modules/ called "gaming module x" so that people can post questions inside there about that module.

I want to be able to create this category automatically from a php call, how can I do this? I'm sure it's a couple of lines if you know the api but I can't figure it out. Since I need to create the category and assign permissions to this particular user as the moderator of that category.

Please Log in or Create an account to join the conversation.

Time to create page: 0.302 seconds