The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) Details »» | |||||||||||||||||||||||||||||||||||||
Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android)
Developer Last Online: Oct 2023
A lightweight *forum only style aimed at small screen devices such as Windows Smartphones, Nokias and even iPhones. It has VERY low bandwidth requirements - 15 times less on my site - 20K as opposed to 300K for forumhome.
*forum only - I have done a very small amount of rough work on CMS templates, a simple single column CMS *could* be created to work with this style without too much effort. However I am not sure if you can have a different CMS layout dependent on which style you are using? This is an update to the mobile style I have previously released. The changes are predominantly aesthetic to take advantage of larger screens. It is also much easier to change colour schemes by editing the commented CSS file. Demo: http://vbdev.org/forum.php?styleid=7 This is a a lightweight style and as such has much reduced functionality/information over the default vBulletin style. Install instructions:
1.0.0 - 25 AUG 2010 - Initial Release on vBulletin.orgBranding Free: The style is free to use. However I ask that you keep links in the footer. If you want to remove them - send me a donation of an amount you can afford, or that you think is fair/reasonable, it's up to you how much. Download Now
Screenshots
Show Your Support
|
15 благодарности(ей) от: | ||
akool, BlueCheri, Bounce, CAG CheechDogg, ejup2009, Filgga, Hostboard, James Argo, jramos1973, K4GAP, Muniesa, Sayid, too_cool_3 |
Comments |
#332
|
|||
|
|||
Quote:
Now everything is working fine, thank you for your suggestion and your work. Your mobile style is really the best for vbulletin sites. |
#333
|
|||
|
|||
@NgocTam
Try pasting this into the bottom of your header template in this style: Code:
<script type="text/javascript"> function fixImgs(maxW) { var pix=document.getElementsByTagName('img'); for (i=0; i<pix.length; i++) { w=pix[i].width; h=pix[i].height; if (w > maxW) { f=1-((w - maxW) / w); pix[i].width=w * f; pix[i].height=h * f; } } } function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } addLoadEvent(function() { fixImgs(200); // Change this value to change maximum image width }); </script> |
#334
|
|||
|
|||
Compiled and optimised:
Code:
<script type="text/javascript"> function fixImgs(b){var a=document.getElementsByTagName("img");for(i=0;i<a.length;i++)if(w=a[i].width,h=a[i].height,w>b)f=1-(w-b)/w,a[i].width=w*f,a[i].height=h*f}function addLoadEvent(b){var a=window.onload;window.onload=typeof window.onload!="function"?b:function(){a&&a();b()}}addLoadEvent(function(){fixImgs(200)}); </script> |
#335
|
||||
|
||||
Hello Every one
very nice style thanks best regrad's |
#336
|
|||
|
|||
Desktop/PCMode link does not seem to work with VB 4.1.3, every time user switches to Desktop Style, clicking any forum link causes style to switch back to Mobile/Lightweight style. I just changed default style chooser to have 'none' option with value '-1', similar to what VB mobile style uses to switch back to full style.
Code:
<setting varname="ls_default_style" displayorder="20"> <datatype>free</datatype> <optioncode>select:eval $options = fetch_style_title_options_array();$options = array('-1' => $vbphrase['none']) + $options;</optioncode> </setting> |
#337
|
|||
|
|||
Thanks for the update dartho. The image resizer code works good.
|
#338
|
||||
|
||||
Quote:
|
#339
|
|||
|
|||
Good work around for 4.1.3, tadukuttan. I notice vbulletin.com also does this, choosing a styleid of -1 is the only way to break out of their mobile device detection so I think your solution is probably the fix - although I'd use text "Default Style" as opposed to "none"
|
#340
|
|||
|
|||
I just upgraded VB to 4.1.3, from 4.1.1, and tried to upgrade the style, but get the following error.
Invalid File Specified I have uninstalled the style, and tried a fresh install, bu tI still get the same error. Any idea?? |
#341
|
|||
|
|||
Have you tried re-downloading the zip and extracting it to a new location on your local computer before importing via the Style Manager?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|