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 |
#52
|
|||
|
|||
On my Blackberry wap browser it does not work. It worked up until a couple of updates ago, but now it shows the default skin. I did re-upload the files, completely uninstall the product, and reset the style ID in the admin cp but still brings me to the default style.
|
#53
|
|||
|
|||
Could you double check the version number of this addon as 1.0.4 and if so, would you be able to log on with your Blackberry and then check "Whos Online" and select "Yes" to disaply UserAgent.
If you post the full user agent here (see attached) , I will double check the code. If you PM me a link to your site or put it here, I'll logon with my PDA and check if it works with other devices. |
#54
|
|||
|
|||
This mod only works when I'am logged in with administrator rights. If I make the style user selectable it works fine but that can't be right? I don't want my ordinary users to browse my site without the banners.
Do you know of any styles that allows posting and posting files? I have tried the WAP style but it have some bugs. |
#55
|
|||
|
|||
sNator - I've not encountered that problem - got me stumped.... I will investoigate further, but it may not be a quick response.
As for other skins - theres bound to be some out there andI have been working on my own, but I'm yet to make the leap to 3.6.x beyond my test board soits only good for 3.5.x at the moment, and there is a lot of hard coded stuff for my site - not for for public release as yet. I was thining of paying a pro to write a skin, but then I'd have to sell the skin to recoup costs - if anyone is up for this (or wants to do it them self!) they should post here! |
#56
|
|||
|
|||
sNator - I can't recreate this on my test site - a fresh 3.6.4 install using this hack and Zachary's style - from my PDA. As a guest, and logged in as a user and as an Admin all give me the mobile style expected...
Any other plugins in the GLobal Start section which might be interfereing? |
#57
|
|||
|
|||
I works fine now, it could have been my phone who caused the problem.
I use the Alabama Mobile skin http://www.vbulletin.com/forum/showp...&postcount=202 which is really fast. Is it possible to prevent vbadvanced to be loaded somehow? |
#58
|
|||
|
|||
cool! I use a very modified version of teh 3.0.x alabama skin on 3.5.4 - it is VERY good, but I didn't think all the functions woked on 3.6.x... I didn't realise there was a 3.5.x version released also!
I'll integrate this with my customisations and post up here I'll post some stuff later (its midnight here) on how to make vbadvanced play nice. |
#59
|
|||
|
|||
for vbadvanced - I just edited the adv_portal template and removed the side columns - I still show my centre vbadvanced column under the mobile style - here's my adv_portal template:
Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title> $headinclude </head> <body> $header $navbar <table align="center" class="page" cellspacing="0" cellpadding="0" width="100%"> <tr valign="top"> <if condition="$show['center_column']"> <td valign="top"> $home[centerblocks] </td> </if> </tr> </table> $footer </body> </html> |
#60
|
|||
|
|||
Works like a champ, just tested it with my cell.
|
#61
|
|||
|
|||
Nice Mod
Quick question How can I move it in Admin CP so its below the Vbulletin options ? Ive tried changing the xml but every time I do it breaks it Thanks Doug |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|