Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) Details »
Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android)
Mod Version: 1.0.3, by dartho (Coder/Designer) dartho is offline
Developer Last Online: Aug 2022 I like it Show Printable Version Email this Page

vB Version: 4.1.8 Rating: (96 votes - 4.81 average) Installs: 895
Released: 25 Aug 2010 Last Update: 16 Dec 2011 Downloads: 6287
Not Supported Re-usable Code  

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:
  • Firstly, if upgrading, I recommend installing this as a new style rather than overwriting your previous install. This way you get to test it first without trashing your existing style.
  • BACKUP YOUR EXISTING lightweight.css.php FILE IF YOU HAVE CSS CUSTOMISATIONS
  • Download ZIP file
  • Unzip to a local/temp directory
  • Edit lightweight.css.php file to customise colours if required
  • Upload contents of the upload directory in the zip file folder to your forum root.
  • Install style XML via Style Manager in your ADMINCP
  • **Install and configure "LightWeight Style Options"
  • See post 2 for a FAQ
  • Click "Mark as Installed"
  • Test it out
  • Leave a rating
  • Leave feedback
  • Enjoy checking your site from your mobile phone without the need to pinch/zoom/wait etc...
Version Control:
1.0.0 - 25 AUG 2010 - Initial Release on vBulletin.org
1.0.1 - 26 AUG 2010 - Fixed "Mark All Forums Read" link in Search results. Released Lightweight Style Options to customise this
1.0.2 - 21 MAR 2011 - Updated to 4.1.2, removed short tags from CSS, fixed some issues discovered since last release, added some stuff.
1.0.3 - 16 DEC 2011 - Updated to 1.0.3, tried to fix all known issues. Nothing new. If you have updated your site as bugs have been found, probably no need to upgrade. But if you're upgrading your site from to 4.1.9, might be worthwhile.
1.0.3a - 16 DEC 2011 - remove test ad hook code accidently left in postbit_legacy template
Branding 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

Only licensed members can download files, Click Here for more information.

Addons

Screenshots

Click image for larger version

Name:	lightweight-screenshot.png
Views:	41848
Size:	30.6 KB
ID:	121268  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Mobile Phone / iPhone / PDA Detection and Style Assignment dartho vBulletin 3.8 Add-ons 148 25 Jan 2023 11:07
Forum Display Enhancements Mobile Phone / iPhone / PDA Detection and Style Assignment dartho vBulletin 3.7 Add-ons 407 19 Mar 2015 15:53
Mobile, Cell, Phone, PDA, iPhone Style dartho vBulletin 3.7 Styles 795 16 Aug 2012 14:39
Mobile/Cell Phone Style dartho vBulletin 3.6 Styles 313 21 Aug 2011 23:04

  #871  
Old 14 Apr 2012, 12:35
tambo's Avatar
tambo tambo is offline
 
Join Date: Aug 2008
I've got this running, but I was wondering if it is possible to move the lightweight.css.php file to another location, rather than root?

Would I have to edit something in the templates or xml file?

Why would I want to ask this? Not all Admins on our board have root access, but access to different parts of the server, based on their interests/expertise. It would be good to give the person responsible for styling access to the CSS file, without giving them root access.

EDIT: Never mind. I got it.

Use 'Replacement Variable Manager' in ACP.

Replace:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

...and then move the lightweight.css.php file to that location.

You'll then need to edit the CSS file 'Logo Image Location' to locate the logo image from root (as it's no longer relative). So, in my case:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

...or wherever you want to put it. There's probably an easier way.

Great mod by the way. Very impressive.

Last edited by tambo; 14 Apr 2012 at 13:19.
Reply With Quote
  #872  
Old 15 Apr 2012, 05:22
etca etca is offline
 
Join Date: Feb 2011
dear dartho,

how to fix this? my vbul. 4.1.12
1. on 4.1.12, clicking quote on mobile style wont include the quoted message.
2. empty page, there are no 1, 2, 3 ... . see the attachment.
Attached Images
File Type: jpg Capture20_18_40_1.jpg (66.4 KB, 4 views)
File Type: png SkitchImage0.png (31.8 KB, 8 views)

Last edited by etca; 17 Apr 2012 at 23:23. Reason: attach pic
Reply With Quote
  #873  
Old 17 Apr 2012, 00:44
dartho dartho is offline
 
Join Date: Sep 2005
I just updated my test site (vbdev.org) and have none of the problems reported above? Anyone else?

@Semprot - if you want to try and add reputation, the button code would be something like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #874  
Old 18 Apr 2012, 10:09
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by semprot View Post
if i upload lightweight style as normal style (i didnt select mobile as parent), quote is working, but it wont appear on "Style & Language Settings" >> "Default Style for Old Mobile Browsers"
You could use http://www.vbulletin.org/forum/showthread.php?t=249339, I have it installed and there you could set this style as default.

I tested it on computer, not mobile phone, so I'm not sure that this style will actually get selected for mobile devices.
Reply With Quote
  #875  
Old 18 Apr 2012, 21:11
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
Originally Posted by semprot View Post
More update :
  • if i upload lightweight style as normal style (i didnt select mobile as parent), quote is working, but it wont appear on "Style & Language Settings" >> "Default Style for Old Mobile Browsers"
  • If i upload it as mobile style, quote is not working, but it will appear on "Style & Language Settings" >> "Default Style for Old Mobile Browsers".
