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)

terminator2k2 11-23-2011 07:19 PM

I have a problem in vB 4.1.8

Show Stats in Profile?
Do you want to show a user's post thanks stats in their profile? (These stats come along with links to search all posts that user gave thanks to and all posts of his/hers that got thanked by someone else.)

^- set to yes, statistics is shown but you cannot search all posts the user gave thanks to and got thanks for, there is no link generated

sadiq6210 11-24-2011 04:23 AM

Quote:

Originally Posted by terminator2k2 (Post 2271263)
I have a problem in vB 4.1.8

Show Stats in Profile?
Do you want to show a user's post thanks stats in their profile? (These stats come along with links to search all posts that user gave thanks to and all posts of his/hers that got thanked by someone else.)

^- set to yes, statistics is shown but you cannot search all posts the user gave thanks to and got thanks for, there is no link generated


Open template (post_thanks_memberinfo_block)
Change it all with this:

Code:

<h5 class="subsubsectionhead">{vb:rawphrase post_thanks_total_thanks}</h5>
<dl class="stats">
        <dt>{vb:rawphrase post_thanks_total_thanks}</dt>
        <dd>{vb:raw userinfo.post_thanks_user_amount_formatted}</dd>
</dl>
<ul class="group">
        <li>
        <vb:if condition="$userinfo[post_thanks_thanked_times] == 1">
                {vb:rawphrase post_thanks_time_post}
        <vb:else />
                <vb:if condition="$userinfo[post_thanks_thanked_posts] == 1">
                        {vb:rawphrase post_thanks_times_post, {vb:raw userinfo.post_thanks_thanked_times_formatted}}
                <vb:else />
                        {vb:rawphrase post_thanks_times_posts, {vb:raw userinfo.post_thanks_thanked_times_formatted}, {vb:raw userinfo.post_thanks_thanked_posts_formatted}}
                </vb:if>
        </vb:if>
        </li>
        <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user, {vb:raw userinfo.username}}</a>
        </li>
        <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks_user_gave&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user_gave, {vb:raw userinfo.username}}</a>
        </li>
</ul>


fairlady4u 11-27-2011 03:14 PM

Anyway i can install this in 4.18?i can seem to install it :(

ForceHSS 11-27-2011 04:09 PM

Quote:

Originally Posted by fairlady4u (Post 2272398)
Anyway i can install this in 4.18?i can seem to install it :(

look harder

Bisha 11-27-2011 06:10 PM

did the Database errors are fixed?

terminator2k2 11-27-2011 06:43 PM

k thanks, the code was commented out.

another question about the wordwrap when showing the users who thanked, it seems that it's not working like it should.

There is wordwrap on users who have "-" or space in their nicknames and the style is "broken" because each line of shown users is too long

HondaStreetCult 11-27-2011 08:09 PM

Need help... I am trying to change the "The Following 10 Users Say Thank You to Mervin For This Useful Post: " to something else. Can anyone help me and tell me where i can do this?

sadiq6210 11-27-2011 09:08 PM

Quote:

Originally Posted by HondaStreetCult (Post 2272502)
Need help... I am trying to change the "The Following 10 Users Say Thank You to Mervin For This Useful Post: " to something else. Can anyone help me and tell me where i can do this?

Just search in phrases :)

Hint:
Find (For This Useful Post)

Hippy 11-27-2011 10:37 PM

search your phrases for The Following {1} Users Say Thank You to {2} For This Useful Post:
and change it to wha you want .. remember to keep the {1} and {2} these call the numbers

Breakthecycle2 11-28-2011 02:38 AM

This seems to not work in 4.1.8.

The following dependencies were not met:
This product is not compatible with version 4.1.8 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)


All times are GMT. The time now is 04:34 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.04644 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
  • (1)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
  • (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