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
  #422  
Old 07-08-2011, 03:32 PM
lbrunoa lbrunoa is offline
 
Join Date: Feb 2011
Location: Costa Rica
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got on error cause i'm using 4.1.4 and says that is only for 4.1.2
Reply With Quote
  #423  
Old 07-08-2011, 07:34 PM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it seems that this skin is not working right with the new version of vBulletin ? i think there i no more BB Code..

for example , when you quote someone who has 2 paragraphs.. the format will get lost , such as the spacing , or any text formatting ?...

Any idea on how to solve this particular problem ?

please any help on this matter is appreciated.
Reply With Quote
  #424  
Old 07-08-2011, 09:25 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lbrunoa View Post
i got on error cause i'm using 4.1.4 and says that is only for 4.1.2
Choose to ignore style version when installing
Quote:
Originally Posted by semprot View Post
I guess on 1.0.2a the infraction link on each post is missing?
I got that report from one of my moderator after i upgraded the skin (and 4.1.4).
Before i upgraded it, the infraction link was there.
Add
PHP Code:
<vb:if condition="$show['reportlink']"><a id="btn" href="{vb:raw post.reportlink}" rel="nofollow">{vb:rawphrase report_bad_post}</a></vb:if> 
into your postbit template just before the last </div>
Quote:
Originally Posted by Xtrato View Post
it seems that this skin is not working right with the new version of vBulletin ? i think there i no more BB Code..

for example , when you quote someone who has 2 paragraphs.. the format will get lost , such as the spacing , or any text formatting ?...

Any idea on how to solve this particular problem ?

please any help on this matter is appreciated.
I can't reproduce this on my test site
Reply With Quote
  #425  
Old 07-09-2011, 01:07 AM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi dartho thank you , can you please check http://www.jamiiforums.com/ , i tested with different skins , and this one tends to do such thing under vb 4.1.4

thanks again.
Reply With Quote
Благодарность от:
Filgga
  #426  
Old 07-12-2011, 02:01 AM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
@robbed - there are now smilies or embeded video in this style - sounds like you've merged templates? Re-install the lightweight one over top perhaps?

Here's teh bbcode_video template for this style - do a compare:

This about the issue when replying to a thread not quick reply with the mobile style.

You mentioned in your post that no smilies should show up.

I uploaded your style and created a test style and it still does the same thing. I've included a screen shot.


Thanks,

Rob
Reply With Quote
  #427  
Old 07-12-2011, 02:06 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's not using the new_reply template that comes with this style, or you have an add-on doing stuff. The new_reply template should be:

Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}">
<head>
	{vb:raw headinclude}

	<title>{vb:raw threadinfo.prefix_plain_html} {vb:raw threadinfo.title} - {vb:raw phrase reply_to_topic}</title>
</head>
<body>

<div class="bodywrapping">


{vb:raw header}

{vb:raw navbar}

<div class="titlebg">{vb:rawphrase reply_to_thread}: {vb:raw threadinfo.title}</div>
<form action="newreply.php" method="post">
<div>
{vb:rawphrase message}:<br />
<vb:comment><textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:99%; height:100px">{vb:raw newpost.message}</textarea></vb:comment>

{vb:raw messagearea}
<input type="hidden" name="emailupdate" value="
<vb:if condition="$emailchecked[0]!=''">
0
<vb:elseif condition="$emailchecked[1]!=''" />
1
<vb:elseif condition="$emailchecked[2]!=''" />
2
<vb:elseif condition="$emailchecked[3]!=''" />
3
<vb:else />
9999
</vb:if>
">
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="{vb:raw threadid}" />
<input type="hidden" name="p" value="{vb:raw postid}" />
<input type="hidden" name="specifiedpost" value="{vb:raw specifiedpost}" />
<input type="hidden" name="posthash" value="{vb:raw posthash}" />
<input type="hidden" name="poststarttime" value="{vb:raw poststarttime}" />
<input type="hidden" name="loggedinuser" value="{vb:raw bbuserinfo.userid}" />
<input type="submit" id="btn" name="sbutton" id="{vb:raw editorid}_save" value="{vb:rawphrase submit_reply}" accesskey="s" tabindex="2" />
{vb:raw attachmentoption}

</div>
</form>
{vb:raw footer}
</div>
</body>
</html>
check differences and/or overwrite yours with that and see how you go
Reply With Quote
  #428  
Old 07-12-2011, 04:10 PM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm tried it same thing and i disabled pluggins.

Here is part of the source if that helps, it was working before the upgrade/

Code:
t>
<!-- / Editor Scripts --> <div id="vB_Editor_001" class="blockrow texteditor">
	<div class="editor">
		<div class="editor_textbox_container smilie">
				<div class="editor_textbox editor_textbox_smilie">
					<script type="text/javascript" src="clientscript/ckeditor/ckeditor.js?t=A7HG4HT&amp;v=414"></script><script type="text/javascript" src="clientscript/vbulletin_textedit.js?v=414"></script><textarea id="vB_Editor_001_editor" name="message" rows="8" cols="60" tabindex="1">
Code:
<div class="editor_smiliebox">
			

<ul class="smiliebox floatcontainer" id="vB_Editor_001_smiliebox">
	
<li>
Reply With Quote
  #429  
Old 07-12-2011, 10:16 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK - must be on of your editor templates. If you haven;t customised this style, try reinstalling it and merging into your existing lightweight style. This should ensure all templates as the shold be.
Reply With Quote
  #430  
Old 07-13-2011, 12:49 AM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed your style from scratch and same thing so it had to be a VB setting.

I removed this code from editor_smileybox

Code:
<vb:comment><h4 class="blocksubhead">Smilies</h4></vb:comment>

<ul class="smiliebox floatcontainer" id="{vb:raw editorid}_smiliebox">
	{vb:raw smiliebits}
</ul>
<vb:if condition="$show['moresmilieslink']">
	<div class="moresmilies">[<a href="javascript://" onclick="vB_Editor['{vb:raw editorid}'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false" title="{vb:rawphrase showing_x_smilies_of_y_total, {vb:raw vboptions.smtotal}, {vb:raw totalsmilies}}">{vb:rawphrase more}</a>]</div>
</vb:if>

I'm guessing disabling the smilie boxes in VB would of done the same thing but it would apply to all styles.

Will this cause any other issues by removing this code from the mobile style?
Reply With Quote
  #431  
Old 07-13-2011, 01:32 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think that may be a new template, as it does not exist in my style, so deleting it's contents is probably the way to go. To answer your question - no, it will not cause other issues removing that code.

ed: Just looked at my test site, I have that template there same as above.

However, I have deleted the contents of the editor_clientscript template. Also, I have replaced the contents of the contents of the editor_ckeditor template with that of the editor_toolbar_off template
Reply With Quote
2 благодарности(ей) от:
Crotan, sportsfroma2
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 04:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05727 seconds
  • Memory Usage 2,381KB
  • Queries Executed 28 (?)
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
  • (1)bbcode_php
  • (4)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
  • (16)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
  • (5)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_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