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)

dartho 03-16-2008 10:00 PM

Mobile Phone / iPhone / PDA Detection and Style Assignment
 
This add-on will detect most mobile phones, iPhones, PDAs and other mobile browsing devices and automatically for the user to a specific vBulletin style.

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.

Whilst designed with mobile device users in mind, you could also assign styles to self defined browsers. For example you can assign an alternative style to Internet Explorer users whilst Firefox users get the default style. You could also assign an alternative style to Google or Yahoo spiders.

Instructions:
0. Install styles which you wish to assign to Mobile/PDA/iPhone users - some links will appear at the bottom of this post
1. Download the product file
2. Install via Product Manager
3. Configure options via vBulletin Options, Mobile Device Detection (should appear at end)
4. Start browsing from your mobile device!
5. Click "Mark as Installed"

If upgrading from a previous 3.5 or 3.6 version, you will need to uninstall that and the install this one.

To uninstall simply uninstall the product - there are no database changes or additional files.

Styles released on vBulletin which you can use:
Dartho's Mobile, Cell, Phone, PDA, iPhone Style for vBulletin 3.7 (<-- yep, that's mine)
ElForro's iPhone / iPod Touch Optimized Style
Zachery's vB Lite Style
vBMechanics Mobile Alabama Style

Due to the stripped down nature of these mobile styles, you will find that most for 3.5 and 3.6 will work quite happily on 3.5, 3.6 & 3.7 although additional features introduced in vBulletin in recent years such as Social Groups, Blogs and Photo Galleries will not show well on a small screen. All should display your actual forums well.

3.6 Version can be found here

Marked as Beta until I get some feedback, and 3.7 goes Gold

Release Information
1.0.0 Initial release for 3.7 ported over from 3.6.8 version

R1lover 03-17-2008 12:53 AM

I'll give it a shot... thank you very much!

R1lover 03-17-2008 01:00 AM

I just tested this as much as I could with the iPhone and it works awesome!

Very well done!

Nominated too!

NeuroLancer 03-17-2008 01:14 AM

Great :up:

5 stars and nominated also.

R1lover 03-17-2008 01:19 AM

Well I may have a little issue... it seems I can't change skins now on Firefox or IE7.

any ideas? www.exactservers.com is the test site.

R1lover 03-17-2008 01:29 AM

Ok, I had to include Firefox and IE in the excluded list at the bottom in order to change skins from the default now.

I'm not sure this is a good thing as there are many browsers and I'm not sure the proper name for all of them to insert here?

would IE7 be just like that? what about IE6?

Edit... I was able to turn off :user defined detection" and now it works perfect.

dartho 03-17-2008 01:30 AM

G'day R1lover,

This add-on Forces the style on visitors - with this installed and enabled users of mobile devices are no longer able to select their own styles.

It should not affect people browsing from a PC - only mobile devices - and you should need to add exclusions for browsers such as INternet Explorer or Firefox etc.

If this is a bug introduced in the porting from 3.6 to 3.7 I'd be interested in following up to make sure it's working as designed.

Thanks

R1lover 03-17-2008 01:31 AM

Quote:

Originally Posted by dartho (Post 1466651)
[Edit: Just read your followup post - replying now]

...

Hello, thank you.... I was able to turn off the user defined option I listed above and it works perfect.

dartho 03-17-2008 01:38 AM

Excellent, happy to hear it's working as it should!

User defined is for if you find a user with a mobile device which is not detected by this addon - you can then check their user-agent string and add it into the user defined list. If this does happen, you can let me know here and I will update the add-on accordingly.

mariocaz 03-17-2008 04:46 AM

Dartho,

What are the differences in this version and the one of 3.6.8 ?


All times are GMT. The time now is 03:26 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.01345 seconds
  • Memory Usage 1,740KB
  • 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_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