vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Show Thread Enhancements - Pro. Postbit Legacy "Thank You" addition (https://vborg.vbsupport.ru/showthread.php?t=235055)

Furcal15 02-04-2010 10:00 PM

Pro. Postbit Legacy "Thank You" addition
 
1 Attachment(s)
I downloaded and installed Pro. Postbit Legacy and it just didn't fit to well with the text from the "thanks" mod. So, I did some adjusting to suit my needs and I thought I would share my postbit legacy with you all.

First you will need to install the mod Pro. Postbit Legacy

In addition to that modification go to style manager>edit templates>Post Thank You Templates>Postbit_info template

Once you get there delete all the text and save it so that it is blank.

Then go into your Postbit Legacy Template

Add this
Code:

<if condition="$post[userid]">
        <div class="pbit"><div>$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount_formatted]</div></div>
        <div class="pbit"><div>
                <if condition="$post[post_thanks_thanked_times] == 1">
                        $vbphrase[post_thanks_time_post]
                <else />
                        <if condition="$post[post_thanks_thanked_posts] == 1">
                                <phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
                        <else /></div>
                                <phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">$vbphrase[post_thanks_times_posts]</phrase>
                        </if>
                </if>
        </div>
</if>

Before this
Code:

<!-- controls -->
You're all set!

http://baseballnation.net/thanks.gif

invitezone 02-07-2010 10:04 AM

i like that...thanks

hayaldunya 02-15-2010 10:26 AM

thanks friend...


All times are GMT. The time now is 04:49 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.01034 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete