vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=263822

Lightweight Style for VB3.8.7 iPhone/Mobile/Cell/PDA
by dartho
18 May 2011 06:01

4 Attachment(s)
A few have asked for this, hope you like it.

As the title suggests, this is a lightweight style for vBulletin 3.8.7 (and probably most versions before that - A quick test showed it also working under vBulletin 3.7.7!)

It's lightweight (low bandwidth) and works well on most handheld / mobile devices. Some have been know to use it on their desktops and I personally use it for Google as a way of significantly reducing the bandwidth they use.

====================
Install Instructions
====================
  • Backup
  • Download and extract ZIP file locally
  • Upload contents of forum folder to your forum root
  • Go into your AdminCP->Style Manager->Download / Upload Styles
  • In the "Import Style XML File" section browse to "lightweight-vbulletin-3.8.7-style.xml" (extracted form the zip file)
  • If you are running a version of vbulletin other than 3.8.7, select Yes in "Ignore Style Version"
  • Click the "Import" button.
  • Edit the header template and change the 2nd line to reflect the Style ID of your default style and location of your home page (forum.php or index.php) and text for the anchor (Default Style).

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

  • Return to vBulletin.org and click "Mark as Installed"
  • Reply to this thread leaving feedback and a rating
====================
Release History
====================
18th May 2011 - 1.0.0 Initial Release
20th May 2011 - 1.0.1 Bug Fixes and enhancements
====================
Screen Shots
====================
http://www.vbulletin.org/forum/attac...1&d=1305693901 http://www.vbulletin.org/forum/attac...1&d=1305694377
====================
Branding Free
====================
If you wish to remove the branding/copyright notice from the footer - send me a donation of an amount you can afford, or that you think is fair/reasonable, it's up to you how much. (can't get much fairer than that) You can do this by clicking the "Support Developer" link above (a few lines below the "Mark as Installed" link).

====================
Bugs fixes for next release
====================
Issue:
extra "> in template forumhome_forumbit_level2_nopost
Resolution:
Search for

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

Replace with

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

Issue:
Inconsistencies in disaplying locked forums
Resolution:
See this post

Thanks.

BirdOPrey5 18 May 2011 13:20

This is great that you have updated this for 3.8.7 and are not leaving the 3.x series behind! Downloading now!

viper357 18 May 2011 14:09

Top class, looks very neat and smart, thanks. :) Just one thing I had to do different to your instructions was to have my Default Style a parent of this style to stop the random album images mod from displaying at the top. Apart from that everything else seems to be 100%

dartho 18 May 2011 14:25

Quote:

Originally Posted by BirdOPrey5 (Post 2197116)
This is great that you have updated this for 3.8.7 and are not leaving the 3.x series behind! Downloading now!

I still haven't upgrade to 4 yet, I think I'll stick with 3.8 for life :rolleyes:

I just (quickly) tested this, and it also works on 3.7

@Viper - you could also write a plugin to disable that add-on if this style is used:

Title: Disable Products For Lightweight Style
Hook:style_fetch

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

Edit - in the above, if it doesn't work, try the following code (one of them should work)

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


viper357 18 May 2011 14:43

Perfect, thanks Dartho. I'll give that a try.

BirdOPrey5 18 May 2011 15:10

dartho- I'm not following the logic of when a thread is highlighted in light blue in showthread and when its not. I know bold means unread but what does the highlight indicate?

Edit: Actually I'm not sure about the bold either...

Also with regards to the Default Style link, if you -or anyone interested- use this code it will keep the user on the same URL when changing back to the default style:

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


dartho 18 May 2011 15:19

If you link me up with an example, I could look. via PM is OK.
Worked it out. Not highlight is 'hot' new threads (thread_hot_new). I'll fix that up.

To fix, edit the CSS, search for

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

replace with

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

search for

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

replace with

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

Thanks for the code for default style link, I'll put that in.

BirdOPrey5 18 May 2011 15:48

Thanks. :up:

MikesSite 18 May 2011 16:11

Amazing! Can't wait to install. Thanks. Long live vB 3.X!!!!!

The Dawg 18 May 2011 17:13

Good stuff. Thank you!

Beretta1526 18 May 2011 18:45

I just installed this on vB 3.8.5 a few minutes ago. I'll see if I get any feedback from my members that could be helpful. I manage the forum from mobile quite a bit, and this is great.

Quote:

Originally Posted by dartho
It's lightweight (low bandwidth) and works well on most handheld / mobile devices. Some have been know to use it on their desktops and I personally use it for Google as a way of significantly reducing the bandwidth they use.

I would be interested in how to force search engines, robots, spiders, etc. to use this version. I've hacked mine so that a non-member cannot see the "style chooser" on my page, but that shouldn't matter I suppose.

THANK YOU!!!

.

Beretta1526 18 May 2011 19:35

I would like to add options to the style in the vBulleting Options panel, similar to the "Mobile Style Options" that allow you to append all posts with either the mobile user agent (browser, etc) or custom text like (posted via mobile). In fact, this is the very same options from your original "mobile" style that I'm referring to. Should I attempt to take this on myself, or will you be adapting some of those awesome options to the "Lightweight" style?

I'm going to have to make it a point to donate for all this hard work.

Thanks again!

.

MissKalunji 18 May 2011 20:33

Thank you again! I'm sticking to 3.8 as well

benFF 18 May 2011 21:24

Quote:

Originally Posted by dartho (Post 2197152)
If you link me up with an example, I could look. via PM is OK.
Worked it out. Not highlight is 'hot' new threads (thread_hot_new). I'll fix that up.

To fix, edit the CSS, search for

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

replace with

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

search for

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

replace with

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

Thanks for the code for default style link, I'll put that in.

You need to add the "dot_hot_new" variants to that as well :)

Also the logo is never actually used...?

dartho 18 May 2011 23:29

Quote:

Originally Posted by Beretta1526 (Post 2197247)
I would be interested in how to force search engines, robots, spiders, etc. to use this version. I've hacked mine so that a non-member cannot see the "style chooser" on my page, but that shouldn't matter I suppose.
.

I used the mobile detect hack and added search engine useragent snipperts to teh user defined section (Yahoo!,Baiduspider+,Googlebot,msnbot,Slurp)

Quote:

Originally Posted by Beretta1526 (Post 2197261)
I would like to add options to the style in the vBulleting Options panel, similar to the "Mobile Style Options" that allow you to append all posts with either the mobile user agent (browser, etc) or custom text like (posted via mobile). In fact, this is the very same options from your original "mobile" style that I'm referring to. Should I attempt to take this on myself, or will you be adapting some of those awesome options to the "Lightweight" style?

I'm going to have to make it a point to donate for all this hard work.

Thanks again!

.

I'll do something at some stage. You could try the following for appending useragents to posts: http://www.vbulletin.org/forum/showthread.php?t=185987

Quote:

Originally Posted by benFF (Post 2197293)
You need to add the "dot_hot_new" variants to that as well :)

Also the logo is never actually used...?

Thanks, and yes - I should probably do a logo rather than text.


All times are GMT. The time now is 02:34.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.