PDA

View Full Version : Problems using vB Datamanger with Wordpress


x3sphere
07-29-2007, 05:30 PM
Previously I'd use the Wordpress db functions to insert data from the current post into my vB database. Now I want to use vB's data manager to insert a new thread but there is a problem. When including the vB files from within the function Wordpress uses to create a new post, I get this error:

Fatal error: Call to a member function query_first_slave() on a non-object in C:\wamp\www\forums\includes\functions.php on line 1154

Is it because some Wordpress variable is conflicting with a vBulletin one? I am quite lost here :/

Ah, got it :)

Moved the global.php outside of the function and it worked fine xD

minorgod
08-10-2007, 06:30 PM
I'm just finishing up a vBulletin/Wordpress integration that may do what you are trying to do. It uses the RSS feed of your Wordpress blog to periodically (every 20 mins) pull the excerpt text of any new blog stories into a new thread in a vBulletin forum using vBulletin's built-in rss feed functions. It requires no modification to any files and it makes all DB modifications for you in your wordpress table. It does not integrate the user system, it just let's you use vBulletin as your comment system for Wordpress and links them to each other. The complete mod consists of a single vBulletin plugin and a single wordpress plugin that can be easily installed/uninstalled. If you feel like trying it, PM me and I'll email you when it's done.