Lampwrights Forum > Other Stuff > vBulletin Wordpress Bridge
Register Community Today's Posts Search

Reply
 
Thread Tools
02-22-2011, 04:15 AM   #1
wizzkidd
Junior Member
 
Join Date: Feb 2011
Posts: 11
Rep Power: 0
wizzkidd is getting browny points
Question Integrate VB 3.8.6 with WP 3.0.5

Hi everyone,

I have an existing WP installation with many users subscribed.

I have created a folder in the root of my server called /forum and installed vBulletin 3.8.6 into it and setup the required installation parameters during installation. To point out, I told it to use the same database as the WP database (given it the correct db credentials and using "vb" as a prefix for the VB tables, and it installed perfectly - no errors)

The WP works flawlessly on its own, and the VB works flawlessly on its own -no errors thus far.

I have downloaded and installed the vBulletin WP Bridge v10.0.4 from LampWrights into my /wp-content/plugin/vbridge/... so there are just two files contained within that folder. I changed the vb bridge settings to use the RELATIVE path: /forum and left the "Enable plugins during wordpress instance" option box as "No".

Result...

I can log into WP using my WP credentials and I am authorised by WP and can post comments should I wish, however when i navigate to mysite.com/forum the forum doesnt identify me as being logged in. Also, if I use the VB login boxes with the same WP credentials, it cannot find the user and fails the login, HOWEVER, if I use the VB Registration and signup a new user, this user can login using the VB login boxes to authenticate me, and if i navigate to the root URL (where the WP installation is), WP also has accepted that I am authenticated.

It appears that users must use the VB login in order to be integrated to both. I have no problem with this and can adjust my WP code so that it uses the VB login boxes on the WP page. The problem is that all my users that have previously registered into WP are unable to login (because they didnt use the VB registration method).

Is there anyway to rectify this?

I hope someone can help.

Thanks,

WizzKidd
wizzkidd is offline   Reply With Quote

02-22-2011, 07:38 AM   #2
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Quote:
I can log into WP using my WP credentials and I am authorised by WP and can post comments should I wish, however when i navigate to mysite.com/forum the forum doesnt identify me as being logged in.
The login you use to the WP ADMIN CP is not VB. Users logging into that control panel are actually using their WP credentials.

Now if you are logging in via WP comments then yes you can use VB credentials but at this time it does not log you into both. Not a bad idea though and will put that on the todo list.

Existing wp users will have to use their VB credentials to comment at this time. No other way around that really.
Jeff is offline   Reply With Quote
02-22-2011, 07:45 AM   #3
wizzkidd
Junior Member
 
Join Date: Feb 2011
Posts: 11
Rep Power: 0
wizzkidd is getting browny points
Quote:
Originally Posted by Jeff View Post
The login you use to the WP ADMIN CP is not VB. Users logging into that control panel are actually using their WP credentials.

Now if you are logging in via WP comments then yes you can use VB credentials but at this time it does not log you into both. Not a bad idea though and will put that on the todo list.

Existing wp users will have to use their VB credentials to comment at this time. No other way around that really.

I think what I needed to understand is that the VB database tables are the ones that are in charge of the users username/password information. So I am now "trying" to use ImExp to import the users from the wp db accross to the vb db fields.

im struggling with the impex because my wp default tables are all prefixed with wp_ and my old forum (bbpress) is prefixed with bb_ which confuses matters slightly since there is no generic prefix for the whole db

Arghh
wizzkidd is offline   Reply With Quote
02-22-2011, 10:35 AM   #4
wizzkidd
Junior Member
 
Join Date: Feb 2011
Posts: 11
Rep Power: 0
wizzkidd is getting browny points
Quote:
Originally Posted by wizzkidd View Post
I think what I needed to understand is that the VB database tables are the ones that are in charge of the users username/password information. So I am now "trying" to use ImExp to import the users from the wp db accross to the vb db fields.

im struggling with the impex because my wp default tables are all prefixed with wp_ and my old forum (bbpress) is prefixed with bb_ which confuses matters slightly since there is no generic prefix for the whole db

