Blue Eagle 5 v1.6.2 has been Released for Kunena 5.2 (20 Jan 2021)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.6.2 which is now available for download. This version addresses most of the issues that were discovered in development.

Blue Eagle 1.6.x requires Kunena 5.2.x to work with

× 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

4 years 1 month 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.

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