xenForo Forum Integration - login problems.
DoctorWatsOn 42
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: xenForo Forum Integration - login problems.
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
No, this included in version 2.1.8 which is coming in the next few days.
1 Re: xenForo Forum Integration - login problems.
Chris Hall 40
From: -
From: -
Is this change in the current download?
1 Re: xenForo Forum Integration - login problems.
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Found the problem. Open /classes/class_uwrapper_xf1.php and add after:
the following code:
This should fix the logout problem
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "ct_theme", 0, 0, $preferences[ 'website_uwrapper_cookiepath' ], $preferences[ 'website_uwrapper_cookiedomain' ] );
the following code:
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "xf_user", 0, mktime()-31536000, $preferences[ 'website_uwrapper_cookiepath' ], $preferences[ 'website_uwrapper_cookiedomain' ] );
This should fix the logout problem
1 Re: xenForo Forum Integration - login problems.
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
If I login using xF it does log me into both xF & CT and if I log out in xF, it does log me out of both xF & CT as it should.
I can reproduce the logout issue (logout only in Contentteller but not XenForo) on my local installation. I will investigate this tomorrow in the office.
However, I can login with Firefox. Have you tried to clean the cookies in Firefox?
1 Re: xenForo Forum Integration - login problems.
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
I see you installed Contentteller in /sussex and XenForo in /sussexforums. I will try to reproduce this on my local installation.
1 Re: xenForo Forum Integration - login problems.
DoctorWatsOn
OP
42
From: -
From: -
What did you set as Cookie path/domain under Manage Forum Integration?
I didn't, because it says 'optional' for both, and not having a clue what I am doing I left them. http://www.contentteller.com/forums/styles/default/xenforo/smilies/redface.png
There is a '/' under Cookie path, but the Cookie domain is left blank.
1 Re: xenForo Forum Integration - login problems.
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
What did you set as Cookie path/domain under Manage Forum Integration?
(all on Windows Vista - CT 2_1_7 & xF 1_RC2)
FIREFOX –
If I try to login on CT, it doesn’t log me into CT, but it does log me into xF.
If I login on XF, it also doesn’t log me in with CT.
CHROME & IE8:
If I login to CT, it does work & logs me in to both CT & xF, as it should.
However, when I log-out in CT, it doesn’t log me out of xF – the CT page shows me as logged out, but if I refresh it I am logged in again.
If I login using xF it does log me into both xF & CT and if I log out in xF, it does log me out of both xF & CT as it should.