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)
-   -   Add-On Releases - Mobile Device Style Assignment (https://vborg.vbsupport.ru/showthread.php?t=130983)

cash7c3 06-28-2007 09:20 PM

Hey, I am looking to use a product like this to display a specific style for ONLY ONE User Agent... anything else I want to show the regular style. Its for the iPhone (modmyiphone.com), and I want the iPhone to show one style, and any other browser to show the regular skin. Any chance we could get it so I could set a specific UA to change to a specific skin?

dartho 06-28-2007 10:49 PM

That shouldn't be too hard to do if you have the useragent strings ...

Spika 06-29-2007 01:05 PM

Quote:

Originally Posted by dartho (Post 1277693)
@Spika - if you just go to your sites home page and add "?styleid=xx" where "xx" is your default styleID you'll be ok. I'll add an option in the footer of the next release to change styles - but this won;t work if you use the "mobile detection" hack as it forces a mobile style when it detects a mobile device.

Might be a while before I can apply these changes - gotta get some sleep sometime!

Thank you very much for you support.:up:

JustJon 06-29-2007 04:32 PM

I'm still digging this mod, but when my users post from their cell phones, their signatures are not attached to the post. How do I fix this?

Andres Kello 06-30-2007 01:13 AM

Quote:

Originally Posted by dartho (Post 1274306)
Hi Andres,
I possibly could start from scratch and come up with a more mobile compatible skin in a similar vein to SMF (which by the way would definately the forum software I'd use for a free forum only based site - almost wen t with it myself) but it wouldn;t happen soon. The skin I released with this hack came about from modifying the Alabama skin which vbMechanic wrote. On my small site I am one of only a couple users that access it with a PDA (rather than mobile phone) so the need to make it 100% compliant hasn;t really been there.

As I get time I'll have a go at a skin similar to SMF.

That would be absolutely great to meet the growing demand for mobile websites. The .mobi domain extension was launched 9 months ago and it's fueling a rush to build mobile websites. The problem is, vBulletin won't be meeting that demand at least until version 4.0, and who knows how long away that is.

Also, my users seem to be having a problem using the Quick Reply button on your mobile mod. All it does is apparently "refresh" the page. You can follow the discussion here. Any ideas on how to fix this?

Cheers!
Andres
Mobility.mobi

P.S. By the way, are you in Australia? I'm in Sydney. :)

dartho 06-30-2007 01:57 AM

Andres - check the attachment in this post: https://vborg.vbsupport.ru/showthrea...82#post1276682

It's still a work in progress, but that skin gets 4/5 on ready.mobi and will allow reading forums/threads and replying. I'm still adding in more functionality and will have a next version released by the end of weekend hopefully. I've also modded the mobile detect hack to allow specifying one skin for Windows CE devices / Blackberrys and another skin for all other detected mobile devices - I haven't uploaded this one yet though

I'm in Perth!

Tralala 07-02-2007 02:36 AM

Quote:

Originally Posted by cash7c3 (Post 1278739)
Hey, I am looking to use a product like this to display a specific style for ONLY ONE User Agent... anything else I want to show the regular style. Its for the iPhone (modmyiphone.com), and I want the iPhone to show one style, and any other browser to show the regular skin. Any chance we could get it so I could set a specific UA to change to a specific skin?

Along these lines, I have a forum member using an iPhone and he reports that he's unable to switch away from the mobile skin (I suspect it's because of this product being installed.) How can I add the iPhone browser to the list of exceptions so that he may browse my forum using the "full" skin?

dartho 07-02-2007 03:36 AM

Are you able to find the exact user agent string sent by the iPhone?

I mentioned I had a version on teh boil which would deliver one specified style to "Windows CE" devices, and another to all others - I guess I could allow the user to specify an exceptions list also - I'll look at it when you reply (and I get time)

When using this hack, the style is forced - there is no getting away from it.

dartho 07-02-2007 07:03 AM

Update will be out tonight (5 hours?) with a user configurable exceptions list, and choice of applying a different skin to Windows CE devices - ie. Pocket PC's in addition to applying a specified skin to all other detected mobile devices. Just testing now.

tekguru 07-02-2007 03:11 PM

Update downloaded will feedback later!


All times are GMT. The time now is 06:21 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.01502 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)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