vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - Different Domain, Different Style (https://vborg.vbsupport.ru/showthread.php?t=174381)

dartho 07-25-2009 01:18 AM

Possibly in conjunction with conditional statements in your styles templates

merk_aus 07-26-2009 10:06 AM

Ok I don't know if this can be done with this mod however I thought I would ask...

I run two websites lets call it website1.com and website2.com they are on the same dedicated server however are not really "linked" but I want them to share the same forums... I was wondering whether it would be possible to make it where my forums are on website1.com but when people click on forums on website2.com it takes them to a design specifically designed to website2.com

Sorry if this is confusing - but mainly they are two websites pointing to the same forums I am hoping to organize a theme/style specifically for website2.

Please if you could let me know if this can be done so I can download and install it.

MissKalunji 07-27-2009 06:13 PM

does this still work with 3.8?

dartho 07-27-2009 09:38 PM

Sure does.

MissKalunji 07-28-2009 03:00 AM

thank you :)

wheezyb 07-29-2009 03:22 PM

do i install this as a style?

sorry for the noob question I just didn't see any install instructions anywhere

rrudeboy 07-29-2009 03:42 PM

Quote:

Originally Posted by wheezyb (Post 1857910)
do i install this as a style?

sorry for the noob question I just didn't see any install instructions anywhere

no, install it in Plugins & Products..

gr8whtd0pe 08-09-2009 01:12 PM

This may have been asked already, so don't kill me if I missed it lol. I'm looking to use this script and your "Mobile Phone / iPhone / PDA Detection and Style Assignment" together. Basically I only want the second script to kick in if the request comes from http://mobile.wvmotorsports.com/forums/ and not if the user on their phone goes to just http://www.wvmotorsports.com/fourms/

Any ideas?

Oh and if that first link doesn't work it means the host finally pointed it to the right place and just remove the /fourms/

Thanks!

robhole 08-19-2009 12:10 AM

is there a way to make it so that only a mobile device can access the subdomain/not have a regular browser access it? I set up a subdomain so that mobile users can access but I don't want regular pc/mac accessing, mobile only.

dartho 08-19-2009 12:55 AM

No sure fire simple way I can think of. You could possibly account for the majority of PC users by adding some javascript to the header template of the mobile style which detects IE or Firefox and sends t hem to a different page?
HTML Code:

<script type="text/javascript">
if (navigator.userAgent.indexOf("Firefox")!=-1)
window.location = "http://mywebsite.tld/forum/index.php?styleid=XX/"
if (navigator.userAgent.indexOf("MSIE")!=-1)
window.location = "http://mywebsite.tld/forum/index.php?styleid=XX/"
</script>

This is untested


All times are GMT. The time now is 10:03 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.01313 seconds
  • Memory Usage 1,736KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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