Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2011, 06:36 PM
pjkcards pjkcards is offline
 
Join Date: Jul 2007
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Mobile Forum in subdomain

[solved]
Reply With Quote
  #2  
Old 01-27-2011, 02:22 AM
pjkcards pjkcards is offline
 
Join Date: Jul 2007
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone figured this out?

Thanks
Reply With Quote
  #3  
Old 01-27-2011, 08:11 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For sure The mobile style is going to be a big player in the future. I have run the
i phone blackberry mod that's posted in here, it just works off the domain name. seems to me you would have to either have a mod that would sense that its being browsed by a mobile device. or run 2 copy's of the software, one on m.domain.com
and one on domain.com both using the same databases

The other would be a link in the header or by the log in box, that said something like click here for mobile style, that would be easy it would just link tothe m.domain.com that was in the style your wanting them to use.

Interesting stuff though i just don't know about it to be much help , since i dont even own a cell phone. I'm such an old fuddy duddy.
Reply With Quote
  #4  
Old 01-28-2011, 01:28 AM
pjkcards pjkcards is offline
 
Join Date: Jul 2007
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting idea. Can you suggest/confirm any of his options? Surely this has been done before.
Reply With Quote
  #5  
Old 01-29-2011, 02:10 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know you can share a database and that would work but you would need to buy two copy's of VB.

if The style is set to default, of course anyone logging into the domain with that style would be forced to use that style if you didn't allow a choice.

most sites would just make people use the style selection at the bottom to switch to a a constructed mobile style. named MOBILE style :>
Reply With Quote
  #6  
Old 01-31-2011, 10:30 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=254197" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=254197</a>
Reply With Quote
  #7  
Old 02-01-2011, 03:14 AM
strudinox's Avatar
strudinox strudinox is offline
 
Join Date: Mar 2010
Location: California
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All I did was forward my sub domain to the style ID of the mobile theme via .htaccess

Create a blank index.html file and add this to your .htaccess for your subdomain:

Code:
Redirect 301 /index.html http://www.yourdomain.com/forum.php?styleid=XX
Just make sure to edit your domain and replace XX style ID#

This is exactly how I have it setup with my site and it's working perfectly.
Reply With Quote
  #8  
Old 02-01-2011, 06:56 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by strudinox View Post
All I did was forward my sub domain to the style ID of the mobile theme via .htaccess

Create a blank index.html file and add this to your .htaccess for your subdomain:

Code:
Redirect 301 /index.html http://www.yourdomain.com/forum.php?styleid=XX
Just make sure to edit your domain and replace XX style ID#

This is exactly how I have it setup with my site and it's working perfectly.
makes sense, wonder if that works with vbseo
Reply With Quote
  #9  
Old 02-04-2011, 12:05 AM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks like vb has added a moble style to the hew version
Reply With Quote
  #10  
Old 02-04-2011, 12:55 AM
pjkcards pjkcards is offline
 
Join Date: Jul 2007
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks for your help guys, I appreciate it.

--------------- Added [DATE]1296789072[/DATE] at [TIME]1296789072[/TIME] ---------------

Quote:
Originally Posted by strudinox View Post
All I did was forward my sub domain to the style ID of the mobile theme via .htaccess

Create a blank index.html file and add this to your .htaccess for your subdomain:

Code:
Redirect 301 /index.html http://www.yourdomain.com/forum.php?styleid=XX
Just make sure to edit your domain and replace XX style ID#

This is exactly how I have it setup with my site and it's working perfectly.
I just tried this. It works fine for the subdomain (such as m.domain.com), but when I go back to the domain.com, it holds the same style as when I visited m.domain.com, which is the mobile. Why is this and how do I get over this? Thanks.
Reply With Quote
Reply


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 01:51 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.08226 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
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
  • (3)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_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