php forum
php mysql forum
php mysql smarty
 
Topic Options
#280143 - 09/29/04 01:28 AM PM Mods
MattUK Offline
Journeyman

Registered: 11/23/01
Posts: 137
I think we need a couple of mods now that limits are in place for PM's.<br /><br />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.<br /><br />2. PM limits per groups.<br /><br />Can anyone let me know the SQL command to clear down old messages again so I can write to some users ? <br /><br />TA <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />

Top
#280144 - 09/29/04 02:23 AM Re: PM Mods [Re: statusblue]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
As per #1 in sendmessage.php<br /><br />Find this:<br />
Code:
<br />	if ($total &gt;= $config['total_pm']) {<br />		$html-&gt;not_right($ubbt_lang['PM_OVERLIMIT'],$Cat);<br />	}<br />
<br /><br />change to this:<br />
Code:
<br />	if (($total &gt;= $config['total_pm']) &amp;&amp; (($user['U_Status'] != "Administrator") &amp;&amp; ($user['U_Status'] != "Moderator"))) {<br />		$html-&gt;not_right($ubbt_lang['PM_OVERLIMIT'],$Cat);<br />	}<br />
<br /><br />Untested, but that should do the trick.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#280145 - 09/29/04 03:55 AM Re: PM Mods [Re: statusblue]
Twisty Offline
Code Monkey

Registered: 09/26/03
Posts: 524
[]MattUK said: <br />Can anyone let me know the SQL command to clear down old messages again so I can write to some users ? <br />[/] <br /> <br />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 <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />I'm actually kind of surprised that this isn't standard functionality.
_________________________
Twisty []http://www.mameworld.info/misc/nana2.gif[/]
MAMEWorld

Top
#280146 - 09/29/04 03:30 PM Re: PM Mods [Re: statusblue]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
Btw, this same check exists also in sendprivate.php and should be changed as well. <br /><br />You might want to apply the same tactics for the "ignore user" function as well(immediately under the function above in both scripts).

Top
#280147 - 02/28/05 03:41 AM Re: PM Mods [Re: domain123]
MattUK Offline
Journeyman

Registered: 11/23/01
Posts: 137
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?

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks