How do you programmatically add a Category, Page, Forum, or LinkForum

That is not an easy task to do manually.

See these datawriters:

XenForo_DataWriter_Forum
XenForo_DataWriter_Node


You can see there are special operations when saving a new forum such as rebuilding the permission cache.
 
Back
Top Bottom