vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Styles for co-brand (https://vborg.vbsupport.ru/showthread.php?t=51834)

Pollo 04-19-2003 05:17 PM

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.

Chris M 04-19-2003 06:39 PM

It doesn't for me...

Perhaps it is just your cookie settings;)

Satan

Pollo 04-19-2003 06:54 PM

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.

Gary King 04-20-2003 02:02 AM

Quote:

Today at 02:54 PM Pollo said this in Post #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.

Forward hosthideout2.com to http://www.hosthideout.com/index.php?s=&styleid=8 ? Either just forward, or in a frame will do.

Pollo 04-20-2003 02:29 AM

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...

Chris M 04-20-2003 08:13 AM

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";
}

Not sure if that ^^ works, but something like it might;)

Satan

Gary King 04-20-2003 01:54 PM

Quote:

Yesterday at 10:29 PM Pollo said this in Post #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...
What's the other URL that he uses? (If that's what he's done.)

Pollo 04-22-2003 04:32 AM

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! :D

Tony G 04-22-2003 09:43 AM

Never had a problem with logins, it's weird. Just lucky? :p

MoneyTec.Com 05-16-2003 05:59 AM

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...


All times are GMT. The time now is 12:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00994 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete