Kunena 6.0.8 Released (17 Jan 2023)

The Kunena team has announce the arrival of Kunena 6.0.8 [K 6.0.8] which is now available for download as a native Joomla extension for J! 4.2.x. This version addresses most of the issues that were discovered in K 6.0 and issues discovered during the development stages of K 6.0.

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

More
6 years 1 day ago #1 by creat326
hi

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.241 seconds