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

Reply
 
Thread Tools
Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) Details »»
Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android)
Version: 1.0.3, by dartho dartho is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 4.1.8 Rating:
Released: 08-24-2010 Last Update: 12-15-2011 Installs: 897
Re-useable Code  
No support by the author.

A lightweight *forum only style aimed at small screen devices such as Windows Smartphones, Nokias and even iPhones. It has VERY low bandwidth requirements - 15 times less on my site - 20K as opposed to 300K for forumhome.

*forum only - I have done a very small amount of rough work on CMS templates, a simple single column CMS *could* be created to work with this style without too much effort. However I am not sure if you can have a different CMS layout dependent on which style you are using?

This is an update to the mobile style I have previously released.

The changes are predominantly aesthetic to take advantage of larger screens.

It is also much easier to change colour schemes by editing the commented CSS file.


Demo: http://vbdev.org/forum.php?styleid=7

This is a a lightweight style and as such has much reduced functionality/information over the default vBulletin style.

Install instructions:
  • Firstly, if upgrading, I recommend installing this as a new style rather than overwriting your previous install. This way you get to test it first without trashing your existing style.
  • BACKUP YOUR EXISTING lightweight.css.php FILE IF YOU HAVE CSS CUSTOMISATIONS
  • Download ZIP file
  • Unzip to a local/temp directory
  • Edit lightweight.css.php file to customise colours if required
  • Upload contents of the upload directory in the zip file folder to your forum root.
  • Install style XML via Style Manager in your ADMINCP
  • **Install and configure "LightWeight Style Options"
  • See post 2 for a FAQ
  • Click "Mark as Installed"
  • Test it out
  • Leave a rating
  • Leave feedback
  • Enjoy checking your site from your mobile phone without the need to pinch/zoom/wait etc...
Version Control:
1.0.0 - 25 AUG 2010 - Initial Release on vBulletin.org
1.0.1 - 26 AUG 2010 - Fixed "Mark All Forums Read" link in Search results. Released Lightweight Style Options to customise this
1.0.2 - 21 MAR 2011 - Updated to 4.1.2, removed short tags from CSS, fixed some issues discovered since last release, added some stuff.
1.0.3 - 16 DEC 2011 - Updated to 1.0.3, tried to fix all known issues. Nothing new. If you have updated your site as bugs have been found, probably no need to upgrade. But if you're upgrading your site from to 4.1.9, might be worthwhile.
1.0.3a - 16 DEC 2011 - remove test ad hook code accidently left in postbit_legacy template
Branding Free:
The style is free to use. However I ask that you keep links in the footer. If you want to remove them - send me a donation of an amount you can afford, or that you think is fair/reasonable, it's up to you how much.

Download Now

File Type: zip lightweight-style-1.0.0.zip (68.3 KB, 441 views)
File Type: zip lightweight-style-1.0.1.zip (70.5 KB, 2490 views)
File Type: zip lightweight -style-1.0.2a.zip (73.6 KB, 2359 views)
File Type: zip lightweight-style-1.0.3a.zip (72.3 KB, 2859 views)

Screenshots

File Type: png lightweight-screenshot.png (30.6 KB, 2 views)

Show Your Support

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

Comments
  #872  
Old 04-14-2012, 10:35 AM
tambo's Avatar
tambo tambo is offline
 
Join Date: Aug 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got this running, but I was wondering if it is possible to move the lightweight.css.php file to another location, rather than root?

Would I have to edit something in the templates or xml file?

Why would I want to ask this? Not all Admins on our board have root access, but access to different parts of the server, based on their interests/expertise. It would be good to give the person responsible for styling access to the CSS file, without giving them root access.

EDIT: Never mind. I got it.

Use 'Replacement Variable Manager' in ACP.

Replace:
Code:
/lightweight.css.php
with
Code:
/folder/structure/of/your/choice/lightweight.css.php
...and then move the lightweight.css.php file to that location.

You'll then need to edit the CSS file 'Logo Image Location' to locate the logo image from root (as it's no longer relative). So, in my case:
Code:
/vb/images/misc/mobilelogo.png
...or wherever you want to put it. There's probably an easier way.

