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: May 2023 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: 6297
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:	41894
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 10:07
Forum Display Enhancements Mobile Phone / iPhone / PDA Detection and Style Assignment dartho vBulletin 3.7 Add-ons 407 19 Mar 2015 14:53
Mobile, Cell, Phone, PDA, iPhone Style dartho vBulletin 3.7 Styles 795 16 Aug 2012 13:39
Mobile/Cell Phone Style dartho vBulletin 3.6 Styles 313 21 Aug 2011 22:04

  #1081  
Old 22 Jul 2014, 16:43
Twikitero Twikitero is offline
 
Join Date: Aug 2010
Originally Posted by Mark.B View Post
The code in red below causing your issue:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
I'm trying to find the code but can not find it in any template
Reply With Quote
  #1082  
Old 22 Jul 2014, 16:46
Mark.B Mark.B is offline
 
Join Date: Feb 2004
It might not be in a template, in fact I'd suggest it probably isn't, since it'd be pointless setting a min-width like that on a mobile style.

I'd start with your plugins, see if anything is adding it there. Also check the css file that comes with this style, make sure nothing has been altered in there.

My guess is that something is applying this min-width value with the intention of it applying to the normal desktop style, but it is also affecting the mobile style. Hence why a plugin could be the culprit.
__________________
MARK.B (Member of the vB Support Team)
Reply With Quote
  #1083  
Old 22 Jul 2014, 17:01
Twikitero Twikitero is offline
 
Join Date: Aug 2010
The problem I've seen is that when they enter the forum style can not completely load automaticaly, I pulse "Desktop version" and therefore selected the Lightweight style manually and load perfectly.
I am desperate to fix this, and not know what else to edit
Reply With Quote
  #1084  
Old 22 Jul 2014, 18:01
Twikitero Twikitero is offline
 
Join Date: Aug 2010
I think it is solved.
The problem was this option
http://i.gyazo.com/ea170c29140dc3d4962753cfe75803b1.png
I Was enabled this option, disable it and I think now if you load the Lightweight style perfectly

Does someone could come to my forum from mobile and check if it is working well the dimensions ? Mark.B Thanks for your help.
Attached Images
File Type: jpg ea170c29140dc3d4962753cfe75803b1.jpg (23.0 KB, 21 views)
Reply With Quote
  #1085  
Old 22 Jul 2014, 18:12
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Looks perfect now...glad you got it sorted.
__________________
MARK.B (Member of the vB Support Team)
Reply With Quote
  #1086  
Old 22 Jul 2014, 18:14
Twikitero Twikitero is offline
 
Join Date: Aug 2010
Originally Posted by Mark.B View Post
Looks perfect now...glad you got it sorted.
Ok I appreciate much your help, thanks.
It seems incredible that a simple option was burning me so much lol
Thanks
Reply With Quote
  #1087  
Old 24 Jul 2014, 20:17
Twikitero Twikitero is offline
 
Join Date: Aug 2010
Someone know any way to add the latest forum topics and replies?
Would be great if this was implanted in a Light version
Thanks!!!!
Reply With Quote
  #1088  
Old 01 Aug 2014, 06:29
dartho dartho is offline
 
Join Date: Sep 2005
Not sure how compatible this stuff is, but this may work:

edit your CSS file and add:


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

alternatively you could edit the editor_ckeditor template and add the following to the top


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


then edit the pm_newpm template and 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 that might do it
Reply With Quote
  #1089  
Old 01 Aug 2014, 22:14
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Excellent, at last I can quote PMs in your skin.

It works, at least for me.
Reply With Quote
  #1090  
Old 15 Aug 2014, 10:43
broncoshq broncoshq is offline
 
Join Date: Feb 2012
Originally Posted by dartho View Post
ain't nothing I can do if I don't know what you are talking about. links to the hacks you are asking about would go a long way ...




No it's not, it's a real benefit for me. Means hacks in the full style don;t get in the way on mobile devices. Just put the hooks and code that you need for hacks in the appropriate templates.



tareqbd - re your PM, I'm not sure without manually looking through the templates which I'm sure you are capable of doing
I appreciate your reply, while coming across quite hostile, I understand where you are coming from.

I thought DB Tech was quite well known, so didn't think I would need a link sorry. The addon my users request the most is DB Tech Advanced Likes/Thanks (http://www.dragonbyte-tech.com/produ...t-thanks-like/)

I appreciate the advice in regard to adding the hooks, and things of that nature. Unfortunately that is outside of my skill set. Hence I asked the question. I'm sorry if it bothered you in some way.
Reply With Quote
  #1091  
Old 14 Sep 2014, 23:07
Azum Azum is offline
 
Join Date: Jun 2013
Great style, anyone added tabs to the member.php (view profile) yet?

Last edited by Azum; 14 Sep 2014 at 23:21.
Reply With Quote
  #1092  
Old 14 Sep 2014, 23:41
Azum Azum is offline
 
Join Date: Jun 2013
Question, if you allow style choices, will this override the choice with the default style every time the user logs in on a non-mobile device?

Originally Posted by dartho View Post
vBulletin messed things up for this style when the seperated mobile and standard styles.

If you want to use VB detection and simply apply one style to advanced mobile devices, one style to basic mobile devices and a default style to everyone and allow people to select their own style (assuming they are already allowed to do this on your site) and still allow admin to pick any style they want, the following should do it.

Create a plugin on style_fetch with the following code being sure to enter in teh styleids you want for mobile, advanced mobile and default styles:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Reply With Quote
  #1093  
Old 17 Sep 2014, 14:53
dartho dartho is offline
 
Join Date: Sep 2005
i think it will give them whatever they have chosen
Reply With Quote
  #1094  
Old 17 Sep 2014, 15:12
Azum Azum is offline
 
Join Date: Jun 2013
I found that just using the below by itself along with built in VB mobile detection works fine. There was no need for the plugin.

Originally Posted by dartho View Post
If you wanted to make this simpler, and don;t mind going into debug mode on your site, you could edit the Option Code for Mobile Style boxes in AdminCP so that all styles (both mobile and standard) show up and then you could replace the styleid numbers in the plugin above with $vbulletin->options['mobilestyleid_basic'], $vbulletin->options['mobilestyleid_advanced'] and $vbulletin->options['styleid'] then if you changed styles down the track you wouldn;t need to edit the plugin by hand. You would still need the above plugin to make it work.

To do this change the Option Code to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Reply With Quote
  #1095  
Old 17 Sep 2014, 23:00
Azum Azum is offline
 
Join Date: Jun 2013
Small contribution for deleting PMs. The code provided almost works, but need to change it to:


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

Originally Posted by dartho View Post
Adding something like:

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

to the bottom of the pm_showpm template should do it, I think ...
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 06:48.

Layout Options | Width: Wide Color: