The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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?
|
#2
|
||||
|
||||
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). |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|