Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
CES Cookie Cutter - Share Cookies Between Domains Details »
CES Cookie Cutter - Share Cookies Between Domains
Mod Version: 1.2.3, by thincom2000 (Coder) thincom2000 is offline
Developer Last Online: Oct 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.x Rating: (6 votes - 4.67 average) Installs: 62
Released: 13 Feb 2007 Last Update: 12 Apr 2009 Downloads: 525
Not Supported Uses Plugins Auto-Template Additional Files  

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 *

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Use same vB on different Domains (cookies) Paris Holley vBulletin 3.0 Beta Releases 24 10 Oct 2008 17:03

Comments
  #2  
Old 13 Feb 2007, 13:17
BobbyBig BobbyBig is offline
 
Join Date: Mar 2006
Very handy, nice work.
Btw you forgot to reserve first post
Reply With Quote
  #3  
Old 16 Feb 2007, 02:19
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
I LOOOOOOOOOOOOVE this hack!
T H A N K Y O U S O M U C H F O R T H I S!
__________________
http://www.nucia.nl/forum/
The best way to kill malware; is to kill it together.
I love vBulletin http://www.vbulletin.org/forum/images/newsm/bunny.gif
Reply With Quote
  #4  
Old 17 Mar 2007, 17:23
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
I'm glad no one is having problems so far. You wouldn't believe how hard it was to make this work correctly all the time. Unfortunately, I have yet to try sharing between 3+ domains. Anyone have success there?
Reply With Quote
  #5  
Old 17 Mar 2007, 17:42
Realturktiger's Avatar
Realturktiger Realturktiger is offline
 
Join Date: Nov 2006
i've tried the hack...
i've two domains on same forum but i can't login from the addon one....
my forum is on www.universte.com/vb
i can't login from www.turktigers.com/vb/

what's my problem ?
Reply With Quote
  #6  
Old 17 Mar 2007, 17:50
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
Did you upload ces_cookies.php into the includes/ directory on BOTH domains?
Did you make the template edit (sometimes this can be overlooked)?

* Did you add both domains to the setting CES Cookie Sharing Domains? You may have to include the /vb since I noticed your forum is not at the domain root.
Reply With Quote
  #7  
Old 02 Oct 2007, 01:05
mdcdeve mdcdeve is offline
 
Join Date: Oct 2006
Hola, thanks for this, great work. Just wondering, can you set more than one cookiedomain in ces_cookies.php?
Reply With Quote
  #8  
Old 03 Oct 2007, 00:30
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
You need one ces_cookies.php for each domain in the appropriate folder. Then you can add the additional domains in the options.
Reply With Quote
  #9  
Old 05 Oct 2007, 13:19
wsdeluxe's Avatar
wsdeluxe wsdeluxe is offline
 
Join Date: Mar 2006
I've got a problem...its settings the cookies for all domains, except the "master" forum domain.


I've got

www.domain1.com/forums/
www.domain2.com
www.domain3.com
www.domain4.com

2,3 and 4 have the correct cookies, but the domain 1 is not setting the cookies.

My forums are all on the same server, I modified the ces_cookies.php to connect to the correct directory:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thats on all the sites in the includes folder.

Any ideas at whats gone wrong here? The only way I can currently log into the actual forum is by logging in at /admincp/

Thanks
Reply With Quote
  #10  
Old 05 Oct 2007, 15:23
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
I think the /forums on the first domain may be messing it up. Cookies are generated at the root level.

Another issue you may be having is that browser standards usually only generate a maximum of 18 (I think) cookies at a time. I believe that each domain generates between 2 and 4 cookies, so 4 domains may be the most that will work without making many file edits.
Reply With Quote
  #11  
Old 06 Oct 2007, 09:54
wsdeluxe's Avatar
wsdeluxe wsdeluxe is offline
 
Join Date: Mar 2006
Ahh, damn

Would some kind of iframe hack work, or not?
Reply With Quote
  #12  
Old 05 Nov 2007, 15:18
scoutz scoutz is offline
 
Join Date: Feb 2007
I've been looking for something like this for a while... Anyone got this to work? Doesn't seem to work in IE 6 and IE7. Firefox works perfectly though
Reply With Quote
  #13  
Old 05 Nov 2007, 20:31
scoutz scoutz is offline
 
Join Date: Feb 2007
nevermind fixed something myself, working now!
Reply With Quote
  #14  
Old 07 Nov 2007, 19:13
Mighty.Karen Mighty.Karen is offline
 
Join Date: Nov 2007
Would this work with a vBulletin forum and just a generic non-forum type web-app??
Reply With Quote
  #15  
Old 08 Nov 2007, 07:20
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
If the logins are integrated it should work in theory. However, all logins would have to be handled by vBulletin to function as expected -- since the appropriate hooks would need to be called, and the STANDARD_REDIRECT template used.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 04:53.

Layout Options | Width: Wide Color: