The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi there,
I am working to semi-combine two forums while keeping separate identities at the same time. First, let me say I have licenses for both sites. What phrase would I need to use to detect the domain name of the site so I can display different forums, styles, templates, etc. I'm thinking it would be something like HTML Code:
<if condition="((THIS_DOMAIN == 'mydomain1.com') > display page 1 <if condition="((THIS_DOMAIN == 'mydomain2.com') > display page 2 <else /> Display something else. </if> Thanks! |
|
#2
|
||||
|
||||
|
Use: $_SERVER['HTTP_HOST']
|
|
#3
|
|||
|
|||
|
Thanks, this works perfectly!
|
![]() |
|
|