vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - DDDS - Different Domain Different Style (https://vborg.vbsupport.ru/showthread.php?t=151514)

dartho 09-26-2007 02:53 PM

With a few small tweaks - this style I wrote can give you a mobi compliant vBulletin site. Use it in conjunction with this hack to have mobi/com :up:

Kohhal 09-28-2007 05:45 AM

Quote:

Originally Posted by dartho (Post 1347499)
In your mysite.mobi style you could modify the template of your home page to redirect to your forum page...

also modifiy the navbar/links so that links to home go to your forum page rather than your home page.

I'm assuming you have a mobile skin/style for teh .mobi and a standard skin/style for your .com ?

Hi dartho,

I want to use your mobile skin for .mobi(for forums only) and a standard skin for .com basically.

I have a CMS at domain.com with links to my forum, but when a user goes to domain.com I want domain.com/forum to load, not the front page of the CMS/site.

Currently, domain.mobi is not parked anywhere but when I do, I want it to load the mobile forum skin ie. I don't want to have to host the .mobi site if you get me?

dartho 10-09-2007 11:04 AM

Hi Kohhal

I;m a little confused - mostly by this bit "I have a CMS at domain.com with links to my forum, but when a user goes to domain.com I want domain.com/forum to load, not the front page of the CMS/site"

DO you mean you want "domain.mobi" to load "domain.com/forum" using the mobi skin?

Kohhal 10-09-2007 11:09 AM

Yep, that's what I did. It's sorted now, in the end I didn't need this hack but used your other mobile detect hack, thanks :)

cgutzmer 10-10-2007 02:10 AM

I am having a hard time wrapping my head around exactly what this does. Does anyone have a link or three they would be willing to post here so we can see it in action. I am most interested in seeing how different the forums look like their own entities yet still run off the same database.
Thanks!
Chris

dartho 10-10-2007 02:34 AM

First, you need 2 styles installed on your system and you need either 2 domain names or a domain and sub-domain parked on the same webspace.

This hack will parse the URL visited and assign a style based on this information.

Eg:
You have the default style and a "red" style install.
You have the domain "domain.com" and a sub domain "red.domain.com"
You could then use this hack to force the "red" style on visitors to "red.domain.com"

Clear as mud?

cgutzmer 10-12-2007 09:47 AM

Hmmm yeah, I get that part. I would like to see one in action though. I am an admin at a fairly large site but not the programmer.... and we have several different hobbies. We would like to be able to set it up so that if someone comes in with one domain they get different color schemes, only see particular parts of the forums, have a specific banner on the top. etc. I think this does that but I am not positive.
Thanks again!
Chris

dartho 10-12-2007 11:37 AM

Thats almost exactly what it can do.

You can't hide parts of your forum as such, all you can do is assign a different style based on the URL visited.

Do be aware that multiple domain names pointing to your forums will require multiple licenses. The essence of the license agreement for vbulletin is one license, one domain. Check the end of page 1 and the start of page 2 in this thread for a brief discussion on the matter.

cgutzmer 10-13-2007 12:52 AM

Thanks for the info. We are looking for a way to hide some parts of the forum so I suppose this wont work. We basically want to operate multiple topics independently (at least look independent) of each other but use the same database as the backbone.

SCRIPT3R 11-02-2007 05:35 PM

I would also like to see this in a live-setting somewhere.


All times are GMT. The time now is 11:24 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.01112 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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