Yip, quotes dont work if style is parent of mobile styles default

does work if it has no parent.
__________________
Thanks for your help

J
Reply With Quote
  #876  
Old 19 Apr 2012, 21:26
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
cancel that, i still dont have this working
__________________
Thanks for your help

J
Reply With Quote
  #877  
Old 20 Apr 2012, 11:02
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Strange. I installed as new style, after that I deleted old one. Quoting works for me, only I changed phrase from reply to reply_with_quote (postbit_legacy).

I didn't noticed problems so far, but it's still too early to tell for sure that there are no problems.
Reply With Quote
  #878  
Old 21 Apr 2012, 23:07
etca etca is offline
 
Join Date: Feb 2011
Originally Posted by semprot View Post
still having problem with quote?
I suggest you to delete old lightweight style & re-add it with non-mobile no-parent.
thx. solved on my prob
Reply With Quote
  #879  
Old 24 Apr 2012, 12:14
The Rocketeer's Avatar
The Rocketeer The Rocketeer is offline
 
Join Date: Jun 2010
Hi, I think we are finally ready to move on to the default vBulletin theme, But before that I wanted to share the vB CMS Article pages, I saved these two files, AFAIK this worked well with our CMS and should work with your too.

All the best and thanks for the Style and effort.
Attached Files
File Type: txt vbcms_content_article_page.txt (13.4 KB, 22 views)
File Type: txt vbcms_content_article_preview.txt (3.1 KB, 15 views)
Reply With Quote
  #880  
Old 27 Apr 2012, 13:53
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
I have the vB Mobile Style as default in 4.1.12 PL1.

However, at least one member is expressing an option to use this mobile style instead.

Two questions:

1. If I add this as a mobile style it shows a number of uncached templates. How can I fix this? (If I add it as a new full style, the templates are cached but that seems like it would be confusing to users.)

2. There seems to be no way to make this the default mobile style now that the vB Mobile Style is installed, and in either this mobile style or the vB Default Mobile Style, there seems to be no way to choose an alternate mobile style - just mobile or full forum default style. How can I add this as an option?
Reply With Quote
  #881  
Old 28 Apr 2012, 14:43
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Just two posts before yours is answer: http://www.vbulletin.org/forum/showp...&postcount=888

Install this mod and you'll be able to set this style as default for mobile devices. Just turn off vB's default system for setting default mobile style for mobile devices.
Reply With Quote
  #882  
Old 28 Apr 2012, 15:03
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
But I don't want to disallow users from using the vBulletin mobile version. I just want to add the option for mobile users to select this one.

I have the Suite. Now the CMS doesn't get a lot of use and blogs are currently disabled so the forum is the main focus, but this style, unlike the vBulletin mobile style, doesn't provide for anything but the forum.

Suggestions?
Reply With Quote
  #883  
Old 29 Apr 2012, 10:34
dartho dartho is offline
 
Join Date: Sep 2005
Originally Posted by djbaxter View Post
I have the vB Mobile Style as default in 4.1.12 PL1.

However, at least one member is expressing an option to use this mobile style instead.

Two questions:

1. If I add this as a mobile style it shows a number of uncached templates. How can I fix this? (If I add it as a new full style, the templates are cached but that seems like it would be confusing to users.)

2. There seems to be no way to make this the default mobile style now that the vB Mobile Style is installed, and in either this mobile style or the vB Default Mobile Style, there seems to be no way to choose an alternate mobile style - just mobile or full forum default style. How can I add this as an option?
1. Uncached templates are from vBulletin removing templates that are in teh non-mobile default (or more correctly MASTER) style. It would seem they then proc3eed to hide these templates form the style manager I think the way to reolve this would be to deleted those templates from the XML file before installing it.

2. On my test site I can happily select both this style and vBulletins Mobile style as default style for both old and/or modern mobile browsers?

In order to have links to other mobile styles, you will need to make edits to templates (probably footer) and add in links there. It would appear that vBulletin have removed the style chooser code from the mobile styles? A plugin would have to be written to create this or you may be able to manually add the code to your style.

A plugin could also be conceivably written to detect visitors viewing your CMS from this style and flick them over to vBulletins style?
Reply With Quote
  #884  
Old 29 Apr 2012, 12:34
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by djbaxter View Post
I have the Suite. Now the CMS doesn't get a lot of use and blogs are currently disabled so the forum is the main focus, but this style, unlike the vBulletin mobile style, doesn't provide for anything but the forum.
Actually it does. You can look at CMS, Blog, I even look at VaultWiki articles with this style. It is not optimized, but it is usable. Test it yourself. Add direct links in navbar manually as I did and you'll see that it works.
Reply With Quote
  #885  
Old 30 Apr 2012, 04:32
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by Alan_SP View Post
Actually it does. You can look at CMS, Blog, I even look at VaultWiki articles with this style. It is not optimized, but it is usable. Test it yourself. Add direct links in navbar manually as I did and you'll see that it works.
Thank you. I'll look into this further...

However, even with the Options add-on installed, my iPhone will not select this style as default unless I fully delete the vBulletin Default Mobile Style. Setting the vBulletin Stytle options to "None" for Mobile does not work.

Does that correspond with your experience?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:08.

Layout Options | Width: Wide Color: