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 |
#612
|
|||
|
|||
Quote:
|
#613
|
|||
|
|||
dartho,
how to fix this? Quote:
*it doesn't work |
#614
|
|||
|
|||
Quote:
thenamesgould worked out how to reproduce this - it only happens when the user uses full WYSIWIG editor (as set in UserCP). Found a template only way to resolve: Edit the editor_ckeditor temaplte and replace contenst with: HTML Code:
<div id="{vb:raw editorid}"> {vb:raw ckeditor} </div> <input type="hidden" name="wysiwyg" id="{vb:raw editorid}_mode" value="{vb:raw editortype}" /> Code:
body { Code:
.hidden {display:none;} The following superceded by above, but kept here for reference [s] A quick fix is to add a plugin as follows: Title: Lightweight Style - Set Editor Mode to Standard (bugfix) Hook: style_fetch (there could be a better place, but this works) Order: 5 Code: PHP Code:
There is probably another way, and I'll look into it - but for those that want a fix now, tis is it.[/s] |
#615
|
|||
|
|||
Edit the tagbit_wrapper template and replace it's contents with:
HTML Code:
<vb:if condition="$tag_list"> <vb:each from="tag_list" value="row"> <a href="tags.php?{vb:raw session.sessionurl}tag={vb:raw row.url}">{vb:raw row.tag}</a>{vb:raw row.comma} </vb:each> <vb:else /><i>{vb:rawphrase none}</i></vb:if> |
#616
|
|||
|
|||
See 2 posts up for template only way to reolve errant <br />'s turning up when quoting - I just edited the post, no plugin required
|
#617
|
|||
|
|||
Quote:
it's works on me |
#618
|
|||
|
|||
|
#619
|
|||
|
|||
Thanks again, dartho.
|
#620
|
|||
|
|||
I haven;t forgotten you - it's just that I've been fixing style bugs - your request is not related to this style as such. Having said all that - I'll try and point you in the right direction - To strip all HTML tags from posts for a specific style ID, create a plugin as follows: Product:vBulletin Hook Location: Postbit Disaply Complete Name: Strip HTML from Mobile Style Posts Execution Order:5 Code: Code:
if (STYLEID=='n') { $post['message']=strip_tags($post['message'],'<br><a>'); } the bit in teh code with teh <br><a> is HTML tags you wish to allow, if you want images, add in <img>, if you want <stong> add it in etc. Google php strip_tags |
Благодарность от: | ||
tafreeh |
#621
|
|||
|
|||
Just want to chime in and say thanks for this. All my users prefer this significantly over the built in mobile style.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|