Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post How To Enable PM Restrictions 
 
Hi,
I've been searching high and low if this had already been discussed but was unlucky. My simple question is: is it possible to disable the sending of PMs from users with less than 30 posts?

Thanks

PS to himself:
Hope I got the right section this time.

 



 
AlpaSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: How To Enable PM Restrictions 
 
TRY this on prvmsg.php

find
Code: [Download] [Hide] [Select]
        //
        // Has admin prevented user from sending PM's?
        //
        if ( !$userdata['user_allow_pm'] )
        {
            $message = $lang['Cannot_send_privmsg'];
            message_die(GENERAL_MESSAGE, $message);
        }


after, add

Code: [Download] [Hide] [Select]
        if ( $userdata['user_posts'] < 30 )
        {
            $message = $lang['Cannot_send_privmsg'];
            message_die(GENERAL_MESSAGE, $message);
        }

 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Enable PM Restrictions 
 
Thanks a lot for your help.

Alpa
 



 
AlpaSend private message  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron