Back to vBulletin 3.6 Add-ons

VBulletin-Wordpress Bridge for 3.64
Mod Version: 1.00, by imranbaig

This modification is in the archives.
vB Version: 3.6.4 Rating: (1 vote - 5.00 average) Installs: 20
Released: 03 Dec 2006 Last Update: 22 Dec 2006 Downloads: 291
Not Supported DB Changes Additional Files  

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 Code:
<wfw:commentRSS><?php echo comments_rss(); ?></wfw:commentRSS>
PHP Code:
<wfw:commentRSS>http://www.yoursite.com/forum/showthread.php?t=<?php echo $post->vb_threadid?></wfw:commentRSS>
Save file.

EDIT file:vb3-settings.php
PHP Code:
<?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_postsADD `vb_threadidINT(10); 
Upload postfeed.php to your forum root included in the attachment.
Demo here:
http://www.mobile-junction.com
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.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s vbWP_bridge.zip (75.7 KB, 271 downloads)
File Type: %1$s postfeed.php (19.4 KB, 139 downloads)

Screenshots

Click image for larger version
Name:	comments-front-page.jpg
Views:	1565
Size:	31.2 KB
ID:	57112   Click image for larger version
Name:	Post_comment_forum.jpg
Views:	1360
Size:	31.4 KB
ID:	57113  

Similar Mods

vBulletin-WordPress Bridge vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024