Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
CES Cookie Cutter - Share Cookies Across Domains Details »»
CES Cookie Cutter - Share Cookies Across Domains
Version: 1.2.3, by thincom2000 thincom2000 is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 04-12-2009 Last Update: Never Installs: 34
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

CES Cookie Cutter
vBulletin 3.6.x, 3.7.x, & 3.8.x supported
Version: 1.2.3

*** NEWS ***
4/13/2009 - create 3.8.x thread

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

* This mod is offered for free here. Please donate if you like this mod *

Download Now

File Type: zip ces_xs_cookie_v123.zip (5.2 KB, 257 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-14-2009, 12:32 AM
RTMdotORG RTMdotORG is offline
 
Join Date: Dec 2008
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so does this mean that http:sitename.com will be the same as http://www.sitename.com with this mod?
Reply With Quote
  #13  
Old 06-14-2009, 02:37 AM
RTMdotORG RTMdotORG is offline
 
Join Date: Dec 2008
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i login from being logged out, it says cooke cutter complete with a nasty white box and then the redirecting text is not there and it doesnt automatically redirect you, but the logging in and out problem is fixed...

any suggestions?
Reply With Quote
  #14  
Old 06-14-2009, 04:11 AM
RWerksman RWerksman is offline
 
Join Date: Dec 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is now working for me on the 4 different sites that I have.

You have to be sure to put in the exact path of the forum - not just the site name. If your forums, like mine, are in http://www.yoursite.com/forum and http://www.yoursite2.com/forum, you need to enter the following into the box:

www.yoursite.com/forum
www.yoursite2.com/forum

Omitting the /forum part or including the http:// breaks this.


Basically what's going on here is opening hidden windows and posting the form information into them. As long as user names and passwords are the same, your good to go.
Reply With Quote
  #15  
Old 06-14-2009, 07:15 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you see a nasty white box and no redirect, it means you enabled cookie debug mode. This is a development option that we left in, and it should not be used on live forums. Turn that particular option off.
Reply With Quote
  #16  
Old 06-15-2009, 02:34 AM
RWerksman RWerksman is offline
 
Join Date: Dec 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't seem to be working correctly for me for Admin login or when the forum prompts on login to delete a thread or something. I just get caught in a continual loop.

Works great for regular login, but for now I've had to disable.



(no, I'm not in debug mode, and I'm not seeing any white boxes)
Reply With Quote
  #17  
Old 06-15-2009, 03:45 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We haven't have any problems with this for admin login and inlinemod auth logins. Could you provide a little more information like:

Does this occur in all browsers or just a particular one?
Do all domains share the same file system?
Are the config.php cookie settings the same for all 4 domains?
What about your settings for the "Cookies and HTTP Header Options" group?
-- Does the cookie path exist for all domains?
-- Is your cookie domain blank?
Reply With Quote
  #18  
Old 06-15-2009, 11:41 AM
RWerksman RWerksman is offline
 
Join Date: Dec 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thincom2000 View Post
We haven't have any problems with this for admin login and inlinemod auth logins. Could you provide a little more information like:

Does this occur in all browsers or just a particular one?
Do all domains share the same file system?
Are the config.php cookie settings the same for all 4 domains?
What about your settings for the "Cookies and HTTP Header Options" group?
-- Does the cookie path exist for all domains?
-- Is your cookie domain blank?
It occurs in both Firefox Mac & PC, and IE 6 & 7.
Yes.
Yes - it's the same config.php.
Settings for Cookies and HTTP Headers are all default.
-- Yes, it's set to /
-- Yes.
Reply With Quote
  #19  
Old 06-18-2009, 08:55 PM
ach-ja ach-ja is offline
 
Join Date: Jun 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for my bad English!

I use the vBulletin for my forum combined with "vBCMS" (from www.vbdesigns.de) for my portal, but both should go under another URL - with synchonized Logins.
Today I tried the Cookie Cutter, but without luck.

The vBCMS-Installation is in the same directory as the vBulletin. This is linked to URL "1".
The vBCMS-Startcomponents "vbcms.php" and "vbcms_location.php" (only these two!) are in another directory what is linked to URL "2".

Is there a possibility to use the Cookie Cutter for synchronize Login of this "combi-system"?

Kind regards
Ach-ja
Reply With Quote
  #20  
Old 06-20-2009, 05:07 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@RWerksman, was this problem on your /testvb or your live site? I have been able to reproduce this on a /testvb, but I suspect it may be a cookie conflict with the non-test. If this is the case for you, it would save me a lot of time to know for sure.
Reply With Quote
  #21  
Old 06-24-2009, 05:50 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@RWerksman, I just had this problem on my site. It occurs if you have a testvb installed at the domain you are trying to log into a deep folder like admincp or modcp. When the testvb uses the same cookie prefix, or used to and you haven't completely emptied your browser's session cookies, a conflict will arise where you are unable to log into either cp. I believe this might only be an issue if "Remember Me" was checked when you logged into the test board.

To fix, make sure the test board has a unique cookie prefix, but make sure all boards you want to integrate share a prefix. Clear your browser cookies, and you should be good.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06370 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete