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 |
#772
|
|||
|
|||
search headinclude template for
Code:
<script type="text/javascript"> /* This script and many more are available free online at The JavaScript Source!! http://javascript.internet.com Created by: Cat Arriola | http://astrodiva.journalspace.com/ */ 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; } } } // Multiple onload function created by: Simon Willison // http://simonwillison.net/2004/May/26/addLoadEvent/ 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); // ('element ID', maximum width) }); </script> Code:
<script type="text/javascript"> <!-- /* This script and many more are available free online at The JavaScript Source!! http://javascript.internet.com Created by: Cat Arriola | http://astrodiva.journalspace.com/ */ 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; } } } // Multiple onload function created by: Simon Willison // http://simonwillison.net/2004/May/26/addLoadEvent/ 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); // ('element ID', maximum width) }); --> </script> Code:
<script type="text/javascript"> <!-- function addLoadEvent(a){var b=window.onload;if(typeof window.onload!="function"){window.onload=a}else{window.onload=function(){if(b){b()}a()}}}function fixImgs(a){var b=document.getElementsByTagName("img");for(i=0;i<b.length;i++){w=b[i].width;h=b[i].height;if(w>a){f=1-(w-a)/w;b[i].width=w*f;b[i].height=h*f}}}addLoadEvent(function(){fixImgs(200)}) --> </script> |
#773
|
|||
|
|||
Quote:
The style not sticking apparently is a known issue due to be fixed in 4.1.11 but will give your fix a go first, might be easier. but it's 11.30pm here so time for bed. Night and thanks for the help. |
#774
|
|||
|
|||
not working @ 4.1.10
|
#775
|
||||
|
||||
Quote:
my headerinclude it Code:
<vb:comment> <meta name="viewport" content="width=320,user-scalable=yes,initial-scale=1.0" /> </vb:comment> <meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="HandheldFriendly" content="true" /> <meta name="MobileOptimized" content="device-width" /> <meta http-equiv="Content-Type" content="text/html; charset={vb:stylevar charset}" /> <meta id="e_vb_meta_bburl" name="vb_meta_bburl" content="{vb:raw vboptions.bburl}" /> <vb:if condition="$show['threadinfo']"> <vb:elseif condition="$show['foruminfo']" /> <meta name="keywords" content="{vb:raw foruminfo.title_clean}, {vb:raw vboptions.keywords}" /> <meta name="description" content="<vb:if condition="$pagenumber > 1">{vb:rawphrase page_x, $pagenumber}-</vb:if>{vb:raw foruminfo.description_clean}" /> <vb:else /> <meta name="keywords" content="{vb:raw vboptions.keywords}" /> <meta name="description" content="{vb:raw vboptions.description}" /> </vb:if> <link rel="stylesheet" href="{vb:raw vboptions.bburl}/lightweight.css.php" type="text/css" /> <base href="{vb:raw vboptions.bburl}/" /> |
#776
|
||||
|
||||
@ Hippy, Could you please list / put all your and moof's edits currently required in one new post with instructions and everything? So we all can use that until vBulletin 4.1.11 fixes these issues. It should also make it easier for Dartho to update his style and make the necessary changes.
I have also had someone work on my mobile styles Homepage(as in the CMS home) and to be honest it looks very decent now, I will post my edits soon so some of you can get the cms home page working with your mobile style. |
#777
|
|||
|
|||
Hi Dartho
your suggestion to remove <base href="{vb:raw vboptions.bburl}/" /> from the headinclude didn't work I'm afraid. there is this vBulletin bug which has a fix, but I am unsure where to implement it in your code or even if it applies! Thanks for the header idea, I have since moved it down into some white space where pudgy fingers on a small screen can hit it without zooming. |
#778
|
|||
|
|||
Quote:
https://vborg.vbsupport.ru/showthrea...99#post2289299 |
#779
|
|||
|
|||
My bad, I was searching in templates, forgot to read the instructions.... Works now, ta muchly!
|
#780
|
|||
|
|||
not working on 4.1.10 saying its only for 4.1.8..
|
#781
|
|||
|
|||
Just click the option to ignore version when you're doing the import. Problem solved.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|