[REQ] Use same vB on different Domains (cookies)

I haven't tested it in all circumstances but in only the way i needed. This may not be the best method but I think its the only one that works as of right now.

Tested Domain Situations:
-------------------------------
1site.com
2site.com ( which the real url is 1site.com/2site/ )
-------------------------------

Open Functions.php and find
PHP:
{ // try unsetting without the / at the end
before each setcookie function ( should be 3 within about 25 lines or so ) add

PHP:
setcookie($name, $value, $expire, "your-path", "your-domain", $secure);
this should write the cookies for each domain you set it for and allow people to view each one and not have to log in. Please give me feed back on this for i would love to see my first vb hack work
 
Back
Top