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 |
#312
|
|||
|
|||
I can and will, but in the mean time if you choose to ignore version when installing, it should work fine .
|
#313
|
||||
|
||||
Quote:
|
#314
|
|||
|
|||
great mod, marked as installed!
|
#315
|
|||
|
|||
Quote:
Regards Jason |
#316
|
|||
|
|||
I've got this installed and working on both 3.7.0 b4 and 3.6.4, however even with PDA detection enabled (and redirected to the proper style), my iPAQ hw6515 (running Windows Mobile 2003) is still displaying the default forum style.
Edit #1: My iPhone properly detects and displays the mobile style, but so far another other devices seem to fail. Edit #2: I've narrowed it down to a conflict with my default style (or so it seems). If I navigate to this subforum with a mobile device, the mobile skin displays. The default skin for that forum (and all subforums within it) is different from the forum home and the rest of the forums. Navigate to those other forums and you get the default skin, not the mobile skin. So apparently there is something in my default skin that is causing the mobile detection to fail. Any clues? |
#317
|
|||
|
|||
Could be a conflict with another add-on you have installed. Try modifying the "Detect Mobile Device" plugin and change it's execution order to 10. If that doesn't work, try 1. If that doesn;t work chgange back to 5 and let us know
|
#318
|
|||
|
|||
Hi dartho,
I want to install your great mod, but I have a little question. If I install it, also I have to install another skin for the mobile phone, pda, etc., I have right now 3 skins in my forum and when I install a mod sometimes I have to edit the template files of my 3 skins (lost of work), so if I have another skin to use this mod, also will I have to install all the mods that I have in this skin ??, I hope not because install mods now in 4 skins will be a little hard for me. thank you my friend, maybe my question is stupid, but I want to be sure of that. cheers, Mario |
#319
|
|||
|
|||
Quote:
It works fine on this site, but not this site (it doesn't detect Windows Mobile). |
#320
|
|||
|
|||
mariocaz - usually you will not want to make template changes to mobile styles. The templates are totally different, and quite probably will not work. But yes, you will need to make changes to templates in all styles.
GetGamer - I'm not sure, there must be a conflict somewhere, if you PM me an admin accoiunt with the ability to edit pugins I could have a look? |
#321
|
|||
|
|||
So if I install a mobile style and leave like that (original) without any modification of all my mods that I have installed and also the future mods.
The skin(style) will work fine like that ? Thank you again. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|