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)

floridaideal 09-18-2009 02:54 PM

Hi Guys

Need a little clarification and assistance here please as I am still learning, but I have setup a sub domain on my original forum domain, so its mobile.domain.com and I have installed the DDDS mod here and set that up correctly pointing at the new domain/skin.

But for the life of me I just don't know how when a user would go to mobile.domain.com it would take them to the forum.

Is there some other mod I need to install or other files in the subdomain? Sorry if I am being thick, right now the subdomain folder is empty and it goes nowhere!

Please help

Thanks

Stuart

fly 09-18-2009 04:19 PM

Well, technically I think its a DNS CNAME that you want, not a subdomain.

floridaideal 09-18-2009 05:05 PM

Thank you so much for the message but I am still having troubles, I checked DNS zones and by adding a subdomain it created the C NAME but I still can't work out how to get it to direct itself back to my forum, using htacess redirects don't seem to work!

Any ideas please?

Thanks again

Stuart

dartho 09-18-2009 09:23 PM

Do you use cPanel or Plesk to add subdomains?

forexforum 09-27-2009 05:47 PM

Hi dartho,

This mod from what I understand only support different styles on different domains. I have some questions and I hope you can help:
  1. Does this mod supports specific forums for different domains under single vb installation?
  2. Can provide the conditional codes to separate certain forum IDs to different domains? Eg. I want forum ID 1 and 2 to be shown on www.123.com but not on www.890.com; vice versa, on www.890.com, only forum ID 3 and 4 will be shown.

Hopefully can help?

Cheers.

forexforum 09-27-2009 06:12 PM

Quote:

Originally Posted by dartho (Post 1887234)
1. Your forum is accessable from multiple domains but the content is the same for each link. This is OK and does not require multiple licenses. My site is an example of a multi-domain setup that is allowed:

http://www.mscclan.com/forum/
http://www.macsubculture.com/forum/
http://www.mac-gamer.com/forum/

Notice how each domain points to exactly the same content.
2. Your forum is accessable from multiple domains but each domain shows a different forum style. This is OK and does not require multiple licenses.
3. Your forum is accessable from multiple domains and your forums are configured to show/hide certain forums based on the domain. This is not OK and requires an active vBulletin license for each domain. In this situation the forums appear to have separate content thereby making them separate forums in the eyes of the license agreement. Your forum content needs to be the same for each domain in order to qualify as a single forum.

Hi dartho,

I brought this quote message of yours back because I want to ask if you could do a separate forums different domains? I understand that this would require additional licenses and fine with that. Just looking for a mod/script that is able to do this so that we could have all forums and users under a single database.

dartho 09-28-2009 09:22 AM

you could do this by additional conditionals in your forumhome/forumdisplay templates (could be a LOT depending on the number of forums you have - if a lot it May even be worth doing file/db edits)

If it's something you want anytime soon, you'd be best off paying someone to do the work. It's not something I'm personally looking for at the moment, although in the future I may have a need

Amenadiel 10-02-2009 08:08 PM

do you think it would be possible to apply this mod only to unregistered users?

I'd like my members to move seamlessly across domains, but guest to have their style changed.

It seems that your plugin hook (style fetch) happens before there is a variable to discriminate between members and guests.

dartho 10-03-2009 12:04 PM

I guess it would be possible - but it's not something I'd spend a lot of time on, if I'm digging throughthis code again, I'll have a quick look

Amenadiel 10-05-2009 10:50 AM

I figured it out... while is true that the object/variable $this->registry->userinfo is empty or nonexistant at the style_fetch hook, $vbulletin->userinfo is not. So if you condition the plugin to:

PHP Code:

if ($vbulletin->userinfo['userid']==0) { 

it'll only apply to visitors.


All times are GMT. The time now is 02:22 PM.

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.01203 seconds
  • Memory Usage 1,742KB
  • 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_php_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