1- Create a new profile field via Admin CP, make sure its not editable by users in its settings, note its id.
2- In newthread.php and newreply.pghp find this line:
PHP Code:
// update user stuff
After that add (as a new line, do not append!):
PHP Code:
if (substr_count($message, "http://")>0)
{
$httpcount=(int)substr_count($message, "http://");
$DB_site->query("UPDATE userfield SET fieldX=fieldX+$httpcount WHERE userid='$bbuserinfo[userid]'");
}
Dont forget to replace "fieldX"s with the field id like "field12". There are 2 occurences change both..
That's it.. Now their link statistics will be kept in this profile field and you can display it in their profile or postbit according to your taste..
Not tested but should work..
Enjoy..