MyBB Community Forums

Full Version: Internal and external url addresses
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have an internal url and an external url address - one is used to access the forum from within the company intranet and one is used to access the forum from the internet, and uses a specific port number.  I can specify the homepage url as "/" in Site Details under the ACP, but when a participant tries to register, the full url isn't given in the welcome email that they receive.  How can I specify that the forum use one of two very different urls, depending on whether the user is inside or outside the network?

Thanks!

I know that I can use one of the $_SERVER variables, perhaps $_SERVER['HTTP_HOST'], but where to put that is not clear to me. It doesn't work if I try to enter inline code in the ACP, but I can't figure out where to change the code, either.

Thank you!!