![]() |
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 '.' |
this is the most helpful for intergrated my website's function
thanks very much |
Thank you for your support!
|
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 |
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. |
Just found this mod. If this works I'm gonna be super excited, exactly what I was after!
|
Does this mod work with 3.7.0 RC1?
EDIT: It certainly does, fantastic! |
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? |
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.
|
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? |
If the forum also doesn't physically exist until a subfolder, you should include it in the settings. Say: subdomain.site1.com/forum
Otherwise, everything looks like it's correct and functioning properly. |
Nope, the forum doesn't sit in any subdirectory. Just in the root of those subdomains.
Dammit, was hope I was missing something really simple and easy and it would fix all my problems. |
OK, I tried popping up the src for the fake "image" into a new window, to prove to myself those files were working and setting cookies and sessions. If I do this, it works perfectly in IE and Firefox. Not exactly a perfect solution but proves that the idea does work.
I then also moved the fake "images" to the top of the STANDARD_REDIRECT template so they got loaded first rather than last. Seemed to help my Firefox problem with only a couple of the domains picking up the cookie/session. So still, my only problem is in IE. It just doesn't seem to work at all. I'm using IE7 and just stumped. |
I should be able to update the mod with some javascript that will wait until all fake images are loaded before executing the redirect, which could also help with your IE problem considering everything else seems to be correct.
|
That would be fantastic if you could.
Is it possible the IE problem is actually cross domain policies and the like? |
It works in IE7 on my test site, so I doubt that.
|
OK, here's my latest findings.... It was cross domain privacy policies for me. What do you have your privacy set to in IE?
I set the following at the beginning of the ces_cookies.php and that has fixed my problem for IE. Works like a charm now. PHP Code:
|
Interesting. I would like to read a little more about the header you have posted. Can you provide a documentation link for your findings?
It's possible that this mod is causing the cookies not to be set, so I guess I'll have to remove the efficiency check I added, which prevented the mod from adding an image for the current domain (since the originating script should have taken care of those cookies). |
Sure mate, here's a few links. They all refer to cookies not being set in iframes but I assume that the fake "image" would have the same problem.
http://aspnetresources.com/blog/fram...d_cookies.aspx http://gathadams.com/2007/06/25/how-...-applications/ http://james.jamesandkristin.net/200...rnet-explorer/ |
Any more thoughts mate? What was your privacy set to in IE?
|
Medium.
|
Hi!
I tried using this Add-on with vBulletin 3.7.2 and I experienced the following problem: the images used to set the cookies appear not to be included in the redirect-page which comes up right after one logged in. The HTML does not show any reference nor is the ces_cookies.php loaded. So the user is only logged in on the current domain. But as soon as I press the logout-button, the images are included in the redirect-page. Now I wonder if anybody has got the same problem or even knows a solution for this. I've currently installed vbulletin with vbcms and cookie cutter. Disabling vbcms does not help. Bye, Tobias |
The 3.7.2 login redirect may require an update. Thanks for bringing this to my attention.
|
Hi!
Thank's a lot for your quick reply. It seems to be a Problem with the output of "$stylevar['ces_cookies']". I added an "echo $stylevar['ces_cookies']" to the code for the hook "login_redirect" and everything worked fine again (but of course this is not a clean solution). Anyway, thank's a lot for this very helpful add-on! Bye, Tobias |
Had you reverted the STANDARD REDIRECT template since you upgraded to 3.7.2? Does the template still reflect the edits mentioned in the readme?
|
I directly installed the version3.7.2 and did not upgrade from an older one. For me it didn't work both ways, with and without the edits mentioned in the readme.
|
Could you post the page source from the redirect page when you log in?
|
After I reinstalled everything now, it works. It seems like it depends on the order, the add-ons are installed in but I am totally sure.
Anyway, sorry to bother you with this problem and thank's a lot! Bye, Tobias |
No problem, I actually ended up reorganizing the mod completely as a result of this report. :) I'll release an update in a week or two.
|
Very nice work!!! :)
|
Info:
- Firefox 3.0: no problems - Internet Explorer 6.0.2900: same problem like tobias.mueller |
Does this fully work with 3.7.2?
|
On my install it does. But then again I still need to release the current version. I'll finally do that later on today when I have some time.
|
Does anyone have this working on vb version 3.7.2 Patch Level 1? It's showing up as an installed product but can't find where to change the settings under Vbulletin options. I created a new installation on a new database to test with and installed this by itself but still can't find it under the vb options. Am I missing something?
|
vBulletin Options -> CES Cookie Cutter
|
I scrolled thru the vbulletin options but don't see CES Cookie Cutter listed.
|
Same problem, 3.7.2 PL1, installed fine but not showing up under vB Options.
|
Download the ZIP again and just reinstall the product file allowing overwrite.
|
Now I can see it, Thank You thincom2000!!!
|
I tried to install this, i have 2 sites on the same server, one is in the root and the other is in a sub directory. I have different URLs pointing to each one. I put the ces_cookies file into the includes folder in both sites, i then installed the product on both sites from the Admincp in each site, i then put the domains into the settings like this mydomain.com & mydomain.co.uk. Am i doing this right?
When i done this and tried to logon it just hung and i had 3 boxex saying CES Cookie Cutter I am using 7.2 on both sites, i did see someone saying edit the template but cant find what template to edit or what to edit it with. |
All times are GMT. The time now is 01:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|