Go Back   vb.org Archive > vBulletin Styles and Graphics > vBulletin Styles > vBulletin 3.8 Styles

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
  #202  
Old 01-28-2013, 09:18 PM
Chase Chase is offline
 
Join Date: May 2002
Location: Northern Ohio
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having the Post Thank You Hack working (and looking good) on the mobile style would be fantastic.
Reply With Quote
  #203  
Old 01-30-2013, 07:02 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by karabaja3 View Post
Thanks for reply. Here there are:

1. [AJAX] Post Thank You Hack

2. vB Ad Management 4
Those mods are for vb4 - this is for vb3. That being said, I have post thanks working on a 3.8 site with this style, I'll have a look at what I did ...
Reply With Quote
  #204  
Old 01-30-2013, 07:21 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chase View Post
Having the Post Thank You Hack working (and looking good) on the mobile style would be fantastic.
Check this post: https://vborg.vbsupport.ru/showthrea...94#post2305594
Reply With Quote
  #205  
Old 02-01-2013, 07:50 PM
Chase Chase is offline
 
Join Date: May 2002
Location: Northern Ohio
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
Post Thanks Integration

edit postbit and postbit_legacy templates in lightweight style , search for
Code:
<img src="$stylevar[imgdir_misc]/moderated_small.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
</div>
</if>
and replace with
Code:
<img src="$stylevar[imgdir_misc]/moderated_small.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
$template_hook[postbit_controls]
</div>
</if>
$template_hook[postbit_end]
caveat: this may introduce other hacks into the lightweight style which use the postbit_end and postbit_control hooks
I can't find these last 2 edits in the postbit or postbit_legacy templates in the mobile theme.
Reply With Quote
  #206  
Old 02-01-2013, 11:48 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this:

edit postbit and postbit_legacy templates, search for (which should be the very end of those templates):

Code:
<div class="windowbg">
<if condition="$post['editlink']"><a id="btn" href="$post[editlink]">$vbphrase[edit]</a></if>
<if condition="$post['replylink']"><a id="btn" href="$post[replylink]">$vbphrase[reply]</a></if>
</div>
and replace with


Code:
<div class="windowbg" align="right">
<if condition="$template_hook[postbit_controls]">$template_hook[postbit_controls]</if>
<if condition="$post['editlink']"><a id="btn" href="$post[editlink]">$vbphrase[edit]</a></if>
<if condition="$post['replylink']"><a id="btn" href="$post[replylink]">$vbphrase[reply]</a></if>
</div>
<if condition="$template_hook[postbit_end]">$template_hook[postbit_end]</if>
Reply With Quote
  #207  
Old 02-14-2013, 08:57 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just for curiosity I am looking for a lightweight style for our site but before we try this one I want to know a couple of things.

1. When a user visits our site with a smartphone will they automatically be reverted to the Lightweight style ?

2. We use tapatalk and when you visit our site with a smartphone the javascript will prompt the user to download the tapatalk client. If I install this style what will be the behavior then?

3. We also use a content server which we can use to redirect smartphone to this style but I wanted to know if there is something in this style that detects mobile devices?

Thanks
Reply With Quote
  #208  
Old 02-16-2013, 11:20 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is just a simple style/template - no javascript, plugins or smarts to see here.

So to answer your questions: no, no different, and no
Reply With Quote
  #209  
Old 05-13-2013, 03:28 PM
ludachris ludachris is offline
 
Join Date: Feb 2002
Posts: 287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which style to use, this one or your other Mobile Style for 3.8?

We have a lot of members who use Tapatalk, but I don't like having Tapatalk dictate how things show up, not to mention the way they have their ads showing up, etc. I'd really like to look into implementing a mobile style. The only problem is that we use vba Dynamics for our classifieds section - I take it your style wouldn't be compatible with that. Would it be compatible with other solutions, like ProVB's advanced forum plugin:
http://www.provb.org/vbulletin-mods/...o&productid=11

Or maybe would it be better to just use the forums for the classifieds and use a couple of plugins like "thread thumbnails" (https://vborg.vbsupport.ru/showthread.php?t=214755) and "extra threadfields" (http://www.provb.org/vbulletin-mods/...fo&productid=1) to make it more like our existing classifieds solution, then apply one of your mobile styles? I just want the most effective and easy to integrate solution that will work with mobile. It seems like it would be easier to move away from Dynamics, but maybe it would be easier to just style that solution. I don't know. Would love your advice.

Which style would be best to start with to have more of our content viewable in a mobile style? This one or your other Mobile Style plugin? We also have a lot of static vBa CMPS pages, will this work with those? Or will we have to do a bit of work for those?
Reply With Quote
  #210  
Old 05-15-2013, 09:15 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Either style would pose the same challenges when implementing add-ons. For the most part, you just need to change templates for add-ons to be friendly in a mobile interface. Depending on the addon, they might even look OK enough to get away with, with no template changes.
Reply With Quote
  #211  
Old 12-15-2013, 06:17 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.

This style just stopped working on our 3.8.7 vB forum and we cannot see any errors.

Any suggestions on how to debug this?
Reply With Quote
Reply

Thread Tools

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:25 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.04884 seconds
  • Memory Usage 2,356KB
  • 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
  • (7)bbcode_code
  • (3)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
  • (17)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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