https://www.icyphoenix.com/viewtopic.php?f=35&t=2870&p=20161#p20161
-----------------------------------
Zuker
Fri 28 Sep, 2007 23:21

Re: How To Enable PM Restrictions
-----------------------------------
TRY this on prvmsg.php

find
[code linenumbers=false]
		//
		// Has admin prevented user from sending PM's?
		//
		if ( !$userdata['user_allow_pm'] )
		{
			$message = $lang['Cannot_send_privmsg'];
			message_die(GENERAL_MESSAGE, $message);
		}[/code]

after, add

[code linenumbers=false]		if ( $userdata['user_posts'] < 30 )
		{
			$message = $lang['Cannot_send_privmsg'];
			message_die(GENERAL_MESSAGE, $message);
		}[/code]


