2017-05-14, 09:57 AM
Hello,
I have now done it. Everything is working fine. Only I have a problem.
Edit:
To:
When I visit my subdomain, the forum calls are all hyperlinks such as. Login, register, etc. under the main domain available. Is there the possibility to call for mobile users, also the whole under the subdomain?
ie .:
User is registered in the forum. As soon as he calls the subdomain, the forum will appear, which works so far perfectly. However, when users click Logon, they will get to the main domain.
Have I forgotten a setting to change?
I have now done it. Everything is working fine. Only I have a problem.
Edit:
// Cookied theme!
else if(!$mybb->user['uid'] && !empty($mybb->cookies['mybbtheme']))
{
$mybb->user['style'] = (int)$mybb->cookies['mybbtheme'];
}
To:
else if($_SERVER["SERVER_NAME"] == "subdomain.domain.tld")
{
$loadstyle = "tid = 'x'";
}
When I visit my subdomain, the forum calls are all hyperlinks such as. Login, register, etc. under the main domain available. Is there the possibility to call for mobile users, also the whole under the subdomain?
ie .:
User is registered in the forum. As soon as he calls the subdomain, the forum will appear, which works so far perfectly. However, when users click Logon, they will get to the main domain.
Have I forgotten a setting to change?