Add on:
This will show the ET club that each user belongs to in the postbit. For example, if a user has a 12 second ET it will display "12 Second Club Member" in the postbit below his username.
##### In includes/functions_showthread.php find:
Code:
$show['reputationlink'] = iif($vboptions['reputationenable'] AND $bbuserinfo['userid'] AND $post['userid'] AND !($usergroupcache["$post[usergroupid]"]['genericoptions'] & ISBANNEDGROUP), true, false);
break;
}
Below it add:
Code:
if ($post[field55]>=14 && $post[field55]<15)
{
$poop = "<font size=\"1\"><a href=\"timeslips.php?$session[sessionurl]&do=14seccars\" STYLE=\"text-decoration: none\">14 Second Club Member</a></font>";
}
else if ($post[field55]>=13 && $post[field55]<14)
{
$poop = "<font size=\"1\"><a href=\"timeslips.php?$session[sessionurl]&do=13seccars\" STYLE=\"text-decoration: none\">13 Second Club Member</a></font>";
}
else if ($post[field55]>=12 && $post[field55]<13)
{
$poop = "<font size=\"1\"><a href=\"timeslips.php?$session[sessionurl]&do=12seccars\" STYLE=\"text-decoration: none\">12 Second Club Member</a></font>";
}
else if ($post[field55]>=11 && $post[field55]<12)
{
$poop = "<font size=\"1\"><a href=\"timeslips.php?$session[sessionurl]&do=11seccars\" STYLE=\"text-decoration: none\">11 Second Club Member</a></font>";
}
else if ($post[field55]>=10 && $post[field55]<11)
{
$poop = "<font size=\"1\"><a href=\"timeslips.php?$session[sessionurl]&do=10seccars\" STYLE=\"text-decoration: none\">10 Second Club Member</a></font>";
}
else if ($post[field55]>0 && $post[field55]<10)
{
$poop = "<font size=\"1\"><a href=\"timeslips.php?$session[sessionurl]&do=singledigitcars\" STYLE=\"text-decoration: none\">Single Digit Club Member</a></font>";
}
else
{
$poop = "";
}
Then put $poop in your postbit & postbit_legacy templates where you want it to show up.