Go Back   vb.org Archive > Community Central > Community Lounge

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2003, 05:17 PM
Pollo Pollo is offline
 
Join Date: Jul 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 04-19-2003, 06:39 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't for me...

Perhaps it is just your cookie settings

Satan
Reply With Quote
  #3  
Old 04-19-2003, 06:54 PM
Pollo Pollo is offline
 
Join Date: Jul 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 04-20-2003, 02:02 AM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 04-20-2003, 02:29 AM
Pollo Pollo is offline
 
Join Date: Jul 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #6  
Old 04-20-2003, 08:13 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 04-20-2003, 01:54 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.)
Reply With Quote
  #8  
Old 04-22-2003, 04:32 AM
Pollo Pollo is offline
 
Join Date: Jul 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #9  
Old 04-22-2003, 09:43 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never had a problem with logins, it's weird. Just lucky?
Reply With Quote
  #10  
Old 05-16-2003, 05:59 AM
MoneyTec.Com MoneyTec.Com is offline
 
Join Date: Nov 2001
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:49 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.03185 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete