The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Custom Import Script Help
I am not sure if this is the right section to post this but anyway after all it's about importing things to vbulletin
I use a 3rd part software for my site as a portal and cms, not intergraded. I want now to move the news from my cms to vbulletin as topics. I wrote a small script to do this job as i couldn't find an easy way to use impex for this. This is the table structure of the news Code:
CREATE TABLE pages ( page_id int(11) unsigned NOT NULL auto_increment, page_cat varchar(16) default NULL, page_title varchar(255) default NULL, page_text text, page_ownerid int(11) NOT NULL default '0', page_date int(11) NOT NULL default '0', page_count mediumint(8) unsigned default '0', PRIMARY KEY (page_id), KEY page_cat (page_cat) ) TYPE=MyISAM; Now here is the small script i wrote PHP Code:
Now the funny is that after running the necessary maintenance procedures everything looks like it's working great on my localhost. But my knowledge on vbulletin API isn't great so i would like someone more experienced to tell me if i miss anything, or if there is a better way for this? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|