The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Mobile Device Style Assignment Details »» | ||||||||||||||||||||
This is my first released hack, be nice.
This hack will detect when a mobile device connects to your site and allow you to override the default style/skin with one you specify. Just install the product-file and set which style is your mobile device style via the AdminCP. Has been tested with several 3.6.x versions up to 3.6.8 I am also releasing a skin I wrote (it is based on vbmechanics Alabama skin, so updated or modified would be a more accurate description) for my own needs - it could probably be tidied up a lot more, but it works for me - take it as it is, I may offer limited support for this skin if I get time (no promises), and feel free to offer suggestions. Mobi - My super light skin is probably the one to go for, it has much greater functionailty. =Install Instructions= Go to Plugin System, Manage Products in your AdminCP and click Add/Import Product link at the end of the page Browse for the product-mobile_enabled36-x.x.x.xml product file and click 'import' Refresh your admincp page and in VBulletin Options, select the settings for 'Mobile Device Detection' Change the styleid of your mobile skin in "Mobile Device Style" to the StyleID number of your mobile device skin Change the styleid of your PDA skin in "PDA Device Style" to the StyleID number of your PDA device skin Your mobile/pda skin must be user selectable (although you can disbale the ability for users to change styles in vBulletin Options) Thats it! =Upgrade Instructions= Go to Plugin System, Manage Products in your AdminCP and click Add/Import Product link at the end of the page Browse for the product-mobile_enabled36-x.x.x.xml product file Choose to overwrite Click 'import' Re-configure Styleid of mobile/pda skin if required VERSION 1.0.7a Based on initial release - supports assigning one alternative style to ALL detected mobile devices VERSION 2.1.2 Now allows the addition of exceptions and also specifying a skin for Pocket PCs (Windows CE devices) and a skin for all otehr detected mobile devices. I've also released a very light skin HERE which is great for cell/Mobile phones LAST UPDATE 22-October 2007 VERSION 2.1.3 - removed, small bug VERSION 2.1.3a
To upgrade, simply overwrite product - your existing settings should be preserved. I've left the previous version available for download - to get the new version, download and install the attached XML **BACKUP YOUR DB BEFORE INSTALLING** Other Mobile / Lite Skins: Mobile - My super light skin iPhone / iPod Touch Optimised Style Alabama VBLite WAP Plugin - this is a similar product and skin which I didn't find till after I'd made this one - it seems to be more directed at WAP devices as opposed to all Mobile Devices, and appears to no longer be supported, but worth having a look at. Remember to click install and give a rating :up: keywords: Mobile, PDA, Autodetect, Autoselect, WAP, Skin, portal, cell, phone, iphone 3.7 Version Here Show Your Support
|
Comments |
#82
|
|||
|
|||
Should be easy to fix... - are you able to let me know the user agent string for the people who are having issues?
|
#83
|
|||
|
|||
Never mind - I think I found the issue, new version released.
|
#84
|
||||
|
||||
are you going to release the modded style that you use for 3.6.x?
|
#85
|
|||
|
|||
worked... thank you!
|
#86
|
|||
|
|||
Quote:
Quote:
|
#87
|
|||
|
|||
None of those useragents should trigger this hack to select the mobile skin.
If you had to uninstall the skin as well as the mod, I would think that the mobile skin you installed was being selected as default? Also be aware that as an admin, if you manually select the mobile skin you will ALWAYS get the mobile skin until you select another. To test this mod, fully, it would be best to make sure you arelogged off logoff so that you are viewing the site as a guest, and perhaps use a dummy user account also to test. Did you test on my site at www.thewholeforce.com ? Sorry I can;t offer a solution, but as yet I am unable to find the cause of your problems... |
#88
|
||||
|
||||
Tested www.avforums.com/forums/index.php with this hack, but this hack doesn't work.
Your site works fine. I'm usinga Nokia N73. Any ideas before I give up? |
#89
|
||||
|
||||
I really need a hack that will allow me to force users using IE6 to use one style and everyone else to use a different style.
Could this be used for that? James |
#90
|
|||
|
|||
Try the attached. This WILL NOT work in conjunction with the Mobile Detect hack - I should be able to integrate though - let me know how it goes
|
#91
|
||||
|
||||
Thanks for a wonderful hack, dartho... that older "WAP detector" was unsupported and never really worked right for me.
I ended up putting manual links in subscription emails (with "?styleid=9" appended) saying, "To view this thread more easily on a smartphone or PDA, click here." Your mod is much nicer and cleaner, obviously. So thanks for sharing. :up: Quote:
The complete Safari user-agent string running on a PPC processor is: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/XX (KHTML, like Gecko) Safari/YY and on an Intel processor is: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/XX (KHTML, like Gecko) Safari/YY |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|