I'm not understanding the cookie issue with dual login

Support specific to the vBulletin plugin.

Moderator: Alan

Forum rules
Please post all the bugs you encounter on our issue tracker.

I'm not understanding the cookie issue with dual login

Postby ktaylor on Fri May 14, 2010 12:14 am

Please fill up the following form to enjoy free support from our Team. No Support will be provided in case this form is not filled up!

1. Have you searched the forums and checked the documentation section for a solution? Yes but haven't been able to find anything to help

2. Please summarize your problem in a few lines. I don't know what the problem is, but i can't seem to get dual login to work going from joomla to Vbulletin. I can get it to login and logout from Vbulletin to Joomla but cannot seem to vice versa. Joomla is my master, VB is my slave.

I am on Joomla 1.5.15, Vbulletin 4.0.1..i upgraded my vb from 3.8.X to 4.0.1...everything with jfusion works just fine, the usersync has not had a problem...it's just the route from joomla to vb.

I have read and used the two following threads and even with using both, downloading the new package file, running the wizard again AND double checking to make sure the underscore is accounted for.

Notice for vBulletin 3.8.4 PL2 and 4.0 PL1 Users

Postby Alan on Mon Dec 28, 2009 3:28 am
vBulletin made some changes in vB 3.8.4 PL2 and 4.0 PL1 that affects cookies. For dual login to work, you need to upgrade using this package. Run the wizard for vBulletin and/or read the tooltip for the Cookie Salt.

Thanks,
Alan


vBulletin 4.0.1 users (and maybe others), please read this

Postby Alan on Fri Feb 12, 2010 3:54 am
As reported here, vB 4.0.1 (and maybe latest releases of 3.8) is dynamically adding an underscore to the cookie prefix. You will need to add this to your cookie prefix setting in JFusion's configuration for vB in order for dual login to work. For example, if your cookie salt is bb, you need to set JFusion to use bb_.


I'm not understanding the cookie prefix deal...I even went into my vb includes/config.php to check my cookie prefix (which is eynbb_), so i'm not sure if it's my cookie prefix or my cookie salt. I did check my vb includes/functions.php for the correct cookie salt and all looks fine there. so all in all, everything does look like it *should* work.

can having the website and forum on an SSL certificate make it a problem? right now, my URLs in Jfusion list as http but in reality, they are SSL protected, so should i be using an HTTPS? even so, i've tried both and that doesn't seem to make anything pop.

3. What steps will reproduce the problem? If i log into Joomla as a registered username of testuser1 and password of dougie, i have no problem with joomla login. If i go to the menu that says "discussions" (which is my vb 4.0.1 forum), then it shows me as not logged in.

4. What is the expected output? What do you see instead? the expected output should be that vb 4.0.1 should see testuser1 as logged in.

5. You must include a printout of the login checker in the JFusion component.

Code: Select all
    
   
JFusion Login Checker Results
Server Configuration
Joomla Version    1.5.15
PHP Version    5.2.9
MySQL Version    5.1.44
System Information    Linux ip-72-167-55-216.ip.secureserver.net 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST 2007 i686
Browser Information    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
joomla authentication Plugin    Enabled
joomla user Plugin    Enabled
k2 user Plugin    Enabled
jomsocialuser user Plugin    Enabled
jcomments user Plugin    Enabled
jfusion user Plugin    Disabled
jfusion authentication Plugin    Disabled

JFusion Versions
JFusion Component Version    1.2.3-000 (Rev 1856)
JFusion Authentication Plugin Version    1.2.3-000
JFusion User Plugin Version    1.2.3-000
JFusion Activity Module Version    1.2.3-000
JFusion Login Module Version    1.2.3-000
JFusion Search Plugin Version    1.2.3-000
JFusion Discussion Plugin Version    1.2.3-000

JFusion joomla_int Plugin
configuration    master 1
slave 0
dual_login 1
check_encryption 1
JFusion vbulletin Plugin
configuration    master 0
slave 1
dual_login 1
check_encryption 1


