The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Complete Wordpress/Vbulletin Bridge - Share Users And Postings Details »» | |||||||||||||||||||||||||||
Complete Wordpress/Vbulletin Bridge - Share Users And Postings
Developer Last Online: Oct 2022
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:
01/03/2007 - Fixed the unlock_tables() issue on some setups. 01/03/2007 - Fixed a bug in the script that if you used a MySQL database prefix, integration would not work. Please see this post for more information! Special thanks to axisoverdrive for giving me access to his server and letting me troubleshoot the issue! 01/05/2007 - Fixed issue where if a user saved (not published) and published later, the post would not be added to the forum. 01/05/2007 - When a post is edited, it will also be edited in the forum. 01/08/2007 - Modified slightly so when posts are edited, so are the titles (if edited). 02/07/2007 - Major modifications to new version (now 2.05). The list follows:
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. Show Your Support
|
Comments |
#1252
|
|||
|
|||
Has anyone successfully integrated the avatars from Vbulletin into the Comment section of wordpress? I would like to know how
|
#1253
|
|||
|
|||
Avatars are not amongst the vBulletin data that vBridge collects.
In order to use them on your Wordpress pages, along with infos like User's Title or so, you need to modify the vBridge query that gets data from vBulletin replies. Below is more a technical draft than a failsafe HowTo. - Open vbbridge.php and look for the following query: PHP Code:
Replace it by: PHP Code:
- Save your vbbridge.php. - Now the quick and dirty part : there are probably vBulletin functions to handle avatars properly, since i haven't had a look at that yet, here is some bad way to handle most of the avatars. - Open your theme php file where you already did some copy/paste with the vbbridge code to handle comments. - Look for : PHP Code:
PHP Code:
For infos here is the part of code that i used a few years ago to handle avatars displaying in non-vb pages (not vbbridge related !) PHP Code:
|
#1254
|
|||
|
|||
Quote:
Also, when you turn off the forum the blog has the vbulletin message show up without the style....any ideas? |
#1255
|
|||
|
|||
When I create my test post in Wordpress and publish it, I get the following error:
Quote:
Does anyone have any ideas what is causing this error? |
#1256
|
|||
|
|||
good evening mates!!
i am pretty happy, that the bridge is working nearly perfectly with my setup!! (wordpress 2.6.3, vbulletin 3.7.4) also i got handsome with some path problems and fixed them, really fast. but still one error is occuring. a last damn error, and i don't know how to fix it! here the problem: the bridge works mainly... (postings are integrated to the forum, i can edit and delete them...) but if i want to submit a new post there occurs always this error: Warning: Cannot modify header information - headers already sent by (output started at path/wp-content/plugins/vbbridge.php:94) in path/wp-includes/pluggable.php (Line 770) got any suggestions?? would be REALLY happy if anyone got already fixed this problem and could tell me a way to solve it. in the meanwhile i will dig the code ! |
#1257
|
|||
|
|||
First i would suggest that you try this :
1°) Disable all your Wordpress plugins (except VbBridge of course !) and try again. -> If it works, then try re-enabling your WP plugins one by one, testing again after each reactivated WordPress plugin. 2°) If it is still not working and provided you've installed some vbulletin add-ons, still keep your WP plugins disabled and now disable all your VB add-ons. And try again. -> If it works. follow step 3 -> If it still doesn't work, you've run out of luck and you can reactivate everything and look into the code. 3°) Re-activate all of your WordPress plugins. And test again -> If it works, your WP plugin are not causing the pbr, go to step 4. -> If it doesn't work, go back to step 1 4°) Your Wordpress Plugins are not causing the error. Now try re-enable your vBulletin addons 1 by 1 and at each one reactivated, check if the error is back or not. -> If it works, you're lucky ! turning everything OFF then ON again solved your pbr. -> If it doesn't work. The last vBulletin add-on re-activated is likely the one you should check. |
#1258
|
|||
|
|||
I've been trying to get this working for three days, I must have reinstalled everything at least five or six times, but I keep getting the same error message:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/x/public_html/v3b/wp-content/plugins/vbbridge.php on line 29 cannot include /home/x/public_html/v3b/wp-admin/global.php. You should check your path! Turning Plugin Off where x is the name of my webhosting account. I'm trying to get this running with a default installation of vBulletin. There are no plugins, nothing has been created, no forums, a straight out of the box installation and straight out of the box installation of Wordpress. I perform the installation, go to the settings and then select vBridge Settings, I key the following values in for each field: vb user id: 1 vb username: airtime vb forum id: 2 forum url: http://y.com/v3b/forums forum relative path: /forums Database Prefix: vB_ Turn Plugin on: Yes Turn Autointegrate on: No Post articles to forum: Yes Excerpt forum post: no I click submit. I get the message options saved. I then Reading and get the above message. Does anyone have any idea why I'm getting this message. The files are in the: /v3b/wp-content/plugins directory and I'm not using a subdomain. This is really beginning to baffle me. I'm sure I'm missing something small, I just don't know what. |
#1259
|
|||
|
|||
I finally figured it out, the relative path should be set to /v3b/forums/. I needed to add the trailing slash, something not mentioned in the documentation and not reflected in the example to the right of the field.
By the way, your documentation isn't current with version 2.6.3 of Wordpress. The settings menu is no longer "options" it is now settings. It is also "vbridge settings" and not "vbridge options" |
#1260
|
||||
|
||||
I have managed to get the bridge installed and working.
The only question I have is that I have noticed it works kind of strange when it comes to logging my users into the wordpress part. scenario 1: 1. log into vb 2. goto wordpress your not logged into wordpress HOWEVER: If I then click on the 'login' button on wordpress, it takes me to the vb homepage, which says I am logged in. Then if I go back to the wordpress I am indeed logged in. Only way for me to login to wordpress is if I follow the steps above exactly. If I simply log into vb and then goto wordpress, I am not logged in. I have to click the wp login button, and then return to wp to be logged in. Is this how the author intended it? kinda doubt it but as I have already mapped usergroups and tested posting, and logged in, it seems to work, just kinda strange. great plugin btw THANK YOU! |
#1261
|
|||
|
|||
Awesome hack.
Sorry if this is a stupid question but why does this bridge VB users into WordPress? Why would you want to do this? It's great having the forum comments showing under the WP posts and the new WP getting posted to VB at the same time, but why does WP need to know about the users? I've set mine up but not enabled user bridging, I don't like the idea of having two user databases, what do I loose in doing this? For those who like valid sites, there are a few missing " " around URLs and incorrect & signs in URLs in the readme codes. Jafo: You can add my site if you wish http://www.malcolminthemiddle.co.uk/ |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|