Quote:
Originally Posted by insanctus
Make a new profile field they can edit in usercp if they wish to be locked at 420
Make the options Yes No
Make sure you look up the field number
Open includes/function_newpost.php
Find
Code:
$DB_site->query("
UPDATE " . TABLE_PREFIX . "user SET
$doposts
$dotitle
lastpost = " . TIMENOW . "
WHERE userid = $bbuserinfo[userid]
");
Above it add
Code:
if ($bbuserinfo[fieldnumber]=='Yes' AND $bbuserinfo[posts] >= 420)
{
$doposts = 420;
}
Replace the above with the correct field number it shows in profile field area exp field4
Hope that helps.
|
this won't work on the new vb3.03 it seems.. that or my options to make it non-user selectable didn't work.
I don't want my users to be able to freeze their own count.
Plus I wouldn't mind the choice of freezing it at different #'s