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)
-   -   My "Thank You Hack" Postbit Template (https://vborg.vbsupport.ru/showthread.php?t=194553)

Cmangum 12-13-2009 02:12 PM

I did replace in the postbit legacy and still get the same error. The button is there and in the correct location.

RobbieZ 12-16-2009 03:33 PM

You need to PM me your forum URL and i can look at it for you.

ghostpt 12-18-2009 10:54 AM

Just replace post_thanks_postbit don't add anything.

m_k 12-18-2009 03:23 PM

Quote:

Originally Posted by cooltechie (Post 1728368)
It looks cleaner, but what happens when you have many members giving thanks. Does it wrap to the next line?

Just installed this, great idea :-)

yes, it does wrap if you have lots of thanks...

Thelonius Beck 12-30-2009 11:27 AM

Quote:

Originally Posted by DiziMedia (Post 1673271)
can you add the groans hack to this as well?

Add to "Additional CSS Definitions":
PHP Code:

.groan 
bordersolid 1px #ffffff;
color#444444; 
background#def9e5;
font10px arialtahomasans-serif;


Replace "post_groan_postbit_legacy"/ "post_groan_postbit" contents with:
PHP Code:

<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
    <
table width="100%" align="center">
        <
tr>
            <
td class="groan" style="padding:0px">
                <if 
condition="$post['post_groan_amount'] == 1">
                    <
strong><phrase 1="$post[username]">$vbphrase[post_groan_user_says]</phrase></strong>
                <else />
                    <
strong><phrase 1="$post[post_groan_amount_formatted]2="$post[username]">$vbphrase[post_groan_users_say]</phrase></strong>
                </if>
                
$post[post_groan_bit]
                <if 
condition="$bbuserinfo['usergroupid'] == 6">
                <
td class="groan" align="center">
                        <
a href="post_groan.php?do=post_groan_remove_all&amp;p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"onclick="return post_groan_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_groan_remove_all]</a>
                </
td>        
                </if>
                <if 
condition="$post['show_groan_remove_option']">
                <
td class="groan" align="center">
                        <
a href="post_groan.php?do=post_groan_remove_user&amp;p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"onclick="return post_groan_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_groan_remove_user]</a>
                </
td>        
                </if>
            </
td>
        </
tr>
    </
table>
</
div

Hope that helps someone. ;)


***EDIT***
D'OH! I just realized that searching & replacing "thanks" with "groan" in my HTML editor would have yielded the same results. Ahh well.

kmoh 02-05-2010 05:36 PM

What will I do to show my Thanks and Thanked count in my postbit? I already installed a Thank You Hack in my forum, but its not showing on my postbit. Can someone help me. I really need it so bad. Thanks

http://img683.imageshack.us/img683/5572/14500991.jpg

RobbieZ 07-14-2010 04:48 AM

Edited and working on vb4. (Remove all/your thanks on one line whilst rest on another). Will share if ok'd by Boosted Panda.

www.ch-joy.com 07-14-2010 11:28 PM


asabet 01-25-2015 09:22 PM

This is working great for me on vB 4.2.2 PL4

Thanks!


All times are GMT. The time now is 03:35 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.01103 seconds
  • Memory Usage 1,756KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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