vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=231666)

CoreyLTH 01-13-2011 07:11 PM

I really hope we can see who thanked us on 4.0+ with this mod one day. 3.8, you can see who thanked you. I've surprisingly had members request this.

sadiq6210 01-14-2011 06:52 AM

Quote:

Originally Posted by OurCouponHome (Post 2147288)
I want to keep the "thanks" in the postbit but remove the Thanked xx number of times. How do I do that?

Quote:

Originally Posted by sadiq6210 (Post 2147401)
Edit the template (post_thanks_postbit_info)

Quote:

Originally Posted by OurCouponHome (Post 2148228)
What do I remove?

Replace it all to

Code:

<vb:if condition="$post['userid']">
        <dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
        <vb:if condition="$post['post_thanks_thanked_times'] == 1">
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_time_post}</dd>
        <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
        <vb:else />
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
        </vb:if>
</vb:if>

:)

OurCouponHome 01-14-2011 01:20 PM

Quote:

Originally Posted by sadiq6210 (Post 2148835)
Replace it all to

Code:

<vb:if condition="$post['userid']">
        <dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
        <vb:if condition="$post['post_thanks_thanked_times'] == 1">
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_time_post}</dd>
        <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
        <vb:else />
                <dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
        </vb:if>
</vb:if>

:)

Nope, that didn't work, it's still there.

sadiq6210 01-14-2011 06:06 PM

Quote:

Originally Posted by OurCouponHome (Post 2148930)
Nope, that didn't work, it's still there.


Copy the phrase you want to delete here

There is two phrases in postbit
- The others Thanked me xx times in xx posts
- I Thanked the others xx times

Which phrase you want to remove? :)

OurCouponHome 01-14-2011 06:35 PM

This is what I want to remove:

Thanked 37,916 Times in 9,114 Posts

sadiq6210 01-15-2011 11:54 AM

Quote:

Originally Posted by OurCouponHome (Post 2149109)
This is what I want to remove:

Thanked 37,916 Times in 9,114 Posts

Replace all template with this:

Code:

<vb:if condition="$post['userid']">
        <dt>{vb:rawphrase post_thanks_thanks} : {vb:raw post.post_thanks_user_amount_formatted}</dt>
        </vb:if>


4tdesign 01-15-2011 03:59 PM

This works on 4.1.1 beta 1 except i had to remove this hack
https://vborg.vbsupport.ru/showthread.php?t=228673
add ignore user to postbit dropdown.

john h 01-15-2011 06:20 PM

I've installed this in 4.1.1 final and it only add the "Thanks" icon to the first post. I have selected "No" for the "Only work in First Post" option in settings (I did try "Yes" as well but no change).

WallyGR 01-18-2011 09:49 AM

After upgrading from 3.8 to 4.1.1 I have upgraded the hack but all the thanx-count numbers in the user postbit and profiles are wrong.

Is there anything I could do to fix it? Maybe run a ceratin index?

Thanx in advance!

Welshy2008 01-18-2011 10:10 AM

Quote:

Originally Posted by WallyGR (Post 2150860)
After upgrading from 3.8 to 4.1.1 I have upgraded the hack but all the thanx-count numbers in the user postbit and profiles are wrong.

Is there anything I could do to fix it? Maybe run a ceratin index?

Thanx in advance!

Try ADMINCP -> Maintenance -> Update Counters


All times are GMT. The time now is 03:04 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.05628 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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