Quote:
Originally Posted by yakusasc
Wahou Mark you are very cool ! Thank you very much ! Do you think it's possible to adapt it for domains ?
forum.site1.com
forum.site2.com
Thanks in advance ! This way it would be the perfection ! The different domain will be host on the same server.
|
That should be possible as long as you setup the web server to point all those domains to the same forum as the original forum you have. I think you would just need to do the following:
Find the line below:
$partner_subdomain = $partner_url[0];
and replace it with this line:
$partner_subdomain = $partner_url[1];
Then the partner names in the variable $partner_ignore_list would have to be the domains like site1 and site2 instead of listing www, www2, etc. The style name will have also have to match the domain name.
If you ever need to alter that more, here's a brief explanation on what that line is. Basically it's looking for a certain part of the domain. If you have a domain like http://forum.site1.com, then it would break down like this:
$partner_url[0] -> 'forum'
$partner_url[1] -> 'site1'
$partner_url[2] -> 'com'
Mark