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
  #132  
Old 02-21-2009, 08:14 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by laztrix View Post
I uploaded the files to the plugin directory.
Activated the plugin and select the UTF-8 Option.

The Visual Editor Came Back This time No Problem! But still having Charachter problems in content posting!

And after posting the post page goes blank !

http://img9.imageshack.us/img9/4305/68403843.png

http://img9.imageshack.us/img9/4062/70482045.png

I'm sorry to do all the complaining all the time but the fixes did not helped me out much!
What encoding have you set in your Wordpress setup? Something seems wrong on your end here, because there is no reason for this plugin to do what you show on the map users page. The UTF-8 option really only comes into play when it has to DECODE it.
Reply With Quote
  #133  
Old 02-21-2009, 08:24 PM
laztrix laztrix is offline
 
Join Date: Dec 2008
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232 View Post
What encoding have you set in your Wordpress setup? Something seems wrong on your end here, because there is no reason for this plugin to do what you show on the map users page. The UTF-8 option really only comes into play when it has to DECODE it.
I'm running a turkish translation of wordpress.

Without activating the plugin everything is working fine.

I even did try it by turning off the language option in config.php ( define ('WPLANG', 'tr_TR');

I does not make any sense, my config file is like this:

PHP Code:

<?php
/** 
 * The base configurations of the WordPress.
 *
 * This file has the following configurations: MySQL settings, Table Prefix,
 * Secret Keys, WordPress Language, and ABSPATH. You can find more information by
 * visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
 * wp-config.php} Codex page. You can get the MySQL settings from your web host.
 *
 * This file is used by the wp-config.php creation script during the
 * installation. You don't have to use the web site, you can just copy this file
 * to "wp-config.php" and fill in the values.
 *
 * @package WordPress
 */

// ** MySQL ayarlar? - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME''divxsdfasdfporsfstdsfsdfal_vt');

/** MySQL database username */
define('DB_USER''dsdfdsfs_user');

/** MySQL database password */
define('DB_PASSWORD''divxporsdfsftal3sdfsdf579');

/** MySQL hostname */
define('DB_HOST''localhost');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET''utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE''');

/**#@+
 * E?siz do?rulama anahtarlar?.
 * 
 * Her anahtar farkl? bir karakter k?mesi olmal?!
 * {@link http://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service} servisini kullanarak yaratabilirsiniz.
 *
 * @since 2.6.0
 */
define('AUTH_KEY''buraya e?siz karakter k?menizi yerle?tirin');
define('SECURE_AUTH_KEY''buraya e?siz karakter k?menizi yerle?tirin');
define('LOGGED_IN_KEY''buraya e?siz karakter k?menizi yerle?tirin');
define('NONCE_KEY''buraya e?siz karakter k?menizi yerle?tirin');
/**#@-*/

/**
 * WordPress veritaban? tablo ?n eki.
 *
 * T?m kurulumlara ayr? bir ?nek vererek bir veritaban?na birden fazla kurulum yapabilirsiniz.
 * Sadece rakamlar, harfler ve alt ?izgi l?tfen.
 */
$table_prefix  'wp_';

/**
 * WordPress yerel dil dosyas?, varsay?lan ingilizce.
 *
 * Bu de?eri de?i?tirmenize gerek yok! Zaten T?rk?e'ye ayarl?.
 * tr_TR.mo T?rk?e dil dosyas?n?n wp-content/languages dizini alt?nda oldu?undan emin olun.
 * T?rk?e ?eviri hakk?nda ?neri ve ele?tirilerinizi iletisim@wordpress-tr.com adresine iletebilirsiniz.
 *
 */
define ('WPLANG''tr_TR');

/* Hepsi bu kadar. Mutlu bloglamalar! */

/** WordPress absolute path to the Wordpress directory. */
if ( !defined('ABSPATH') )
    
define('ABSPATH'dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH 'wp-settings.php');
?>
Reply With Quote
  #134  
Old 02-21-2009, 08:47 PM
dieslcruisrhead dieslcruisrhead is offline
 
Join Date: Oct 2008
Location: Park City, UT
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Jafo - thank you for all your hard work on this. I just donated you some $$ on this as well, really good work and great plugin...

FYI though I am still getting an error. When I save under Settings > vBridge settings it kicks out this error. Otherwise it seems to be working excellently...


Quote:
Options saved.

Warning: Cannot modify header information - headers already sent by (output started at /home/hazard/public_html/wp-content/plugins/vbbridge.php:149) in /home/hazard/public_html/wp-includes/pluggable.php on line 850
Reply With Quote
  #135  
Old 02-21-2009, 09:00 PM
logiik logiik is offline
 
Join Date: Sep 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone tried uploading an image or any file for that matter from wordpress? If I try clicking the upload image button from the post editor, I just get a 404 page from the popup.

Going to Upload from the top bar, after uploading it just takes me to the login page.
Reply With Quote
  #136  
Old 02-21-2009, 09:09 PM
Fraik Fraik is offline
 
Join Date: Feb 2007
Location: the Netherlands
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the quick update, but the permalinks still look the same in my forum posts:

http://www.middleearthcenter.com/unc...ed/%postname%/
Reply With Quote
  #137  
Old 02-21-2009, 09:26 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fraik View Post
Thanks for the quick update, but the permalinks still look the same in my forum posts:

http://www.middleearthcenter.com/unc...ed/%postname%/
Did you edit the post since the upgrade? The update will not fix existing posts, unless of course you edit them and save it..
Reply With Quote
  #138  
Old 02-21-2009, 09:32 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by laztrix View Post
I'm running a turkish translation of wordpress.

Wordpress CP -> Settings -> Reading -> "Encoding for pages and feeds".. What do you have there?
Reply With Quote
  #139  
Old 02-21-2009, 11:05 PM
Reynaldovb Reynaldovb is offline
 
Join Date: Dec 2004
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jafo232:

Thanks for the last version update.
You forgot to answer my posts. Is there a way to be able to use the name of the author in the permalink?
Normally in WP you can use %author% to add the author's name to the permalink, any way to populate that variable?
Reply With Quote
  #140  
Old 02-21-2009, 11:14 PM
laztrix laztrix is offline
 
Join Date: Dec 2008
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232 View Post
Wordpress CP -> Settings -> Reading -> "Encoding for pages and feeds".. What do you have there?
http://easycaptures.com/3974987308

It's UTF-8
Reply With Quote
  #141  
Old 02-22-2009, 01:54 AM
RobInjection RobInjection is offline
 
Join Date: Jun 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skariko View Post
I tried this but the link that i have is:

http://www.czeta.it/forum//image.php...ine=1234825805

without the number of the user. (it takes all the other variables like vbb_VBURL and other so i think that there's somthing wrong on user_id)

edit: i've solved it making this:

Code:
<img src="<?php echo get_option('vbb_VBURL') ?>image.php?u=<?php echo $vbulletin->userinfo['userid'] ?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'] ?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32"
i don't know if it is right.. but it works to me :P

This returns the author of the post's avatar.

When I tried the previous method, it was not picking up my user's avatar, instead getting an image not found. When I looked at the image url, I saw that the user ID is not being generated. Any ideas? This would be extremely helpful.
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 04:15 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.05795 seconds
  • Memory Usage 2,382KB
  • 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
  • (3)bbcode_code
  • (1)bbcode_php
  • (7)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