Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
VBulletin-Wordpress Bridge for 3.64 Details »»
VBulletin-Wordpress Bridge for 3.64
Version: 1.00, by imranbaig imranbaig is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

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 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:
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.

Comments
  #42  
Old 12-14-2006, 02:09 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Umm, ok, I think I am reading the directions properly...

Anyway, created a forum, put its id in the vb3-settings.php file.

Enabled RSS syndication as directed. Uploaded the files to their proper places...

Post a new entry in wp, get a blank page and no post to the forum..

Whats up?
Reply With Quote
  #43  
Old 12-14-2006, 02:12 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232 View Post
Umm, ok, I think I am reading the directions properly...

Anyway, created a forum, put its id in the vb3-settings.php file.

Enabled RSS syndication as directed. Uploaded the files to their proper places...

Post a new entry in wp, get a blank page and no post to the forum..

Whats up?

same here.
Reply With Quote
  #44  
Old 12-14-2006, 06:38 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Forget it, I created my own hack that is a WordPress plugin (No VB mods). You can find it here:

https://vborg.vbsupport.ru/showthread.php?t=133997
Reply With Quote
  #45  
Old 12-14-2006, 06:55 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232 View Post
Forget it, I created my own hack that is a WordPress plugin (No VB mods). You can find it here:

https://vborg.vbsupport.ru/showthread.php?t=133997
bwaaaaaahahahha.

[high]* wolfyman uninstalls, jumps ship, and hopes for better with Jafo's hack [/high]
Reply With Quote
  #46  
Old 12-15-2006, 06:58 PM
graysqwrl graysqwrl is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I though t I was going crazy.

I'm glad other people are having the same "no thread" problem that I have.

My comments always appear "off" when viewing the blog. However, the admin page shows them as on. This was a brand new install so there's nothing that could be getting in the way.

If anyone has a fix lemme know, otherwise I'm going to give the wp plugin a try
Reply With Quote
  #47  
Old 12-21-2006, 08:55 PM
imranbaig imranbaig is offline
 
Join Date: Sep 2005
Location: India
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have got some time, for this to work on it now.
I will be going through it, and post back the results.
Reply With Quote
  #48  
Old 02-18-2007, 10:18 PM
dholt's Avatar
dholt dholt is offline
 
Join Date: Aug 2006
Location: Somewere in Delaware
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using vBadvanced can I still install this. I understand this is a noob Question so you should be able to answer.

New to word press but I understand a lot of peaple use it. is there a site I can see that vb and vbad is on that uses this
Reply With Quote
  #49  
Old 03-05-2007, 03:14 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its been over 3 months... Any furthur development on this hack? We're having problems with Jafo232's hack and we'd really like to find a wordpress/vb bridge that actually works
Reply With Quote
  #50  
Old 03-05-2007, 04:17 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bubble #5 View Post
Its been over 3 months... Any furthur development on this hack? We're having problems with Jafo232's hack and we'd really like to find a wordpress/vb bridge that actually works
What issues are you facing with Jafo232's hack ?
I have seen the same working fine on one of my site.
Reply With Quote
  #51  
Old 03-05-2007, 09:27 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SaN-DeeP View Post
What issues are you facing with Jafo232's hack ?
Hi SaN-DeeP. We can't seem to get rid of this error message:

Quote:
WordPress database error: [Duplicate column name 'vb_threadid']
ALTER TABLE wp_posts ADD vb_threadid INT(10)

And yes we already deleted the vb_threadid column from the wp_posts table, BUT and we STILL get the same error everytime we try to install a plugin (any plugin). We have to deactivate Jafo232's hack before we can install any plugins. This gets old fast The error only appears when Jafo232's hack is activated. The part that scares us the most is that there is no vb_threadid column anymore, and the error is still being reported by Jafo232's hack
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:12 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05064 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete