The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
CES Cookie Cutter - Share Cookies Between Domains Details »» | |||||||||||||||||||||||||||
CES Cookie Cutter - Share Cookies Between Domains
Developer Last Online: Sep 2022
CES Cookie Cutter
vBulletin 3.6.x, 3.7.x, & 3.8.x supported Version: 1.2.3 *** NEWS *** 4/12/2009 - v1.2.3 released 4/11/2009 - v1.2.2 released 8/8/2008 - v1.2.0 released 2/18/2008 - v1.1.5 released 2/11/2008 - v1.1.0 released 2/13/2007 - v1.0.0 released Known Issues: - none What It Does: Shares cookies among domains for seamless vBulletin login/logout functionality across multiple domains. Basically if you have more than one domain name, or you have private forums scattered among domains, and all vBulletin instances use the same vBulletin database, this hack allows for integrated, synchronized login/logout on all domains at once. Products to Install: 1 Plugins Included: 3 Files to Upload: 1 Templates to Edit: 0 Files to Edit: 0 Mod Features: - Adds a field in vBulletin Options to enter multiple forum URLs - Integrates login/logout functionality at all forum locations - safety cookie settings available for users who left their cookie domain blank in vBulletin cookie options Changelog: Version 1.2.3: - bug fix: only logouts integrate Version 1.2.2: - bug fix: XSS flaw - bug fix: remember me Version 1.2.0: - updated: no more template edits - updated: rearranged the whole mod - bug fix: IE P3P failure Version 1.1.5: - new feature: cookie debug mode - bug fix: global cookies only apply to www Version 1.1.0: - extended: now supports domains sharing the same file location - bug fix: integrated login is not bidirectional - bug fix: integrated login fails if forum is turned off - bug fix: redundant cookies are generated * This mod is offered for free here. Please donate if you like this mod * Show Your Support
|
Comments |
#92
|
|||
|
|||
I never set the debug mode. I will turn it on and see if it works.
The url was incorrect that I put in there if you are stating that it needs a / for it to work. This is my url: kaplanstudentforums.com/studentforums.php |
#93
|
|||
|
|||
This is my settings (working fine):
crackedeggstudios.net crackedeggstudios.com |
#94
|
|||
|
|||
Now I can browse with each account and the cookie issue is fixed. It shows the name of each domain name in the top browser. ie: www.kaplanforums.com does not redirect. By simply using the one mod listed above with a couple of tweek settings in vbulletin. My problem was this setting which I enabled and everything is now working correctly.
Add Standard HTTP Headers This option does not work with some combinations of web server, so it is off by default. However, some IIS setups may need it turned on. It will send the 200 OK HTTP headers if turned on. I also on the setting left blank This option sets the domain on which the cookie is active. The most common reason to change this setting is that you have two different urls to your forum, i.e. example.com and forums.example.com. To allow users to stay logged into the forum if they visit via either url, you would set this to .example.com (note the domain begins with a dot. also the domains that I entered into it needed to end with a / |
#95
|
|||
|
|||
Oh this works absolutely pefectly for me. Thanks so much.
|
#96
|
|||
|
|||
I'm having some strange problems with this in IE 8. IE 8 accepts the cookies for the 'extra' domains, but not for the domain from which the user is logging in - so after the 'thank you for logging in, please wait while you are redirected' message, the user is returned to the forum home page not logged in.
Anyone else experienced this (seems to be only IE 8) or know a fix? If not I'll do a follow up post if and when I solve it. Great plugin by the way, very useful |
#97
|
|||
|
|||
Problem solved (sort of):
Code:
// we want all subdomains, take everything after the first . if (substr_count($_SERVER['HTTP_HOST'], '.') > 1) { $vbulletin->options['cookiedomain'] = substr($_SERVER['HTTP_HOST'], intval(strpos($_SERVER['HTTP_HOST'], '.'))); } else { $vbulletin->options['cookiedomain'] = $_SERVER['HTTP_HOST']; } The second problem I didn't fully figure out, but it seems that if you check the 'remember me' box, IE 8 happily keeps you logged in to the main domain, so for the moment I've just edited my templates so that this is checked by default |
#98
|
|||
|
|||
This is indeed a problem. I have noticed that Firefox also shares your "Remember me" issue.
|
#99
|
|||
|
|||
Does this work with VB 3.8?
|
#100
|
|||
|
|||
|
#101
|
|||
|
|||
The cookie cutter fails to load the init.php properly but loads the other two requires:
require_once('./includes/functions_login.php'); require_once('./includes/adminfunctions.php'); It does load init.php but exits/crashes. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|