Version: 1.0.1, by dartho
Developer Last Online: Oct 2023
Version: 3.8.7
Rating:
Released: 05-17-2011
Last Update: 05-19-2011
Installs: 248
Re-useable Code
No support by the author.
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.
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).
==================== 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
Code:
<div class="windowbg">">
Replace with
Code:
<div class="windowbg">
Issue:
Inconsistencies in disaplying locked forums Resolution: See this post
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%
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
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
PHP Code:
//replace x below with the styleid of lightweight style
if (STYLEID==x) {
// Disable "Latest Album Pictures - Forum Home"
$vbulletin->options['afm_onoff']=0;
}
Edit - in the above, if it doesn't work, try the following code (one of them should work)
PHP Code:
//replace x below with the styleid of lightweight style
if ($styleid==x) {
// Disable "Latest Album Pictures - Forum Home"
$vbulletin->options['afm_onoff']=0;
}
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:
[s]If you link me up with an example, I could look. via PM is OK.[/s]
Worked it out. Not highlight is 'hot' new threads (thread_hot_new). I'll fix that up.