The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Styles for co-brand
Well, I have a site that wants to co-brand with my forum, but having a bit of trouble understanding how to accomplish this. After mucking it up a few times, I managed to get two styles going:
Regular HHO style: http://www.hosthideout.com/ Style #2 for the co-brand: http://www.hosthideout.com/index.php?s=&styleid=8 Yeah, Style #2 is the default vB one, just testing at the moment. Eventually it will look the same as the regular HHO style, but with different headers and footers. My question is, when you load up http://www.hosthideout.com/index.php?s=&styleid=8 you can see the new style, but if you click on anything the style reverts back to the regular HHO one. Is this normal? Obviously this isn't good for a co-brand and I must be doing something wrong. |
#2
|
||||
|
||||
It doesn't for me...
Perhaps it is just your cookie settings Satan |
#3
|
|||
|
|||
Hmmmm... it doesn't for you eh? That's odd. Could explain why I've been going nuts, though doesn't explain why it is happening. Weird.
OK, question #2, how would you recommend to point a different domain at that style? In other words, if you typed in hosthideout2.com you'd see style #2. |
#4
|
||||
|
||||
Quote:
|
#5
|
|||
|
|||
Yeah, I was hoping to avoid doing either of those, but I suppose there's no magic way to do it. Have to figure out how the http://www.motorsportforums.com guy does it. Hmmm...
|
#6
|
||||
|
||||
You could probably do something like:
In forum/global.php add: Code:
if ($HTTP_REFERER=="http://www.thedomain.tld" or $HTTP_REFERER=="http://thedomain.tld") { $styleid=="8"; } Satan |
#7
|
||||
|
||||
Quote:
|
#8
|
|||
|
|||
He has sub domains (http://something.motorsportforums.com) which all are different co-branded sites. You load the subdomain, it loads the style, but I think what hellsatan posted above is the basic idea. I'm trying a few things and seeing if it works. Thank you very much for your replies, it is most appreciated!
|
#9
|
||||
|
||||
Never had a problem with logins, it's weird. Just lucky?
|
#10
|
|||
|
|||
I also have a site that wants to co-brand with my forum, and would like to read and see more on this, Can any direct me to good threads or examples of co-brading VB forums with other sites...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|