Themes urls
Lurking at sm.org, I read the report of a user that was having problems with the theme switching between http and https.
Without entering into the specific details, what I'm wondering is: why do we have to define the full URL for themes not on a "special" (e.g. with the assets stored on another domain) setup?
Why not simply store the relative url and append it to $boardurl?
That would also cut down on maintenance in case of address changes, one less parameter to fix.
Re: Themes urls
Reply #1 –
The only thing you need the full URL for is for emails. Other than that, I don't see a need to not use a relative URL. I think I wrote about this somewhere on SMF.
Re: Themes urls
Reply #3 –
Why not? Browsers now change it to a fully qualified URI when you copy it
Re: Themes urls
Reply #4 –
I am afraid I didn't follow.
Re: Themes urls
Reply #5 –
Actually, I have a problem with this too using Multi Forum Addon. I think I might have edited the index.template.php to make sure all themes work accross all domain urls.