|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
OK, the code I had wasn't like this, so I wrote it. Here you go, only minimally tested  I have it set for 50 posts, you'll need to adjust that to whatever number you like. mess_handler.phpFind: $user = $userob -> authenticate("U_Groups,U_EReplies,U_TextCols,U_TextRows,U_Preview"); $Username = $user['U_Username']; $Password = $user['U_Password'];
Replace with: $user = $userob -> authenticate("U_Groups,U_EReplies,U_TextCols,U_TextRows,U_Preview,U_Totalposts"); $Username = $user['U_Username']; $Password = $user['U_Password'];
if ($user['U_Totalposts'] < "50" ) { $html = new html; $html -> not_right("You need 50 posts in the forum to send a private message,",$Cat); }
send_message.phpFind: $user = $userob -> authenticate("U_Language,U_TextCols,U_TextRows"); $Username = $user['U_Username'];
Replace with: $user = $userob -> authenticate("U_Language,U_TextCols,U_TextRows,U_Totalposts"); $Username = $user['U_Username'];
if ($user['U_Totalposts'] < "50" ) { $html = new html; $html -> not_right("You need 50 posts in the forum to send a private message,",$Cat); }
send_private.phpFind: $user = $userob -> authenticate("U_TextCols,U_TextRows,U_Preview,U_CoppaUser"); $Username = $user['U_Username'];
Replace with: $user = $userob -> authenticate("U_TextCols,U_TextRows,U_Preview,U_CoppaUser,U_Totalposts"); $Username = $user['U_Username'];
if ($user['U_Totalposts'] < "50" ) { $html = new html; $html -> not_right("You need 50 posts in the forum to send a private message,",$Cat); }
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|