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
  #192  
Old 12-24-2012, 10:56 PM
beekay beekay is offline
 
Join Date: May 2012
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
First - you need to provide links to these addons so I can look. Chances are it will mostly be a matter of template edits to get them working and looking right.
Do you think you could help me add in vbseo likes into this style?
Reply With Quote
Благодарность от:
SBlueman
  #193  
Old 12-25-2012, 02:14 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I second beekay's request.
Reply With Quote
  #194  
Old 12-30-2012, 10:40 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by beekay View Post
Do you think you could help me add in vbseo likes into this style?
...

Quote:
Originally Posted by dartho View Post
First - you need to provide links to these addons so I can look. Chances are it will mostly be a matter of template edits to get them working and looking right.
Reply With Quote
Благодарность от:
SBlueman
  #195  
Old 12-30-2012, 04:30 PM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vbSEO likes is a default feature with vbSEO.
Reply With Quote
  #196  
Old 01-02-2013, 04:52 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry - I don;t have VBSEO
Reply With Quote
  #197  
Old 01-15-2013, 07:50 AM
sinomama sinomama is offline
 
Join Date: Sep 2008
Location: Suisse
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks very much for the style, it's the best of all I tried to install.

[S]Just a question: how to remove the display of the "cybchatbox" and the "adavanced forum statistics" in this style plz? These are making a little chao on the page.

Help![/S]

http://www.tingzi.net
Reply With Quote
  #198  
Old 01-15-2013, 08:55 AM
sinomama sinomama is offline
 
Join Date: Sep 2008
Location: Suisse
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Pretty much any mod can be disabled for a specific style or styles if you edit the plugins for the mod. You can't go wrong editing every single plugin for a mod but sometimes you don't need to edit every single one...

Basically you need to wrap all of the plugin in this code:

PHP Code:
if (!in_array($vbulletin->userinfo['styleid'], array(2,3,4)))
{
 
  
//All Original Code Here
 

Where 2, 3, and 4 are the styleids you want to disable the mod in. You can add ore remove as many as you want, just separate each with a comma. If there's only 1 you don't need the comma.

Only thing to look out for, if in the plugin there is the line:
Code:
global $vbulletin;
[S]I tried :[/S]
PHP Code:
if (!in_array($vbulletin->userinfo['styleid'], array(49)))
{
 
 <if 
condition="(($_REQUEST['do']=='cchatbox') OR ($_REQUEST['do']=='ccarc'))">
        
$stylevar[htmldoctype]
..........
CHATBOX  CODE...............

        </
body>
        </
html>
    </if>
 

[S]But it didn't work. (this style is 49)
Is the right code where I edited?[/S]

I got it!
I edited in "Cyb - Advanced Forum Statistics - CT" and "Cyb - ChatBox - CT" of the plugin manager, and it works!

Thank you so much! You are great! ^^
Reply With Quote
  #199  
Old 01-15-2013, 11:07 AM
sinomama sinomama is offline
 
Join Date: Sep 2008
Location: Suisse
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[S]New question:
(aussi to BirdOPrey5)

I am using the Detect Mobile Device and Assign Style(product-mobdetect38.xml) of dartho, then, if I open the site with www.....php?stylei=49 in the IE, these plugins don't display, and le bouton "default style" works well.

but If I open the site in the safari of IPhone, mobile phone show again the plugins which I had disabled in the mobliestyle(styleid=49)......

So, how can I correct it, plz? In the code of plugin "Detect Mobile Device and Assign Style"?[/S]


resolved........by creating a plugin disable them.
Reply With Quote
  #200  
Old 01-20-2013, 10:20 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Two minor fixes:

1) CSS fix on line 364 add .thread_dot_new to the list of classes, this fixes the background not being the correct color. The change is given below.

Code:
.thread_dot, .thread_hot, .thread_dot_hot, .thread_, .thread_lock,.thread_hot_lock,.thread_dot_lock,.thread, .thread_moved, .thread_new, .thread_hot_new, .t\
hread_dot_hot_new, .thread_lock_new, .thread_dot_new
2) Add class="$thread[statusicon]" to the anchor tag of sticky threads so that they get bolded when unread posts are present.

Code:
<if condition="$show['sticky']">
<div class="sticky">
            $thread[movedprefix]
            $thread[typeprefix]
            $thread[moderatedprefix]
            $thread[prefix_rich]
<a class="$thread[statusicon]" href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]">$thread[threadtitle]</a> <span class="smallfont">($thread[replycount] $vbphrase[replies])</span>
<if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">($thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
<if condition="$show['deletethread']">
<a href="postings.php?$session[sessionurl]do=deletethread&amp;t=$thread[threadid]">[$vbphrase[delete]]</a> <a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[threadid]">[$vbphrase[edit]]</a> </if>
<br />
$vbphrase[last_post]: $thread[lastposter], $thread[lastpostdate]
<if condition="!$show['detailedtime']">$thread[lastposttime]</if>
</div>

<else />
Reply With Quote
Благодарность от:
dartho
  #201  
Old 01-28-2013, 03:46 PM
karabaja3's Avatar
karabaja3 karabaja3 is offline
 
Join Date: Jan 2008
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by karabaja3 View Post
How can I add RedTyger's ad-display plugin and PostThanks plugin? They are allready installed at my default style.
Quote:
Originally Posted by dartho View Post
First - you need to provide links to these addons so I can look. Chances are it will mostly be a matter of template edits to get them working and looking right.
Thanks for reply. Here there are:

1. [AJAX] Post Thank You Hack

2. vB Ad Management 4
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 01:35 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.04813 seconds
  • Memory Usage 2,380KB
  • 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
  • (6)bbcode_code
  • (2)bbcode_php
  • (6)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (20)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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