Go Back   vb.org Archive > vBulletin Styles and Graphics > vBulletin Styles > vBulletin 3.8 Styles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Lightweight Style for VB3.8.7 iPhone/Mobile/Cell/PDA Details »»
Lightweight Style for VB3.8.7 iPhone/Mobile/Cell/PDA
Version: 1.0.1, by dartho dartho is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

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.

====================
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).
    Code:
    <a class="toplinks" href="$_SERVER[PHP_SELF]?<if condition="$_SERVER['QUERY_STRING']">$_SERVER[QUERY_STRING]&amp;</if>styleid=1">Default Style</a>
  • 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
====================
====================
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

Thanks.

Download Now

File Type: zip Lightweight-Style-vBulletin3.8.7-1.0.0.zip (104.8 KB, 340 views)
File Type: zip Lightweight-Style-vBulletin3.8.7-1.0.1.zip (105.8 KB, 2660 views)

Screenshots

File Type: png screenshot.png (14.3 KB, 0 views)
File Type: png screenshot2.png (9.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-18-2011, 11:20 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great that you have updated this for 3.8.7 and are not leaving the 3.x series behind! Downloading now!
Reply With Quote
2 благодарности(ей) от:
Almotmaiz.Net, NAZIA
  #3  
Old 05-18-2011, 12:09 PM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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%
Reply With Quote
  #4  
Old 05-18-2011, 12:25 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
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;

Reply With Quote
  #5  
Old 05-18-2011, 12:43 PM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect, thanks Dartho. I'll give that a try.
Reply With Quote
  #6  
Old 05-18-2011, 01:10 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Code:
<a class="toplinks" href="$_SERVER[PHP_SELF]?<if condition="$_SERVER['QUERY_STRING']">$_SERVER[QUERY_STRING]&amp;</if>styleid=1">Default Style</a>
Reply With Quote
  #7  
Old 05-18-2011, 01:19 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[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.

To fix, edit the CSS, search for
Code:
.new, ._new, .forumnew
replace with
Code:
.new, ._new, .forumnew, ._hot_new, ._dot_hot_new
search for
Code:
.thread_dot, .thread_hot, .thread_dot_hot, .thread_, .thread_lock,.thread, .thread_moved, .thread_new
replace with
Code:
.thread_dot, .thread_hot, .thread_dot_hot, .thread_, .thread_lock,.thread, .thread_moved, .thread_new, .thread_hot_new, .thread_dot_hot_new
Thanks for the code for default style link, I'll put that in.
Reply With Quote
  #8  
Old 05-18-2011, 01:48 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. :up:
Reply With Quote
  #9  
Old 05-18-2011, 02:11 PM
MikesSite MikesSite is offline
 
Join Date: Jan 2009
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amazing! Can't wait to install. Thanks. Long live vB 3.X!!!!!
Reply With Quote
  #10  
Old 05-18-2011, 03:13 PM
The Dawg The Dawg is offline
 
Join Date: Oct 2008
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good stuff. Thank you!
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 09:36 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05239 seconds
  • Memory Usage 2,358KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (19)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete