
12-29-2005, 12:23 PM
|
 |
|
|
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by 1996 328ti
I'm posting this again.
I'd like to have the form sent to the user as a PM.
//USERNAME TO PM TO
//$formpmname = "Abe";
$formpmname = $vbulletin->userinfo['username'];
Will work unless the person has their PMs OFF. Then I get
Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 758
Is there a conditional statement I can use if the person is accepting PMs and not above quota, use $formpm = "1"; and if not $formpm = "0";
|
PHP Code:
if ($vbulletin->userinfo['receivepm'])
{
$formpm = "1";
}
else
{
$formpm = "0";
}
|