i have use the drupalvb module, it is configured as mention.
there are no errors, but the issue is:
while login in to the drupal, there is message that you can also logiv/view o forum, than if i will click to the view forum link it will redirect to the forum but it is not logged in to the forum, all settings in the admin/settings/drupalvb are set.
so is there any muisconfig. or bug so that one login is not working for drupal and vbulletin
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | drupalvb-DRUPAL-5--2.datastore.patch | 1.3 KB | sun |
Comments
Comment #1
dnewkerk commentedI don't have a solution, but just letting you know that I have the exact same experience. To the best of my knowledge, everything is configured exactly perfect, yet logging in to Drupal does not log me into vBulletin. I thought I remembered this working while testing older versions (I know it doesn't work both directions - e.g. logging into vBulletin - but I thought that logging into Drupal did in fact work for both).
Anyhow, just mentioning it so you know it's not only you.
Comment #2
JStarcher commentedClear your browsers cookies.
Login to Drupal.
Check your browsers cookies and there should be some new ones set. Unless you changed your vBulletin cookie prefix, the cookies will begin with 'bb'. If the cookies are there, post them for me and I will see if I can help. Don't worry, all sensitive data in the cookies are encrypted so it wouldn't be a security issue if you posted them here.
If the cookies aren't set, post back and I will see what I can do from there.
Comment #3
ochiburi commentedI also have the exact same problem, but I have found out why, though still not sure how to fix it yet...
Basically the vBulletin cookie has the www. url prefix, but the drupal cookie has no www. prefix.
I will try a few things out and post back if i find out the way to fix this
Laurence.
Comment #4
ochiburi commentedOK, I had to do 2 things to fix this.
1) set the $base_url variable in site/default/Settings.php to "http://www.mysite.co.uk", not just "http://mysite.co.uk"
2) In vBulletin Admin, set the vBulletin Options, Cookies and HTTP Headers, Cookie Domain value to ".mysite.co.uk" - note the leading "." (for me this was one of the suggested values in the pick list anyway)
This got it working OK for me, but much depends on your domain configuration, and whether or not you are using multiple drupal domains on the same server or are hosting multiple vbulletin domains.
My own setup is very simple - one drupal domain, one vbulletin domain. For clarity these are setup as follows:
Drupal domain = http://mysite.co.uk/drupalfolder
vbulletin domain = http://mysite.co.uk/forums
Hope this helps,
Laurence.
Comment #5
at3r commenteddoes this solution work for anyone else? I did what was suggested and I doesn't work
I can login to my vbulletin with the default account and I can see all the drupal users there but no one can login
Anyone found the solution to this?
Comment #6
sunDocumentation has been updated. Feel free to re-open this issue if dual login is still not working for you.
Comment #7
kasalla commentedHey folks,
first of all many thanks to sun for distributing this module!
I re-open this issue because it still does not work for me. I installes & cnfigured everything as expected.
drupal & vb use same cookie-domain. users are successfully imorted to vbulletin, but if I login into drupal i´m not automatically logged to vb & vice versa.
I use drupal 5.7 & vb3.6.10 located in:
drupal= htdocs/drupal
vb= htdocs/drupal/forums
db connection is ok, drupal uses no prefix and vb uses "vb_"
I donnot know what to do else....
If you need further info please let me know. I can give you fully access to the page...
pls help :-)
Comment #8
sun1) Are you running Drupal in a sub-directory?
2) Did you apply any changes regarding cookie domain to your settings.php? If so, which? And what happens if you remove/disable them?
3) Did you alter the cookie domain in vB's settings?
Comment #9
kasalla commentedHey sun! thanks for the fast answer...
1) yes, drupal is located in htdocs/1
vb is located in htdocs/1/forums
2) yes, I set session.cookiedomain... to domain.de & I removed the rest of default cookie-settings. the behavoir does not change anyway.
3)yes, form empty to .domain.de
Comment #10
sun1) So htdocs/1 is your DocumentRoot for domain.de?
2) If Drupal is accessible at domain.de and vB at domain.de/forum, then you should not have to alter any cookiedomain and cookiepath settings at all, because this is the default setup.
Also, Drupal's cookiedomain settings in settings.php have been changed recently. I've updated the docs accordingly now.
Comment #11
kasalla commentedHi sun,
1) I´ve just made htdocs/1 to document root by alter server settings. Now navigating to domain.de leads to drupal. imho this should be the cookie domain also...
2) I´ve reset all changes due to cookiedomain settings in admincp & settings.php. Now everything should be default...
of course I delete cookies everytime I change anything...
still no single login
//Nachtrag: lol...Hätts ja ruhig mal sagen können, dass du Deutscher bist...Das würd die Kommunikation doch sehr vereinfachen :-)
Comment #12
kasalla commentedok, I´ve copied my settings from settings & config.php. perhaps this helps...
This is settings.php with default values...
And this is config.php in forums/include & modules/drupalvb
Comment #13
sunIs it
forums(plural) orforum? Drupal vB currently assumes the latter one (singular).If vB is located in 'forums', you might try to change the following line in the file drupalvb.inc.php:
...by replacing
'/forum/'with'/forums/'.If that works, we need to find a way to determine the actual directory of vBulletin automatically (instead of hard-coding it).
Comment #14
kasalla commentedwell, to be correct at all it´s
htdocs/1/arcade
I changed it to
...$now, '/arcade/', $_S...but behavior is still the same...Wanna have look at the system?
PS: We´ll need to relaunch this night, cause promo for our first event is gonna be running tomorrow.... If you have a solution, you´ll be my best friend from now on... :-)
PPS: If you like to debug, you may do this at the page directly
Comment #15
sun@anstosser: I'd be willing to debug this on your site, however, didn't received a reply from you.
Comment #16
kasalla commentedHey sun,
ok, so please create an account on www.zockeroos.de. I´ll give you admin-rights and ftp-data.
ähm...I thought I´ve replied on every comment. did I forget anything?
Comment #17
sunThe cause for this sseems to be that PHP is unable to unserialize vB's options in the datastore table. Because of that, attached patch changes retrieval of vB's settings by directly fetching the uncached values from the setting table.
Comment #18
kasalla commentedone more time thanks a lot for making the bridge running...
With this patch it works for vb3.6.10 & drupal 5.7 perfectly.
Comment #19
sunThanks, committed.
Comment #20
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.