Multiple domain affect whole site
This modification is in the archives.
Situation: you have forums.example1.com and boards.example2.com. You want cookies to work on both of them so that it remembers users but you want to set the cookie domain so that it affects all of example1.com or example2.com whichever the user is on.
The problem is that if you set the cookie domain in the admin panel, it will always use that domain even if you are using a second domain that is set-up to work with the forum also. This quick mod will solve the problem and set the cookie to the full domain so no matter domain you are using it will set the cookie for the whole site (doesn't work with multiple sub-domains such as x.y.example.com yet). I tested it with vB 3.0.7 but I checked the code for one of my older boards and I am pretty sure it will work fine with 3.0.3 and everything in between. Download This modification is archived and cannot be downloaded. |
Similar Mods
Multiple domain concept | vBulletin 2.x Full Releases |