Quote:
Originally Posted by VitroX
this is a great hack.
how about adding the total pple who thank the thread starter?
something like:
5 Users already said Thank You!:
username1, username2, username3, username4, username5
it would fit better for my forum.
Thanks for your work!
|
Just easier modify code
Find (Languages & Phrases):
Code:
Type : GLOBAL
Varname : thanks_1_install
Phrase : thanks {1} for this thread
Change to:
Code:
Phrase : User already said Thank You!:
Find:
Code:
Type : GLOBAL
Varname : thanks_x_install
Phrase : thank {1} for this thread
Change to:
Code:
Phrase : Users already said Thank You!:
------------------------------------------------------------------------
Find (functions_showthread.php):
Code:
$liste_user = $liste_user." <a href=\"member.php?u=$thank[userid]\">$thank[username]</a>$virg ";
Add before:
Find:
Code:
$date_thank = vbdate($vboptions['dateformat'], $thank['date'], true);
Add before:
------------------------------------------------------------------------
Find (postbit):
Code:
<div>$liste_user $thank_phrase
<br /><br /></div>
Change to:
Code:
<div>$users $thank_phrase<br /><br />$liste_user</div>
Find (postbit_legacy):
Code:
<div>$liste_user $thank_phrase
<br /><br /></div>
Change to:
Code:
<div>$users $thank_phrase<br /><br />$liste_user</div>
You're done!