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 09-28-2011 04:20 AM

have you gone through the post about 3 above (Post 217) ?

infnity8x3 09-28-2011 04:35 AM

Yes.

I have "mobile.example.com" and "example.com"

In vbulletin options, my forum url is "http://example.com"

If i change it to "http://mobile.example.com" then it works. And i login fine.

But that is not my true forum's Url so i can't keep it set to the mobile site.



Update just so you know. I have vbadvanced installed and set up so. http://example.com is my home page / portal and http://example.com/forum are the actual forums. I have my sub domain set up so it points directly to the /forum directory that was the mobile subdomain bypasses the vbadvanced page altogether

I may be 100% screwed
https://www.vbulletin.com/forum/show...ty-patch/page3

dartho 09-28-2011 05:33 AM

I think that's your problem. Your webroot for any subdomain has to be same as for primary domain. Ideally you'd have a CNAME DNS record which points mobile.example.com at example.com In cPanel parking a domain on teh same root as your primary domain is how to do it.

autoescala 10-28-2011 05:51 PM

Quote:

Originally Posted by for5up (Post 2195903)
hi sung

i used your modification, and it runs perfectly in my forum.

all link has changed into m.myforum.com (thread,forum,post, etc)

thanks for the change


*i use 4.1.3

Please, can you post your full code, I dont understand where I have to add exactly.... I try 3 combinations and no runs on 4.1.7.

Please post here your plugin php code

autoescala 02-09-2012 10:02 AM

Quote:

Originally Posted by autoescala (Post 2262390)
Please, can you post your full code, I dont understand where I have to add exactly.... I try 3 combinations and no runs on 4.1.7.

Please post here your plugin php code


Hi to all,

After many work I modify the addon with the sung options and It works for me on 4.1.7 very well..

m.example.net -> mobile style
mobile.example.net -> mobile style
example.net -> normal style

But the problem is when the forum emails some alert to the users from a thread they always use mobile.example.net/forum/etc instead of example.net/forum/etc !

how can I solve this ? any ideas ?
Best regards

autoescala 03-09-2012 09:42 AM

Hi to all,

Vote here in JIRA:

http://tracker.vbulletin.com/browse/VBIV-14142

https://www.vbulletin.com/forum/show...in-sub-domain-
(example-http-m-vbulletin-com)

For an official ability to set the mobile style in sub-domain.

Best Regards

autoescala 06-28-2012 01:47 PM

bump

Relientk 08-22-2012 01:19 AM

omgoodness! I have been working on this for weeks trying to find an answer as to how I could achieve this!!! I'm sooooo happy! Thank you for offering this! I'm going to work on installing it now. If all goes well I will be donating!!! Thank you so much this is awesome!

vn88com 03-26-2014 05:22 AM

I have setup style for pc: domain.com, and style for mobi: m.domain.com

When I use phone device go to domain.com, it not redirect to m.domain.com, but it show style mobi.

How to redirect m.domain.com when go by phone? and user can choose link domain.com to use pc style?

Im using mod Detect Mobile Device and Different Domain, Different Style

Thanks

dartho 03-26-2014 11:59 PM

mobile detect sets style based on device used to visit page

different domain assigns style based on URL visited (domain name)

sorry - they do not know about each other or work together

My suggestion would be disable detection and inform users of mobile site address. What version of VB do you use? This https://vborg.vbsupport.ru/showthread.php?t=270978 might work if your version of VB has notices


All times are GMT. The time now is 05:41 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.01292 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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