vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) (https://vborg.vbsupport.ru/showthread.php?t=249277)

Bounce 03-01-2012 07:59 PM

some nice features in the newer version dartho,

how do I add a "PM" button, next to edit etc?

Bounce 03-01-2012 08:12 PM

also the "whats going on" section is missing now, and how do i remove the adverts :(

Hippy 03-01-2012 08:40 PM

Quote:

Originally Posted by Bounce (Post 2305148)
also the "whats going on" section is missing now, and how do i remove the adverts :(

search the thread your answer is in here not to far back or add the addon posted in the first post

dartho 03-01-2012 10:29 PM

Quote:

Originally Posted by Bounce (Post 2305148)
also the "whats going on" section is missing now, and how do i remove the adverts :(

There shouldn't be any ads and the what's going on should be working in the latest version. Ads were left in by mistake and an updated version with them removed was uploaded within an hour or so (as soon as I found out). The whats going on box should also work in the latest version?

autoescala 03-02-2012 11:35 AM

Today, I test the premium mobile style included in the new release 4.1.11 of VB, i don't like!!! Its ugly and heavy load on Android Galaxy S versus dartho light skin, I prefer the dartho style.

The only thing I don't know how to change is the underline style of the text in this skin, it would be more beautyful if you improve a lite the boxes when u are inside a sub-forum.

Some similar like this: http://www.bowlandcentral.com/forum/...hp?styleid=167

this custom style based on your work, is very very nice....

Bounce 03-02-2012 08:20 PM

Quote:

Originally Posted by dartho (Post 2305200)
There shouldn't be any ads and the what's going on should be working in the latest version. Ads were left in by mistake and an updated version with them removed was uploaded within an hour or so (as soon as I found out). The whats going on box should also work in the latest version?

thanks mate, any thoughts on post 826
https://vborg.vbsupport.ru/showpost....&postcount=826

dartho 03-02-2012 11:56 PM

Where did you want the PM button - next to the edit, reply buttons on postbit?

Hippy 03-03-2012 12:47 AM

I would like to add a post thank..
what code would you need to see from that mod ?
thanks

dartho 03-03-2012 02:41 AM

See this post for Abe1's Post Thanks Hack integration: https://vborg.vbsupport.ru/showthrea...43#post2305643

[s]
This probably needs a bit of tweaking, but here goes:

edit post_thanks_box template in the lightweight style and replace contents with:
Code:

<div class="windowbg" id="post_thanks_box_$post[postid]">$post_thanks_box</div>
edit post_thanks_button template in lightweight style and replace contents with:
Code:

<a id="btn" href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>);"</if> <if condition="$display_thanks_image == 'none'">style="display:none"</if> rel="nofollow">Thanks</a>
edit post_thanks_postbit template in the lightweight style and replace contents with:
Code:

<if condition="$post['post_thanks_amount'] == 1">
        <phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase>
<else />
        <phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></if>

$post[post_thanks_bit]

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]

I think that should just about do it - assuming it is this hack: https://vborg.vbsupport.ru/showthread.php?t=165673 that you have installed

caveat: this may introduce other hacks into the lightweight style which use the postbit_end and postbit_control hooks
[/s]

Hippy 03-03-2012 02:53 AM

yep will test it out in the am .. thanks for your time dartho


All times are GMT. The time now is 10:33 AM.

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.02220 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete