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)

tomerl1 10-24-2011 07:16 PM

Quote:

Originally Posted by tomerl1 (Post 2259503)
Hi,
The counter of the hack doesn't stop counting. No matter how many times anyone says thanks, the Number of "thanks" doesn't change anymore.

Problem?

SG Thomas

Please help me.

FReeSTER 11-04-2011 08:00 AM

How can I minimize the thankyou box. I have posts with more then 500 thanks and is showing a long box. I will like to make the box minimized. I saw this somewhere but cant find it

thanks

ForceHSS 11-04-2011 03:16 PM

check back for other posts for a fix for that

FReeSTER 11-04-2011 06:00 PM

Quote:

Originally Posted by ForceHSS (Post 2264411)
check back for other posts for a fix for that

Thank you mate but the first thing I do before anything is search as I have done searched this mod for many different variables and I cant find the solution to get this done.

ForceHSS 11-04-2011 06:57 PM

pm hippy he posted it i am sure he can give you the link

Hippy 11-04-2011 08:45 PM

;) hippy posts so much I can't remember.. I will go through my posts here..
It might only be a couple pages back..

Bob_R 11-04-2011 09:47 PM

I'm now using the post_thanks.php code found in post #1534 of this thread.

But I cannot search thanked thread in the About Me section of a profile.

What should I do?

Thanks!

FReeSTER 11-04-2011 09:58 PM

Im using this one here https://vborg.vbsupport.ru/showthread.php?t=250325 that I found. It gave me options to delete my thank and All Thanks which I didnt had before but the Hide/Show feature is just frozen and dont work. Maybe the code posted here works better then that one.

thanks

Hippy 11-05-2011 12:28 AM

the option to delete the thanks is because the user group on your old template was set to 5.. 5 is not admin..

I pmed you

Hippy 11-05-2011 12:11 PM

1 Attachment(s)
first off thanks goes out to channelfuse
for getting post_thanks search to work again..
found here https://vborg.vbsupport.ru/showpost....postcount=1534



then I believe Phaedrus put all the fixes I and others posted all together
https://vborg.vbsupport.ru/showpost....postcount=1433

Rob F posted the fix for the postbit alignment issue here
https://vborg.vbsupport.ru/showpost....&postcount=607



thanks to findingpeace for posting this fix..

someone with a space in their username thanks a post breaks the line seems to break
can view here http://i.imgur.com/9JAsNaF.png


a few members have brought this issue up

Quote:

Originally Posted by findingpeace (Post 2415345)
Fixed (for anyone else curious) -

Open up functions_post_thanks.php

Find

Code:

$virg
And add a space to both of the first two instances. Should end up looking like this:

Code:

if ($cmpt<$number_rows)
                        {
                                $virg=", ";
                        }
                        else
                        {
                                $virg=" ";
                        }

I will be updating the archive here asap..

fixes I posted can be found here

https://vborg.vbsupport.ru/showthrea...40#post2045040
https://vborg.vbsupport.ru/showthrea...08#post2111408
https://vborg.vbsupport.ru/showpost....postcount=1048
https://vborg.vbsupport.ru/showthrea...66#post2130566

Guests Can't View [AJAX] Box Under Post

newer post for Move Post thanks button
https://vborg.vbsupport.ru/showpost....postcount=2357

move this hook so the thanks button will be in the correct place (optional)
https://vborg.vbsupport.ru/showpost....postcount=1842

If your using
eTiKeT? 2011 Posbit_legacy - Postbit Details


+++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++


You may need to remove extra &nbsp; if you originally added spaces via the post_thanks_box_bit template (like I did). This was hacky, and much better to do through the functions file. Usernames will break as expected now.



you will need to replace your "post_thanks_postbit_info" template with this
over write the template completely so it will match the rest of the postbit details

Code:

<vb:if condition="$post['userid']">
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
    {vb:rawphrase post_thanks_thanks} <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
    <vb:if condition="$post['post_thanks_thanked_times'] == 1">
        {vb:rawphrase post_thanks_time_post}
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
        {vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div>
    <vb:else />
  <div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">   
{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div>
    </vb:if>
</vb:if>

Baja Version min max edit https://vborg.vbsupport.ru/showthrea...66#post2130566
https://vborg.vbsupport.ru/showthrea...41#post2129541
please note you will need to change this in the xml file to upload to the newest versions of vb


ForceHSS also put one together, but I never went over it to see if all the fixes where implemented


FReeSTER pointed this out.. great template edit


Great Article
BirdOPrey5 Great Post Thanks Articles
How to turn the "Post Thank You" hack into a "Likes" system similar to vBulletin.org



This is a Must Have if you have a hug box of thanks under your posted.
big thanks to demonfatal Great addon for Post Thanks
[vB4.0.X] Show/Hide list of the thanked
Thanks for sharing that Great addition to this mod..


###########################################
###########################################
###########################################

Great Addon's for Post thanks

Badshah93 vFCoders - Hide Hack

Scandal Recent Thanks for [AJAX] Post Thank You Hack

plugin for Recent Thanks for [AJAX] Post Thank You Hack
Hippy WOL for Recent Thanks for [AJAX] Post Thank You Hack addon


postbit change for Recent Thanks for [AJAX] Post Thank You Hack
Quote:

Originally Posted by Furcal15 (Post 2311450)
I did some modification to this....If anyone is interested....In the user info panel, it shows "Thanked XX times in XXX post", well that phrase is now a link and it takes you to http://yoursite.com/recent_thanks.php

See demo here: http://baseballnation.net/showthread...ll=1#post57431

Edit Templates > Post_Thanks_Postbit_Info and replace EVERYTHING will the following code:

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 left};"><a href="/recent_thanks.php">{vb:rawphrase post_thanks_time_post}</a></dd>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="recent_thanks.php">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</a></dd>
    <vb:else />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="recent_thanks.php">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</a></dd>
    </vb:if>
</vb:if>



###########################################
###########################################
###########################################

you may find a tweak or 2 to help you with most issues. Search for my posts in this mod
Poke To Find All Posts In This Mod By Hippy


this is a list of all the help / support given here (thanks goes out to everyone that is helping to keep this great mod alive..)

Regards
Hippy


All times are GMT. The time now is 09:28 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.04316 seconds
  • Memory Usage 1,787KB
  • 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
  • (4)bbcode_code_printable
  • (4)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