Authentication Plugin
userid    138
activation    ""
username    testuser1
name    testuser1
password    c75e7f********
email    kmkdlt@gmail.com
block    0
group_name    Registered
group_id    18
params    " "
password_salt    IEw3*****
language    en-GB
credentialed_username    testuser1
password_clear    ******
   Authentication Plugin Success
Authentication Plugin Debug
0    joomla_int Password Encryption Check: c75e7f******** vs c75e7f********
1    joomla_int Password Encryption Check: Success


jomsocialuser User Plugin
   User Plugin Success


jfusion User Plugin
   User Plugin Success
User Plugin Debug
init    0 Using userinfo JFusion authentication plugin
joomlaid    138
vbulletin User Update    0 A user has been found that matches the login details
1 Skipped Password Update:Password already valid
vbulletin User Details    userid 69
username testuser1
name testuser1
email kmkdlt@gmail.com
group_id 2
group_name Registered Users
membergroupids ""
displaygroupid 0
password 843213********
password_salt W(v]*****
usertitle Junior Member
customtitle 0
posts 0
block 0
activation ""
password_clear ******
vbulletin Session    
Created Cookies    
0    Name eynbb_userid
Value 69
Expires 2010-05-14 09:14:29
Cookie Path /
Cookie Domain .engineeryournetwork.com
1    Name eynbb_password
Value 0392b3********,
Expires 2010-05-14 09:14:29
Cookie Path /
Cookie Domain .engineeryournetwork.com
User avatar
ktaylor
JFusion Newbie II
JFusion Newbie II
 
Posts: 28
Joined: Fri Jun 12, 2009 7:59 am

Re: I'm not understanding the cookie issue with dual login

Postby fanno on Fri May 14, 2010 3:44 pm

great post, however i cant help you as i don't use vb

you will have to wait for Alan but please be patient he work a lot so it may be a few days b4 he can come by here.

-Thanks
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7669
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: I'm not understanding the cookie issue with dual login

Postby Alan on Sat May 15, 2010 2:18 am

jfusion user Plugin Disabled
jfusion authentication Plugin Disabled


Here's your first problem and probably the main one. Go to JFusion -> CPanel and click on the link on the right to activate these plugins which will also disable Joomla's default ones.

Second, you are using an old version of JFusion. The current release is 1.2.4 Support for vB 4 was not introduced until 1.2.4. You'll need to upgrade. But, since the release of 1.2.4, vB has made some changes that require the tweaks you referred to. Upgrade using http://jfusion.googlecode.com/svn/brnac ... ackage.zip and run the wizard for vB should automatically apply these tweaks.

Thanks,
Alan
We are all volunteers so please search before posting and check the documentation as answers to many common questions are there.

Before posting about visual issues with frameless integration, please read this Firebug tutorial first!

I'm only able to make it to the forums every 2 - 3 days so please be patient.

Nothing is ever free; it just might not cost you anything. ~ David Crowder
User avatar
Alan
Developer
Developer
 
Posts: 1939
Joined: Sat Dec 06, 2008 2:29 pm
Location: Houston, TX

Re: I'm not understanding the cookie issue with dual login

Postby fanno on Sat May 15, 2010 2:11 pm

Alan wrote:
jfusion user Plugin Disabled
jfusion authentication Plugin Disabled


Here's your first problem and probably the main one. Go to JFusion -> CPanel and click on the link on the right to activate these plugins which will also disable Joomla's default ones.

Second, you are using an old version of JFusion. The current release is 1.2.4 Support for vB 4 was not introduced until 1.2.4. You'll need to upgrade. But, since the release of 1.2.4, vB has made some changes that require the tweaks you referred to. Upgrade using http://jfusion.googlecode.com/svn/brnac ... ackage.zip and run the wizard for vB should automatically apply these tweaks.

Thanks,
Alan

omg how did i miss that one =(
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7669
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen


Return to vBulletin

Who is online

Users browsing this forum: Google Adsense [Bot] and 3 guests