×
Kunena 5.1.4 Released and Blue Eagle 1.5.1 (Yesterday)

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

× 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
1 year 7 months 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.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.066 seconds