Hi, all i have 4 subdomain site 2joomla and 2vbulletin forums and each site separate sub domain like joomla1.mysite.com joomla2.mysite.com vb1.mysite.com vb2.mysite.com and amember is mysite.com/amember/ i found problem, it's all sub domain can login success but must login each subdomain , it's not single login or one login to all domain, how to fix problem? please tell me if you knows or get this job lancer. regard, note
Possible plugins will require modifications in the part that set cookies. By default cookies that set for one domain will not work for other (even if this is sudomain) I saw ticket from you in helpdesk, will check it now and update.
Can you let me know which parts need to be edited as well - got an exact same situation with a client happening right now... I'll send you an email in helpdesk too, just to keep track of it.
Ok. 1. need to add this code to all subdomains and main domain in .htaccess : php_value "session.cookie_domain" ".domain.com" this will fix single login issue between amember and vBuleltin for subdomains, because plugin installed into vBulletin use aMember session to login user. 2. Need to change set_cookie method in paysys.inc.php and add ".domain.com" parameter to setcookie function. The same for all plugins that use setcookie function. After this single login between scripts installed on subdomains should work.
Nope, that didn't help in my case... I found another way of doing that - by pushing all the redirects to joomla pages through /amember/login.php?amember_redirect_url ...