Arghh
Ok, I think it looks like I got a better understanding. I thought I imported the users incorrectly, however it says somewhere that importing the passwords accross doesnt usually work because of how the passwords are stored, so I have tried resetting a password for a user, and they now can log-in via the VB login page and are also authenticated on the WP pages (the comments say "Logged in as xxxx. Log out?") which is great!!!

I then found your widget which for logging in from the wordpress pages, which is the icing on the cake!

Now its time to get theming and see if I can make the vbulletin look as if it is integrated visually into my blog... this'll test my CSS skills.

Oh BTW Jeff, take a look at the logon widget http://www.itechcity.org - it doesnt look like the "screenshot1.jpg" image (the image that was with the widget). Am I missing some of your css? Could you tell me what css to add to the style.css file please?

Thanks,

WizzKidd

Last edited by wizzkidd; 02-22-2011 at 10:39 AM.
wizzkidd is offline   Reply With Quote
02-22-2011, 10:37 AM   #5
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
The logon widget is actually not mine. :P
Jeff is offline   Reply With Quote
02-22-2011, 10:39 AM   #6
wizzkidd
Junior Member
 
Join Date: Feb 2011
Posts: 11
Rep Power: 0
wizzkidd is getting browny points
Quote:
Originally Posted by Jeff View Post
The logon widget is actually not mine. :P
Fair enough.

Just out of interest, do you have any other plugins or addons related to WP and/or VB?
wizzkidd is offline   Reply With Quote
02-22-2011, 10:41 AM   #7
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Quote:
Originally Posted by wizzkidd View Post
Fair enough.

Just out of interest, do you have any other plugins or addons related to WP and/or VB?
I have quite a few old mods on the vb org site under the user name jafo232, and I have some more here:

http://www.lampwrights.com/forumdisplay.php?f=16
Jeff is offline   Reply With Quote
02-22-2011, 10:47 AM   #8
wizzkidd
Junior Member
 
Join Date: Feb 2011
Posts: 11
Rep Power: 0
wizzkidd is getting browny points
Quote:
Originally Posted by Jeff View Post
I have quite a few old mods on the vb org site under the user name jafo232, and I have some more here:

http://www.lampwrights.com/forumdisplay.php?f=16
Nice one.

Can you recommend any twitter/facebook sign-in addons that allow a user to sign-in using oauth etc, but of course im after an addon that would work with VB since that is now the master that is control of authenticating username/password.

???

I used to use one that would sign in the wordpress user, but now that i have bridged VB, that method has to be scrapped.
wizzkidd is offline   Reply With Quote
02-22-2011, 10:49 AM   #9
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Hmm the only I know of is this:

http://www.vbulletin.org/forum/showthread.php?t=198499
Jeff is offline   Reply With Quote
02-22-2011, 10:51 AM   #10
wizzkidd
Junior Member
 
Join Date: Feb 2011
Posts: 11
Rep Power: 0
wizzkidd is getting browny points
Quote:
Originally Posted by Jeff View Post
Thats fantastic - for facebook! - i'll implement that, why not.
But it looks like im gonna have to search and try and search and try in order to find a Twitter version of the same thing.

Thanks
wizzkidd is offline   Reply With Quote
02-23-2011, 03:56 AM   #11
wizzkidd
Junior Member
 
Join Date: Feb 2011
Posts: 11
Rep Power: 0
wizzkidd is getting browny points
Hi Jeff,

Thanks for all your help. I just have one other question.

I have the logon widget on my Wordpress page which works great, and it logs the user in via VB, once logged in the user can successfully use the forum AND make comments on the Wordpress blogs too! My question is, what/how can i make it so that the logged in user has access to the "Site Admin" of wordpress (i.e e.g write a new post). Because if I link to www.mysite.com/wp-admin the user is asked to authenticate to the WP side and will only accept the user/pass thats respective on the WP site. Do you see what I mean?

I know your explaination of the Bridge says that the WP Admin is not implemented because WP keep changing their methods, but is there something I can do in the mean time?

Thanks,

