The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Automated Forum Create
Ok, In the admin options of my website, I have setup a script that will create a forum, after having several forms entered. The mysql query goes through to the forums db but the new rows do not show up as forums in the forum index. The query is as follows:
$qstate = mysql_query ("INSERT INTO tbl_forum (title, title_clean, description, description_clean, options, displayorder, daysprune, parentid, parentlist, childlist) VALUES('".$value1."', '".$value2."', '".$value3"', '".$value4."', '32451', '1', '-1', '19', '19,18,-1', '-1');", $lid); I have checked against real forums created through admin pannel, these are exactly the same as the generated ones. Also Note I have edited the parent forums "childlist" and added the new forums to this. Note the prefix for vb tables I used is tbl_. Do I need to fill some other row in a table apart from the "forum" table? Help please, Thanks, Josh |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|