Great mod by the way. Very impressive.
Reply With Quote
  #873  
Old 04-15-2012, 03:22 AM
etca etca is offline
 
Join Date: Feb 2011
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dear dartho,

how to fix this? my vbul. 4.1.12
1. on 4.1.12, clicking quote on mobile style wont include the quoted message.
2. empty page, there are no 1, 2, 3 ... . see the attachment.
Attached Images
File Type: jpg Capture20_18_40_1.jpg (66.4 KB, 0 views)
File Type: png SkitchImage0.png (31.8 KB, 0 views)
Reply With Quote
  #874  
Old 04-16-2012, 10:44 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just updated my test site (vbdev.org) and have none of the problems reported above? Anyone else?

@Semprot - if you want to try and add reputation, the button code would be something like this:
Code:
<vb:if condition="$show['reputationlink']"><a id="btn" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}">Rep</a></vb:if>
Reply With Quote
  #875  
Old 04-18-2012, 08:09 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by semprot View Post
if i upload lightweight style as normal style (i didnt select mobile as parent), quote is working, but it wont appear on "Style & Language Settings" >> "Default Style for Old Mobile Browsers"
You could use https://vborg.vbsupport.ru/showthread.php?t=249339, I have it installed and there you could set this style as default.

I tested it on computer, not mobile phone, so I'm not sure that this style will actually get selected for mobile devices.
Reply With Quote
  #876  
Old 04-18-2012, 07:11 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by semprot View Post
More update :
  • if i upload lightweight style as normal style (i didnt select mobile as parent), quote is working, but it wont appear on "Style & Language Settings" >> "Default Style for Old Mobile Browsers"
  • If i upload it as mobile style, quote is not working, but it will appear on "Style & Language Settings" >> "Default Style for Old Mobile Browsers".
Yip, quotes dont work if style is parent of mobile styles default

does work if it has no parent.
:up:
Reply With Quote
  #877  
Old 04-19-2012, 07:26 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cancel that, i still dont have this working
Reply With Quote
  #878  
Old 04-20-2012, 09:02 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange. I installed as new style, after that I deleted old one. Quoting works for me, only I changed phrase from reply to reply_with_quote (postbit_legacy).

I didn't noticed problems so far, but it's still too early to tell for sure that there are no problems.
Reply With Quote
  #879  
Old 04-21-2012, 09:07 PM
etca etca is offline
 
Join Date: Feb 2011
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by semprot View Post
still having problem with quote?
I suggest you to delete old lightweight style & re-add it with non-mobile no-parent.
thx. solved on my prob
Reply With Quote
Благодарность от:
dartho
  #880  
Old 04-24-2012, 10:14 AM
The Rocketeer's Avatar
The Rocketeer The Rocketeer is offline
 
Join Date: Jun 2010
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I think we are finally ready to move on to the default vBulletin theme, But before that I wanted to share the vB CMS Article pages, I saved these two files, AFAIK this worked well with our CMS and should work with your too.

All the best and thanks for the Style and effort. :up:
Attached Files
File Type: txt vbcms_content_article_page.txt (13.4 KB, 28 views)
File Type: txt vbcms_content_article_preview.txt (3.1 KB, 21 views)
Reply With Quote
Благодарность от:
Merriweather
  #881  
Old 04-27-2012, 11:53 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the vB Mobile Style as default in 4.1.12 PL1.

However, at least one member is expressing an option to use this mobile style instead.

Two questions:

1. If I add this as a mobile style it shows a number of uncached templates. How can I fix this? (If I add it as a new full style, the templates are cached but that seems like it would be confusing to users.)

2. There seems to be no way to make this the default mobile style now that the vB Mobile Style is installed, and in either this mobile style or the vB Default Mobile Style, there seems to be no way to choose an alternate mobile style - just mobile or full forum default style. How can I add this as an option?
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 06:33 PM.


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.20536 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
  • (4)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
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (15)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)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