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)

NeverBored 02-11-2008 05:18 AM

Quote:

Originally Posted by thincom2000 (Post 1437779)
I will be releasing the 3.7 version shortly

subscribing for a 3.7 release :up:

zlos 02-11-2008 07:33 AM

I have also one /var/www/public_html/forums catalogue, which is from DNS shared amont two domains. E.g. I can't put two instances of ces_cookies.php file, as there might be only one file in the same catalogue...

If 3.7 version solves this problem I would love to have it installed.

thincom2000 02-11-2008 02:40 PM

Quote:

Originally Posted by zlos (Post 1440632)
I have also one /var/www/public_html/forums catalogue, ... I can't put two instances of ces_cookies.php file, as there might be only one file in the same catalogue...

I have the same setup on my site as of about 2 months ago. Since, this issue has been solved for the 3.7 version.

valdet 02-11-2008 05:31 PM

I have two forums working on the same VPS but on different databases.

First forum is www.mysite1.com/forum and
Second forum is www.mysite2.com.

Before I try this (and eventually mess up with my cookies) I would like to know if it is possible to have users from both forums be able to login to both forums using this hack?
I have separate databases for these forums, but I could give access to each-other database users

I look forward to your reply.

Alfa1 02-11-2008 05:47 PM

Has ces_cookies.php changed since the 3.6.x version?

thincom2000 02-11-2008 06:40 PM

Quote:

Originally Posted by valdet (Post 1440910)
I have two forums working on the same VPS but on different databases... I would like to know if it is possible to have users from both forums be able to login to both forums using this hack?

The scope of this mod doesn't cover integrating logins between vBulletin installations. This only generates cookies for additional domains if say your vBulletin is accessible from .com and .net. The cookies, however, should only be effective on that database unless the two databases are identical and users have the same password / cookie salts on both.

If you really want to integrate both, I would recommend merging the databases, and modify forumhome to display particular forums on each domain. Then you can use the Cookie Cutter to log in to both.

Alfa1 02-11-2008 07:29 PM

When you have the same site, with multiple urls, then the cookie cutter works well, except for that members still have to log in one time for each domain. I have one site with 3 domains/urls:
mymaindomain.com
myblogdomain.com
mywikidomain.com

There is no difference between the above other than the url being different. However when I want to browse these 3 domains, then I have to log in at every domain. After I do that and tick 'remember me', I keep being logged in.

It would be optimal if I would only have to log in one time for all tree domains.

thincom2000 02-12-2008 02:19 AM

Quote:

Originally Posted by Alfa1 (Post 1440990)
It would be optimal if I would only have to log in one time for all tree domains.

This was the intended functionality all along, but I think it stopped working around 3.6.8. Since the 3.7 changes, the beta seems to work correctly again.

NeverBored 02-12-2008 02:46 AM

So this works for 3.7 as is?

thincom2000 02-12-2008 03:02 AM

Quote:

Originally Posted by NeverBored (Post 1441165)
So this works for 3.7 as is?

Just uploaded the new one. So now it does.


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.01264 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (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