![]() |
How can I insert new article via code
How can insert a new cms article without using the text editor. Im looking for a vb function that can do this or should I just do an insert statement manually?
|
I'm not going to type out a whole tutorial. Check out how it's done within the CMS (by using the datamanager):
packages/vbcms/content/article.php starting around line 905. You can't just call mysql on its own because of some of the caching done behind the scenes, and because of how vBulletin stores the articles, you need to understand how it calculates an article's position (and update a bunch of records accordingly). |
All times are GMT. The time now is 01:24 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|