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)

thincom2000 02-18-2008 07:03 PM

Okay I got this working in IE for those of you who were having problems. The issue is created when the ces_cookies.php script generates an error. Firefox is still able to handle the cookies, but IE refuses to continue once the error occurs. These errors are likely caused by a plugin from another product which becomes broken due to the various constants used by the cookies script.

I have updated the product file with some minor bug fixes, and included an option to display the output of the cookies script as text and halt the redirect, for debugging purposes.

When installing the new product, make sure to update your Cookie Sharing Domains, because entries should no longer start with '.'

crocodile 02-24-2008 07:26 AM

this is the most helpful for intergrated my website's function
thanks very much

thincom2000 02-25-2008 01:10 PM

Thank you for your support!

Poltergiest 03-05-2008 10:14 PM

THANK YOU!!! This has fixed a problem that been a PITA for me.

BTW my board is 3.68 but it's good to know that this will continue to work when I move to 3.70

Alfa1 03-14-2008 07:16 PM

I can't log out from my site now.

Guests see this error:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /index.php(539) : eval()'d code on line 264

I am not sure the error is due to this hack.

dfc005 03-26-2008 09:53 PM

Just found this mod. If this works I'm gonna be super excited, exactly what I was after!

dfc005 03-26-2008 09:57 PM

Does this mod work with 3.7.0 RC1?

EDIT: It certainly does, fantastic!

dfc005 03-27-2008 04:12 AM

OK, first, sorry for the triple post. But I've been playing around with this and need some help.

First, I'm using this with 4+ domains. To start, when I logged in with one domain, it only seemed to get round to logging in to 1 or 2 of the other domains, never all 4 or more. I realised this was probably due to the redirect page (where the ces_cookies.php is embedded via an image) moving to fast and not allowing time for the each of the "images" to load. So, I slowed it down a bit and bam, it worked perfectly.

But I still can get it to work on IE. Just won't log onto any of the other domains apart from the one I'm logging in through. BUT, if I view the source on the redirect page and paste the "image" src into a new IE window and load it up, next time I visit that domain, I'm logged in. So the theory seems to work....

Anyone else got any ideas on the whole process?

thincom2000 03-27-2008 05:51 AM

The mod's debug mode was actually created to help solve an IE situation that sounded exactly like this. Please turn it on briefly (it will temporarily catch and stop all extra logins/logouts) and post your results.

dfc005 03-27-2008 06:07 AM

OK, my Cookie Sharing Domains are....

redesign.site1.com
redesign.site2.com
redesign.site3.com
redesign.site4.com

We're currently making the redesigns for each site in a subdomain. When they are complete, we'll drop the subdomain. All sites have the same files and acess one centralised database.

I login through the redesign.site1.com and all three of the debug boxes display "Cookie Cutter generation complete!".

Is that right?


All times are GMT. The time now is 01:16 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.01215 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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