Previous Thread
Next Thread
Print Thread
Rate Thread
#280143 09/29/2004 1:28 AM
Joined: Nov 2001
Posts: 134
Journeyman
Journeyman
Offline
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
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
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
Code Monkey
Code Monkey
Offline
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
Journeyman
Journeyman
Offline
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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)