Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Complete Wordpress/Vbulletin Bridge - Share Users And Postings Details »»
Complete Wordpress/Vbulletin Bridge - Share Users And Postings
Version: 4.01.13, by Jafo232 Jafo232 is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.1 Rating:
Released: 02-13-2009 Last Update: 02-15-2011 Installs: 1331
DB Changes Uses Plugins
Additional Files  
No support by the author.

Identical to this Mod here, but now for the Vbulletin 3.8 line.
DOES NOT WORK FOR Vbulletin 4.x

This version probably no longer works for Wordpress 3.x. I have started developing this product over and have released the NEW version here:

http://www.lampwrights.com/showthread.php?t=41




This mod bridges your Vbulletin users over to Wordpress. You can also use Vbulletin as your comment engine instead of the spammy one built into Wordpress. You can display the comments inline in your post. You need not use the comment feature, if your only interested in sharing users.

You can map your Vbulletin Usergroups to Wordpress Usergroups and those users will then be recognized as registered Wordpress users.

For example, user "Joe" registers at your forum and logs in. Joe then clicks on your Wordpress page. Joe is instantly added to the Wordpress user base with the permissions you set for his usergroup. In otherwords, if a user comes over belonging to the "Registered User" group, you can select that he is placed in the Wordpress "Subscriber" usergroup.

If you change a users group from vbulletin, it will automatically change in Wordpress.

Requirements:
  • DOES NOT and WILL NEVER support Wordpress MU.
  • Wordpress and Vbulletin scripts must reside on the same physical server.
  • Wordpress and Vbulletin must use the same domain name.
  • Stable Wordpress Version greater than or equal to 2.7.
  • DOES work for Vbulletin 3.7.
  • Does work for vBulletin 3.8.
Limitations:
  • Does not work for 4.x. Why? Because VB 4.x does not work for me. If they ever make that product worth a shit, I might support it.
  • Please don't ask if it works for any BETA versions of Vbulletin. I do not know and will not convert this to the latest version of VB (whatever it is at the time you are reading this) until the version is released as non-beta.
  • Does not work with XMLRPC.
  • Chances are, this will not work when VB and Wordpress are located in different sub domains. I.E. forum.yoursite.com - blog.yoursite.com. Cookie issue.
  • I did the best I could in determining your forums file path with the script. There may be certain script setups that cannot find the file path properly, in which case you may get errors that the script cannot find or open /config.php. If this is the case, please HARDCODE your ABSOLUTE path to the forum in vbridge.php.

    To do this find:

    Code:
     ## If you are having path problems, uncomment this next variable and define the path
    ## NO TRAILING SLASH!
    # $vwd = '/some/path/to/your/forum';
    And uncomment the last line, and change the path to your forums path:

    Code:
     ## If you are having path problems, uncomment this next variable and define the path
    ## NO TRAILING SLASH!
    $vwd = '/some/path/to/your/forum';
Common Mistakes When Installing:
  • Using two different host names causes problems. If your forum URL contains www.yourdomain.com, then your wordpress blog URL MUST contain the www. part of www.yourdomain.com also. This goes for any other host name. Browsers are finnecky when it comes to cookies (as they should be).
  • Editors generally EDIT, not write. In Wordpress, editors don't show up in the post author drop down. This has nothing to do with this plugin, that is Wordpress code.
  • Make sure you DO NOT create a subdirectory for this plugin in the wp-content/plugins directory. Just upload it directly there..
  • If you do not map users before you turn auto-integrate on, the plugin has no idea whether your allowed into the dashboard.
  • If you all of a sudden can't login to the dashboard, see the above two common mistakes.
  • FOLLOW the directions and make a test post first. Being in a rush and not testing will most likely turn out bad for you.
UPDATES:

Changelog is included in download, here is the most recent changes:

3/09/2009
  • Added code to process scheduled posts
  • Addressed code where links and images would not show up properly in VB
  • Added new table called vb_forumid for scheduled posts
  • Reduced redundant calls when dealing with forum excerpts
Sites Using This Plug-In:(PM me if you want to add your site here)

Special Thanks:

axisoverdrive - Debugging Help, Kyraal - Paypal Donation, Kalina - Paypal Donation, Wildcard27 - Paypal Donation, Shri - Paypal Donation, pspcrazy - Paypal Donation, Tomahoochi - Paypal Donation.

If you use this plug-in, and find it useful, please support us by nominating us for Mod Of The Month (MOTM) in the top right corner of this thread, or feel free to donate.

If you do install:

Download Now

