Version: 1.00, by imranbaig
Developer Last Online: Aug 2013
Category: Integration with vBulletin -
Version: 3.6.4
Rating:
Released: 12-02-2006
Last Update: 12-21-2006
Installs: 20
DB Changes
Additional Files
No support by the author.
I wanted to start a site with WP the best blogging software and VB the Best forum software.
After searching at vb.org, I found a bridge which was for vb 3.0. and WP 2.0, I just edited carefully the newer version files, with permission from author Here, I'm releasing this bridge:
Note:
This hack will only work if your WordPress and vBulletin tables are in a single database.
This hack has only been tested on adding entries directly from the admin panel. It has not been tested on xmlrpc clients.
Use at your own risk. I will not be held liable for any loss of data nor problems that you might encounter on your site during the whole process of the mod.Backup your files and database(s) before proceeding.
WP Settings:
If you want to do file edits your self then go here
Download the attached files, and you need to edit only the following files, not all.
Edit:wp-rss2.php
<?php
// This just holds the vb variables
$vb_bridge = 1; // 1=on 0=off
$vb_forumid = '2'; // forum id to post copy of article
$vb_userid = '1'; // user id to use for posting the article
$vb_username = 'admin'; // name of the user id
$vb_path = 'http://www.yoursite.com/forum'; //complete url of forums
$vb_dbprefix = 'vb3_'; //vBulletin database prefix
$vb_readmessage = 'Read the full blog entry.'; //message to be used in the forum to link back to the blog entry
?>
Save file.
Now upload all files.
Note: I have edited, files for default wp-theme, if you want you can just upload comments.php to any other template it does not matter much if you are bridging it., but do the following changes to single.php only if you are using a different template then default one.
EDIT: file single.php:
Look for:
PHP Code:
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
Replace it with:
PHP Code:
You can <a href="/forum/showthread.php?t=<?php echo( $post->vb_threadid ); ?>&goto=newpost">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
Make sure you have your forum path correct there. Now Upload all files to your wp root
vBulletin Settings:
The RSS feed will not work if you haven't activated RSS External synidcation on your forum. To do this, on your forums admincp, go to vBulletin Options->External Data Provider and check 'Yes' on Enable RSS Syncidcation.
DB Settings:
Run this query:
PHP Code:
ALTER TABLE `wp_posts` ADD `vb_threadid` INT(10);
Upload postfeed.php to your forum root included in the attachment.
Demo here: DEMO
Please forgive me if there are any errors or anything left out in package
I'll try and support as much as I can. But cannot guarantee it
EDIT: Upload the new Attached postfeed.php, this was the culprit which was giving errors. This should fix everything.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
i used my brain. vBulletin are in the same database
I changed all the instances of vb_threadid to vB3_threadid to match my forums prefix
Edited the SQL query to match my prefix
edited all paths that needed edited to point to my forums instead of the other one
Edited the settings file to desired settings
uploaded all files to desired locations.
and when Posting from Wordpress after hitting save, or save and continue editing it only goes to a blank page. The post is created for wordpress, but not for vBulletin and users can not leave comments.
Hopefully that constitutes as using my brain. But while we are talking about brain activity, maybe you can tell us what version of wordpress the included files are from
i used my brain. vBulletin are in the same database
I changed all the instances of vb_threadid to vB3_threadid to match my forums prefix
Edited the SQL query to match my prefix
edited all paths that needed edited to point to my forums instead of the other one
Edited the settings file to desired settings
uploaded all files to desired locations.
and when Posting from Wordpress after hitting save, or save and continue editing it only goes to a blank page. The post is created for wordpress, but not for vBulletin and users can not leave comments.
Hopefully that constitutes as using my brain. But while we are talking about brain activity, maybe you can tell us what version of wordpress the included files are from
You used your brain:P, files that are included are of wp 2.05 as I mentioned in the thread starter it is for wp 2.05 and vb 3.64.
Please pm me your ftp, I'll have a check? If you can or what is the error and site url would really help.
You used your brain:P, files that are included are of wp 2.05 as I mentioned in the thread starter it is for wp 2.05 and vb 3.64.
Please pm me your ftp, I'll have a check? If you can or what is the error and site url would really help.
Past couple of days been very hectic, hangon I will try to get some time out for you. . Working on a big video site template hope to finish it by today.
Is there any way to overcome this problem? I really would like to use this mod, but my tables are in separate databases. Is there any way to combine the two?
You can easily combine, these two db's, right now I'm working on one huge SE marketing project plus 5 big templates, making me really short on time, I will try and help you all when I get some breather