tehcake
05-15-2005, 10:00 PM
This addon will allow you to show the Top 10 Thanked members on your forum on the front page.
REQUIRED:
vBaCMPS
Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=73410)
INSTALL:
Create a style template called "adv_portal_topstats"
Put the following code in the template.
<table cellpadding="4" cellspacing="$stylevar[cellspacing]" border="0" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vboptions[blockbullet]
Top
10 Thanked </a></b></span></td>
</tr>
<tr class="alt1">
<td width="100%"><span class="smallfont">$top_stats[top_thanks]
</span></td>
</tr>
</table>
<br />
Create a template and call it "top_thanks"
Put the following code in the template.
<span class="smallfont"><center><b><a href="/forum/member.php?u=$top_thank[userid]">$top_thank[username]</a></b> ($top_thank[post_thanks_thanked_times])</center></span>
Put the attached PHP file in your /modules/ folder.
Add the module via vBaCMPS admincp.
For templates used, put adv_portal_topstats.
Anyone know how to create a CRON job to add a user to a usergroup once they get X ammount of thanks?
REQUIRED:
vBaCMPS
Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=73410)
INSTALL:
Create a style template called "adv_portal_topstats"
Put the following code in the template.
<table cellpadding="4" cellspacing="$stylevar[cellspacing]" border="0" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vboptions[blockbullet]
Top
10 Thanked </a></b></span></td>
</tr>
<tr class="alt1">
<td width="100%"><span class="smallfont">$top_stats[top_thanks]
</span></td>
</tr>
</table>
<br />
Create a template and call it "top_thanks"
Put the following code in the template.
<span class="smallfont"><center><b><a href="/forum/member.php?u=$top_thank[userid]">$top_thank[username]</a></b> ($top_thank[post_thanks_thanked_times])</center></span>
Put the attached PHP file in your /modules/ folder.
Add the module via vBaCMPS admincp.
For templates used, put adv_portal_topstats.
Anyone know how to create a CRON job to add a user to a usergroup once they get X ammount of thanks?