File Type: zip vbridge.zip (200 Bytes, 545 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
m7sen, xuanhuy238

Comments
  #302  
Old 03-13-2009, 08:40 PM
emsplanet emsplanet is offline
 
Join Date: Jan 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by COOLover View Post
what a tone you use?
i wait for a anther, too. But not so - when user anther than okay, but not 1000times ask or in this tone!
Sorry! acctually this is not my tone.. i ask my friend to post a reply here and he post just a short line..

Quote:
Originally Posted by amjadz4 View Post
did you even READ the readme text file?
redo the whole procedure step by step using the read me. you wont get that error.


Great Mod Jafo! Works perfectly!
Thanks mate.. i solved that problem. acctually i make some mitake in settings and now its work.. thanks for help..

To Coder

Thanks for this great plugin.. acctually you already told the solution via PM but i m stupid tht i not understnd what you talking about.. sorry and thanks one more time for support.. one more question related this.. is this only share post of Wordpress to forum or also share forum post to wordpress post? bcoz i try on sample post in wordpress its ok its also show in forum section where i mention in setting but when i post in such section in my forum i not see any thing in my wordpress..
Reply With Quote
  #303  
Old 03-14-2009, 01:31 AM
getfitatl getfitatl is offline
 
Join Date: Feb 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:up: Ok so after banging my head against the wall I think I split it open and released the "fart" because I think I finally get it. So to start here's what I've done:

1. Create a new VB User ID: 6
2. Create a new user for the VB Username: mypublicuser
3. Create a new forum and add it to VB Forum ID: 8
4. Add the Forum URL: http://mysite.com/vb
5. Add the Forum Relative Path: /vb
6. Add the Database Prefix: vb_
7. Answer Yes to Forum use UNICODE (UTF-8)
8. Select Yes to the "Post Articles To Forum" option
9. Clicked Submit and successfully create a new Post in the forum.
10. I then mapped my VBUsers accordingly:

Unregistered / Not Logged In Do Not Map
Users Awaiting Email Confirm Subscriber
Super Moderators Editor
Moderators Author
Registered Users Subscriber
(COPPA) Users Awaiting Mod. Subscriber
Administrators Administrator
Banned Users Do Not Map

11. Mapped users Saved!
12. Turn Auto-Integrate on. Saved!

Observation: the WordPress account I'm logged in with is no longer recognized so I'm immedialy logged out of the site. This is where I'm suppose to log in with a vBulletin account.

=======================================

1. Either register some new accounts or log into the vBulletin Admin panel and create some new accounts.
2. Assign the newly created user(s) to the Registered Users group which should've been mapped to WordPress Registered Users.
3. Log in to vBulletin with this newly created user. Once logged in to vBulletin you're also logged in to WordPress. This can be confirmed by entering /wp-admin to be taken to the Dashboard.
What I've tried to do is this:

a. Download the WordPress Sidebar Login plugin, upload, and activate it.
b. Now I log in to WordPress with one my new accounts, go to the vBulletin via /vb, and see that I'm also logged in to vBulletin.
b. With the sidebar login plugin I can go to the options and add a few links:
<a href="http://mysite.com/wp-admin/">Dashboard</a>
<a href="http://mysite.com/vb/">Forums</a>
<a href="http://mysite.com/vb/usercp.php">vBulletin Profile</a>

Now when I go to the WordPress front page I see that I now have a way of clicking to the WordPress Dashboard, my vBulletin Forums and Profile.

Note:
1. It seems as though the side bar login links are visible only during the current session. Once I log out and re-enter I'll have to add the links again. So what I need to do is figure out how to hard code the links so that it appears for all users.
2. When logging out of WordPress the only way to completely log out of it and vBulletin is to do so from within the WordPress Dashboard. If I attempt to log out by clicking either the Logout link on the WordPrss front page or within vBulletin the account remains logged in, regardless of how many times I click the link.

Observation(s):
1. I have my front paged linked to a static page and the posts linked to a page called News. So upon visiting the site users are presented with a greeting. Now that I've turned on integration my welcome page has been replaced by the new / posts page. What I'd like to know is if there's a way to control this or do I have to turn the greeting into a post?

2. When I click on Comments in the post it causes my sidebar and center to shift. See it here. Should I remove the Comments link or would it be possible to change it so that when clicked it takes you to that post? Also, aside from the one post I don't think I want all of my posts linking to the forum. Is there a way to make it so that it doesn't happen or is this a feature of how the inntegration uses the vBulletin comment system? If it is I'll go with it I just need to better understand it.

Current Challenges:

1. Create links inside of vBulletin that point to wordPress. Or maybe this is where I try to "Wrap" vBulletin inside of WordPress. Any ideas?

I'm all teeth as I'm almost there.
Reply With Quote
  #304  
Old 03-14-2009, 07:34 AM
Blackhat's Avatar
Blackhat Blackhat is offline
 
Join Date: Mar 2005
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will consider to install this. Is it working, are there still many bugs ?
Reply With Quote
  #305  
Old 03-14-2009, 11:31 AM
amjadz4's Avatar
amjadz4 amjadz4 is offline
 
Join Date: Aug 2007
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works perfectly. No visible issues if you follow the instructions exactly as they are said.

Anyone require theme integeration, that is wrapping your vbulletin inside the wordpress page can contact me. I can do it for you for a small charge!
Reply With Quote
  #306  
Old 03-14-2009, 04:37 PM
COOLover COOLover is offline
 
Join Date: May 2003
Location: Germany
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi getfitatl,

any link from your WP oder vB is wrong.
http:/getfit-atlanta.com/ <-- you need at : an /
Reply With Quote
  #307  
Old 03-14-2009, 10:19 PM
COOLover COOLover is offline
 
Join Date: May 2003
Location: Germany
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by COOLover View Post
Hi,

first thx for a great Mod.

second Sorry for my bad english

I hope anyone can help me.
I try to Integrate wordpress with vB. It works for the first steps realy good. Bud how can i change on the Startpage/Page (wordpress template index.php) the comment counter?
It shows ever 0 Comments. When i go into a Topic, than i have comments from the vB (as sample 3)

Can i aktivate the registration on wordpress with OpenID to register automatic on forum?

Hope you can understand and help me.
For the right counter on startpage replace in the index.php (from template)
Code:
  <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?>
with:
Code:
 <?php
if (function_exists('Comment_Handler')) {

	$vbridge = Comment_Handler($post->ID);

	global $vbulletin; 
}
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>>
<?php

if (intval($vbridge[count]) === 0)
	echo "No Comments &raquo;";
else
	echo intval($vbridge[count])." Comments &raquo;";
?>
</a><br /><a href=<?php echo get_option('vbb_VBURL') ?>/newreply.php?do=newreply&noquote=1&t=<?php echo $vbridge[id] ?>>Add your comments</a>
but how can i use OpenID?
Reply With Quote
  #308  
Old 03-15-2009, 04:51 AM
SABRSox SABRSox is offline
 
Join Date: Apr 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've noticed an issue. When I auto-integrate, the bridge seems to confuse the wordpress userid with the vbulletin userid.

For example, say I, with userid #2 on the blog, writes a post. With auto-integrate, it will list on the wordpress blog the article as written by whomever has userid #2 on vbulletin.
Reply With Quote
  #309  
Old 03-15-2009, 11:33 AM
Ross L Ross L is offline
 
Join Date: Apr 2008
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SABRSox View Post
I've noticed an issue. When I auto-integrate, the bridge seems to confuse the wordpress userid with the vbulletin userid.

For example, say I, with userid #2 on the blog, writes a post. With auto-integrate, it will list on the wordpress blog the article as written by whomever has userid #2 on vbulletin.
Yeah that is a pain, I noticed that this morning!

Also, if you click on Authors & Users it redirects to forums/admincp/user.php and a lot of people change the name of their admincp for security reasons. Could it be made so you can define the admincp in the settings for vbbridge?

Also if there was a way of supporting user avatars from vBulletin to wordpress, that would be sweet. That way it would be easier to distinguish posters on the blog (as most people remember the avatar rather than the name).
Reply With Quote
  #310  
Old 03-15-2009, 01:19 PM
COOLover COOLover is offline
 
Join Date: May 2003
Location: Germany
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by John69Steph View Post
I have the same problem

My post in wordpress is :
Code:
 
      Essai lien : <a href="http://xxx-xxx.net">xxx-xxx</a>
  
      Essai image : <img src="http://www.xxx-xxx.net/relief-bleu/misc/Ban1.png" alt="" />
And when i publish my post and write to Vbulletin, i see that :

Code:
 
      Essai lien : http://ahref>XXX-XXX
  
      Essai image : http://imgsrc alt="" />
What's problem ?

Thank's for your answer
here a fix for the ahref problem:
file: wordpress/wp-content/plugins/functions_wysiwyg2.php


find:
Code:
		$text = preg_replace('#<script[^>]*>(.*)</script>#siU', '', $text);
add after that:
Code:
		$text = str_replace('http://ahref>', '', $text);
Reply With Quote
  #311  
Old 03-15-2009, 11:51 PM
myHybridcar.com myHybridcar.com is offline
 
Join Date: Feb 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My visual editor is working again for blog posts, but it's not working for pages.
Reply With Quote
Reply


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 07:49 PM.


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.08863 seconds
  • Memory Usage 2,371KB
  • Queries Executed 26 (?)
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
  • (8)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete