vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - CES Cookie Cutter - Share Cookies Between Domains (https://vborg.vbsupport.ru/showthread.php?t=139272)

wsdeluxe 10-06-2007 08:54 AM

Ahh, damn :(

Would some kind of iframe hack work, or not?

scoutz 11-05-2007 02:18 PM

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 :(

scoutz 11-05-2007 07:31 PM

nevermind fixed something myself, working now! :)

Mighty.Karen 11-07-2007 06:13 PM

Would this work with a vBulletin forum and just a generic non-forum type web-app??

thincom2000 11-08-2007 06:20 AM

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.

Tom1234 11-23-2007 08:30 PM

Does this hack assume there are two separate instances of vBulletin or does it work for one vBulletin instance that is accessible at two different domain names - e.g. two domain names that have the same IP address?

Would this be a good way to change your domain name without requiring all your members to log in with a password at the new domain?

thincom2000 11-24-2007 12:33 AM

Quote:

Originally Posted by Tom1234 (Post 1388289)
Does this hack assume there are two separate instances of vBulletin or does it work for one vBulletin instance that is accessible at two different domain names - e.g. two domain names that have the same IP address?

Would this be a good way to change your domain name without requiring all your members to log in with a password at the new domain?

I'm not sure how to answer your first question since I haven't done extensive testing. I had two domain names that pointed to different subdirectories on the same server. While structurally it appeared to be two instances of vBulletin, the subdirectories were actually mirrors.

For this mod to work, I believe the only thing you need is one of two copies of ces_cookies.php in each respective subdirectory, and you may or may not need to redefine $vboptions['bburl'] in those files. You just have to try it and see if it works for your particular setup.

Alfa1 01-10-2008 04:00 PM

Will this work if I have the following setup:
-domain1.co.uk
-domain2.com
-domain3.com

-domain1.co.uk/testvb/

Domain 1-3 are the same installation of vbulletin, but one can browse the same site under all 3 urls.
The cookie domain currently set at domain1.co.uk, so that going from domain1.co.uk to domain1.co.uk/testvb/ will not cause cookie/login problems.

But it seems this setup will not work to accomplish cookie sharing. Please advise how to handle this.

Eagle Creek 02-06-2008 11:10 PM

Does this hack work with the most recent vBulletin?!
If it doesn't: what should I use?

thincom2000 02-07-2008 12:36 AM

I will be releasing the 3.7 version shortly, which I don't believe has any real changes other than a restructuring of the code (because I discovered the sharing was not accomplished while a board is disabled. This can be a hassle for admins who are trying to work with that situation.

Quote:

Originally Posted by Alfa1 (Post 1419020)
Domain 1-3 are the same installation of vbulletin, but one can browse the same site under all 3 urls.
The cookie domain currently set at domain1.co.uk, so that going from domain1.co.uk to domain1.co.uk/testvb/ will not cause cookie/login problems.

But it seems this setup will not work to accomplish cookie sharing. Please advise how to handle this.

I hope that what you describe is possible... As long as the cookie is saved at each domain root, it should be available from all subfolders (or do you want to avoid that?).


All times are GMT. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01309 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete