The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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)
Developer Last Online: Oct 2023
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:
1.0.0 - 25 AUG 2010 - Initial Release on vBulletin.orgBranding 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
Screenshots
Show Your Support
|
15 благодарности(ей) от: | ||
akool, BlueCheri, Bounce, CAG CheechDogg, ejup2009, Filgga, Hostboard, James Argo, jramos1973, K4GAP, Muniesa, Sayid, too_cool_3 |
Comments |
#842
|
|||
|
|||
You could just delete the contents of that template in the lightweight style to stop it showing, same should work for most other add-ons that start appearing because of the addition of hooks.
BTW - I modified the code for the post_thanks_box template above so that it only shows the post thanks box when someone has actually posted thanks |
#843
|
|||
|
|||
Alternatively if you wanted to integrate the post thanks hack, and not put the hooks in, you can put the code from post_thanks_box in place of {vb:raw template_hook.postbit_end} in the postbit templates and put the code from post_thanks_button in place of {vb:raw template_hook.postbit_controls}
|
#844
|
||||
|
||||
Quote:
Quote:
|
#845
|
||||
|
||||
if you add the contents from post_thanks_button in place of {vb:raw template_hook.postbit_controls}
the button shows up on everyone .. If you have it set so you can thank yourself it is showing then if clicked you get the you don't have permission to do this act or what ever it says. any ideas would be greatly appreciated |
#846
|
|||
|
|||
Quote:
Code:
body { Code:
a {text-decoration:none;} I have tried to leave the style as simple as possible, whilst still being functional, to make it easy for admins to tailor it for their site as Mark has done. |
#847
|
|||
|
|||
Quote:
try wrapping the following conditional around it: <vb:if condition="$display_thanks_image=='none'"> Code:
<a id="btn" href="post_thanks.php?{vb:raw session.sessionurl}do=post_thanks_add&p={vb:raw post.postid}&securitytoken={vb:raw bbuserinfo.securitytoken}" id="post_thanks_button_{vb:raw post.postid}"<vb:if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give({vb:raw post.postid}, <vb:if condition="$vboptions[post_groan_integrate]">true<vb:else />false</vb:if>);"</vb:if> <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if> rel="nofollow" class="post_thanks_button">{vb:rawphrase post_thanks_thanks}</a> |
#848
|
|||
|
|||
Well bro, I made the thanks work. But user has to press the button 2/3 times and refresh the page. Because I am using hide option integrated with Abe1's thanks hack, in normal version once user press thank, the hidden content automatically show without refreshing the page but in mobile version it needs to refresh and press thanks more times. Can I make it ajax based or if I can change anything which will make it automatically and user will get rid of pressing the button every time or refresh the page.
Thank you. |
#849
|
|||
|
|||
I don't know what the hide option is, the above code seems to work fine from my mobile phone.
|
#850
|
|||
|
|||
Quote:
bro above is the mod I am talking about. thanks. |
#851
|
|||
|
|||
Hello dartho
I have just upgraded to vb4 4.1.11 In order to avoid the moaning in control panel about templates, I deleted the lightweight style, upgraded to 4.1.11 and then uploaded the lightweight style and the options add on. Thing is, it doesn't look anything like what it did before. Gone is the desktop button at the top, adding a title to the options doesn't remove the logo, and the logo is vbulletin not your mobile logo. What on earth did I do wrong? Or is it 4.1.11 doing something? Uploaded again and this time it worked... seems that what I was looking at was the vb4 version... not as nice as yours. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|