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)

dartho 10-18-2007 08:42 PM

@ Endurer - No, if you allow users to select their own style then they will also be able to select any mobile style you have installed.

On my site I don't allow users to choose their own style - this add-on will still work and force a 'mobile' style on them when a mobile device is detected.

@Aidden - I should be able to do something with an ipod option today - I'll look at adding some user defined custom entries too

dartho 10-19-2007 02:24 AM

New 2.1.3 Version Released

Added in iPhone/iPod as a seperate category.
*Added in ability to add user defined useragent strings.

This can be used for assigning a style to specific mobile devices, or even to specific web browsers, search engines or any 'visitor' to your site which has a unique user agent string.

I've only done limited testing - could any iphone/ipod users confirm things are working as expected?

Thanks

Aidden 10-19-2007 03:07 AM

Doesn't seem to be working for my iPod.

I completely removed my previous modified code. installed the new, and now my iPod seems to be hitting the mobile style.

dartho 10-19-2007 03:51 AM

Could you post the user agent string ? (check in Online Users with User Agenst enbled) This hack checks for the strings: "iPhone" or "iPod"

If I visit your site with a spoofed UA of 'Ipod' I *do* get your "iPhorum"

thanks

principino1984 10-19-2007 06:14 AM

great hack man! installed right now! I'm gonna personalize it a little in the next few days ;)

puertoblack2003 10-21-2007 01:24 AM

not workin for me when i upgraded like the mobile and pda its not switching over to assigned style..going back to old version which it was working fine.

dartho 10-22-2007 12:50 AM

oops! There was a issue with matching multiple categories, as such ipods were detected as generic mobile devices.

This should now be fixed in version 2.1.3b (double check the version number after upgrading) :up:

357Magnum 10-26-2007 08:51 AM

why isnt the link working to DL??

mano1.com 11-15-2007 08:03 PM

(edit: NEVERMIND it works! :) great work! thank you)

da_judge 11-16-2007 09:39 PM

Bloody good this... helped me loads as im always out and about... nice work


All times are GMT. The time now is 11:56 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.01870 seconds
  • Memory Usage 1,731KB
  • 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)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