The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
any easy way to lock up or freeze a users post count?
this would be handy as I have alot of readers and small posters who want their counts locked at 420 ![]() |
#2
|
||||
|
||||
![]()
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] "); Code:
if ($bbuserinfo[fieldnumber]=='Yes' AND $bbuserinfo[posts] >= 420) { $doposts = 420; } Hope that helps. |
#3
|
||||
|
||||
![]() Quote:
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 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|