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 - Mobile Phone / iPhone / PDA Detection and Style Assignment (https://vborg.vbsupport.ru/showthread.php?t=173239)

Biker_GA 05-02-2009 07:16 PM

In your mobile style, edit your adv_portal template to something like this:

Code:

$stylevar[htmldoctype]
<html>
<head>
$headinclude
<meta http-equiv="Refresh" content="2; URL=http://your forum domain/forum/index.php" />
</head>
<body>

$header

$navbar
<div align="center"><a href="http://your forum domain/forum/index.php">Portal Disabled in Mobile View - Click here if your browser does not automatically redirect you.</a></div>

$footer

</body>
</html>


dancue 05-06-2009 08:19 PM

thanks.

I've figured how to do it using htaccess.

Thanks again.

dancue 05-07-2009 08:23 PM

Alright. I guess I am gonna use your code Biker_GA.

Thanks.

btw...What does the two stand for? Isn't that the amount of time in seconds before it redirects?

yellowpeter 05-08-2009 03:52 AM

Excellent mod.. I'm putting it at our forum

dancue 05-11-2009 11:30 AM

Alright. Now I have an issue with going back to the normal version. If a user decides they would like to use the normal version of your forum from their phone and they press the button "normal version" it will redirect them to the same skin.

Any fix on this?

Biker_GA 05-11-2009 11:41 AM

**banging head on desk**

From the description of the mod:

Quote:

What can it do?

Detects most mobile phones and force the user to a specific style (users will not be able to select other styles from a mobile device with this add-on installed). If you have multiple styles installed which are optimized for small screen mobile devices, iPhones, WIndows Mobile devices you can assign a specific style to each of these groups.
Bold by me.

dt-pain 05-12-2009 02:30 AM

Seems the Nextel Blackberry Curve is not working well for this mod. Is there a way to add it and make it work? Or is there a new version out yet?

Biker_GA 05-12-2009 03:09 AM

Define not working. I have members using many different Blackberry models (including the Curve) and they're singing my praises for this mod. LOL

dancue 05-12-2009 03:22 AM

Quote:

Originally Posted by Biker_GA (Post 1808505)
**banging head on desk**

From the description of the mod:



Bold by me.

:)

hence the "Any fix on this?" question...

Biker_GA 05-12-2009 04:40 AM

Why should something that is "by design" be fixed? It's SUPPOSED to be that way.


All times are GMT. The time now is 04:49 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.01469 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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