PDA

View Full Version : Show Thread Enhancements - [AJAX] Collapsible List Of Thanked


mad@Max
02-15-2009, 10:00 PM
If you have installed Post Thank You Hack and you have large lists of thanked, this hack for you :)

This is rewrite of my old modification (https://vborg.vbsupport.ru/showthread.php?t=163300).

Initially the list is not loaded, this happens only after clicking on the link, in background (AJAX).

How it's work (video): http://www.youtube.com/watch?v=fZl5vY3jeIM

relaxiha
02-15-2009, 11:01 PM
plz pic!!

dai-kun
02-15-2009, 11:18 PM
hm.. does this work? I installed, uploaded the file, pressed thanks and I don't see a list, just the number of people thanked was updated..

NVM.. there's an option in the admincp, which isn't stated here so I didn't know.
Is there a way to expand the list? Since people want to know if they thanked already.

mad@Max
02-15-2009, 11:24 PM
relaxiha, Added video in first post. Wait when approve.
dai-kun, Yes, the condition is triggered if the thanks amount of more number that you set.

dai-kun
02-15-2009, 11:26 PM
Do you know if there's any conflict or something with another product? I watched the video but when the condition is met for it to collapse, nothing shows up in the "username" section. I just see this " 42 Users Say Thank You to (username): " to the left.

mad@Max
02-15-2009, 11:32 PM
What version you use of Post Thank You Hack?
Show content of your template post_thanks_postbit_legacy or post_thanks_postbit.

dai-kun
02-15-2009, 11:35 PM
I use Post Thank You Hack 7.7

Legacy
<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr valign="top">
<td class="alt2" width="175">
<if condition="$post['post_thanks_amount'] == 1">
<strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
<else />
<strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong>
</if>
<if condition="$bbuserinfo['usergroupid'] == 6">
<br /><a href="post_thanks.php?do=post_thanks_remove_all&amp;p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a>
</if>
<if condition="$post['show_thanks_remove_option']">
<br /><a href="post_thanks.php?do=post_thanks_remove_user&amp;p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a>
</if>
</td>
<td class="alt1"><div>$post[post_thanks_bit]</div></td>
</tr>
</table>
</div>

mad@Max
02-15-2009, 11:40 PM
Please download again and reimport product.

dai-kun
02-15-2009, 11:54 PM
Ok thanks it works perfectly now! Installed

I have tons of posts with 100+ thanks so this is very useful :D

mad@Max
02-16-2009, 12:40 AM
I have 1000+ :D

drupy
03-30-2009, 03:13 PM
I have only 10+ :(

mad@Max
03-30-2009, 03:29 PM
All in front;)

princeedward
08-25-2009, 06:45 PM
hi....tried this but can't make it work to my v3.8.4

:(

princeedward
09-04-2009, 07:39 PM
hi....tried this but can't make it work to my v3.8.4

:(is there anyone or the developer itself can answer this please

:erm:

mad@Max
09-04-2009, 11:33 PM
What happen when you click?

princeedward
09-05-2009, 06:44 AM
what i want to know mad that the collapsed button only show if too many thanks already? coz i dont see anything to click here?

princeedward
09-12-2009, 05:53 AM
what i want to know mad that the collapsed button only show if too many thanks already? coz i dont see anything to click here?BUMP

mad@Max
09-12-2009, 09:41 AM
If you have 100 thanks in post, collapsed button not showing?

princeedward
09-12-2009, 12:08 PM
If you have 100 thanks in post, collapsed button not showing?thanks for the reply mad...so this will not work if 1-10 thanks only....i mean you can't see the collapsed button?

mad@Max
09-12-2009, 12:16 PM
That it should be:)

demonfatal
08-31-2010, 09:41 AM
Any update for vB4.X please?

dai-kun
12-03-2010, 03:22 PM
Please update for vb4 thanks!

EddyMaxx
12-04-2010, 11:28 AM
Works great. Using 3.8.6. Thanks!!

qubed
02-19-2011, 10:06 AM
Would love this for vb4. This is probably one of my all time favorite mods. Please Please Please do it!

qubed
07-11-2011, 10:27 AM
Bump for VB4 please!!