WizzKidd
wizzkidd is offline   Reply With Quote
02-23-2011, 07:42 AM   #12
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
You will need to use a WP user for the admin area of WP. I have no other suggestion at this time.
Jeff is offline   Reply With Quote
02-23-2011, 07:49 AM   #13
wizzkidd
Junior Member
 
Join Date: Feb 2011
Posts: 11
Rep Power: 0
wizzkidd is getting browny points
Quote:
Originally Posted by Jeff View Post
You will need to use a WP user for the admin area of WP. I have no other suggestion at this time.
Ok fair enough, thanks so much for your help.

My forum is accessible through my site: www.iTechCity.org - take alook and let me know what you think. If you can make any recomenations, then i am all ears!

As you will see, I have not implemented a theme yet, I am trying to get it skinned to look like the wordpress site (header, sidebar and footer) - know anyone that specialises in this?

- WizzKidd
wizzkidd is offline   Reply With Quote
02-23-2011, 07:50 AM   #14
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
These guys specialize in wordpress themes:

http://polymathicmedia.com/
Jeff is offline   Reply With Quote
02-23-2011, 08:03 AM   #15
wizzkidd
Junior Member
 
Join Date: Feb 2011
Posts: 11
Rep Power: 0
wizzkidd is getting browny points
Quote:
Originally Posted by Jeff View Post
These guys specialize in wordpress themes:

http://polymathicmedia.com/
Thank, i'll send them and email.

one think that ive just thought of is... when a user logs out (using the vb-widget on the wp page) it does the loggin out and clearing of the cookies perfectly fine, but it doesnt redirect the user back to where they were, instead it leaves them on the vbulletin page (although there is a link that says something like "go back to where you were") Is there a way to make it redirect to "where you were" instead?
wizzkidd is offline   Reply With Quote
02-23-2011, 08:11 AM   #16
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Hmm maybe but not currently.
Jeff is offline   Reply With Quote
02-26-2011, 12:40 PM   #17
wizzkidd
Junior Member
 
Join Date: Feb 2011
Posts: 11
Rep Power: 0
wizzkidd is getting browny points
Quote:
Originally Posted by Jeff View Post
Hmm maybe but not currently.
Hey Jeff, just wanted to say thanks for your help.

I now have my forum bridged, and i have customized the theme for the vBulletin myself so it appears fully integrated, i wanna show it off, have a lot http://www.itechcity.org/forum
wizzkidd is offline   Reply With Quote
02-26-2011, 01:16 PM   #18
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Lookin good!
Jeff is offline   Reply With Quote
03-27-2011, 07:05 PM   #19
wizzkidd
Junior Member
 
Join Date: Feb 2011
Posts: 11
Rep Power: 0
wizzkidd is getting browny points
Quote:
Originally Posted by Jeff View Post
Lookin good!
Just a quick question Jeff, and anyone else that may know... I'm using the bridge which is fantastic and im using the login widget which works seamlessly! My question is: Does anyone use the bridge/login widget in conjunction with any WP caching plugins? I have found that these cache plugins are misidentifying users login status. i.e when you login, it caches your login. Then if you logout, the site/login widget still shows you as logged in becasue it still has it cached!!

any ideas anyone?
wizzkidd is offline   Reply With Quote
03-27-2011, 09:41 PM   #20
wacnstac
Member
 
Join Date: Feb 2011
Posts: 58
Rep Power: 14
wacnstac is getting browny points
Quote:
Originally Posted by wizzkidd View Post
Just a quick question Jeff, and anyone else that may know... I'm using the bridge which is fantastic and im using the login widget which works seamlessly! My question is: Does anyone use the bridge/login widget in conjunction with any WP caching plugins? I have found that these cache plugins are misidentifying users login status. i.e when you login, it caches your login. Then if you logout, the site/login widget still shows you as logged in becasue it still has it cached!!

any ideas anyone?
What is the login widget and where do I get it?
wacnstac is offline   Reply With Quote
Reply

Tags

vbulletin integration

,

vbulletin wordpress bridge



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



All times are GMT -4. The time now is 07:03 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.