Previous Thread
Next Thread
Print Thread
Rate Thread
#280143 09/29/2004 1:28 AM
Joined: Nov 2001
Posts: 134
M
MattUK Offline OP
Journeyman
OP Offline
Journeyman
M
Joined: Nov 2001
Posts: 134
I think we need a couple of mods now that limits are in place for PM's.

1. Mods and Admins should be able to send PM's to users regardless if they are over their limit or not.. I now cant mail some users.

2. PM limits per groups.

Can anyone let me know the SQL command to clear down old messages again so I can write to some users ?

TA

Sponsored Links
statusblue #280144 09/29/2004 2:23 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
As per #1 in sendmessage.php

Find this:
Code
<br />	if ($total >= $config['total_pm']) {<br />		$html->not_right($ubbt_lang['PM_OVERLIMIT'],$Cat);<br />	}<br />


change to this:
Code
<br />	if (($total >= $config['total_pm']) && (($user['U_Status'] != "Administrator") && ($user['U_Status'] != "Moderator"))) {<br />		$html->not_right($ubbt_lang['PM_OVERLIMIT'],$Cat);<br />	}<br />


Untested, but that should do the trick.

statusblue #280145 09/29/2004 3:55 AM
Joined: Sep 2003
Posts: 488
Code Monkey
Offline
Code Monkey
Joined: Sep 2003
Posts: 488
[]MattUK said:
Can anyone let me know the SQL command to clear down old messages again so I can write to some users ?
[/]

Imo, it would be better to allow users to receive PM's from mods/admins regardless of whether they are maxed out or not, rather than deleting their messages which might cause anger

I'm actually kind of surprised that this isn't standard functionality.

statusblue #280146 09/29/2004 3:30 PM
Joined: May 2001
Posts: 550
A
Code Monkey
Offline
Code Monkey
A
Joined: May 2001
Posts: 550
Btw, this same check exists also in sendprivate.php and should be changed as well.

You might want to apply the same tactics for the "ignore user" function as well(immediately under the function above in both scripts).

domain123 #280147 02/28/2005 4:41 AM
Joined: Nov 2001
Posts: 134
M
MattUK Offline OP
Journeyman
OP Offline
Journeyman
M
Joined: Nov 2001
Posts: 134
This is cool (also posted another idea for a mod re groups) but this doesnt work when replying to a user who is full.. so I guess this needs to be fixed in a reply.. anyone know where?

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,555
Posts293,845
Members13,842
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 515
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 9
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,813
Greg Hard 4,625
Top Posters(30 Days)
Morgan 3
isaac 2
Top Likes Received
isaac 69
Gizmo 13
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
isaac 3
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20201211)
Responsive Width:

PHP: 5.4.45 Page Time: 0.045s Queries: 25 (0.018s) Memory: 3.2861 MB (Peak: 3.4777 MB) Data Comp: Zlib Server Time: 2021-05-09 13:20:08 UTC
Valid HTML 5 and Valid CSS