omardealo
10-20-2014, 01:59 PM
Hello ,
i used automatically Send PMs code , it works good
but if User receives the message, which has a box full of PM cannot receive this message
how i edit the code Send PMs [ no matter if the PM box of the User receives is full or not ]
// create new PM
$pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY);
$pmdm->set('fromuserid', $vbulletin->options['search_duplicate_thread_adminid']);
$pmdm->set('fromusername', $adminid_res['username']);
$pmdm->set('title', $search_duplicate_thread_pmtitle);
$pmdm->set('message', $search_duplicate_thread_pmmsg);
$botpermissions['adminpermissions'] = 2;
$pmdm->set_recipients($vbulletin->userinfo['username'], $botpermissions);
$pmdm->set('dateline', TIMENOW);
$pmdm->save();
i used automatically Send PMs code , it works good
but if User receives the message, which has a box full of PM cannot receive this message
how i edit the code Send PMs [ no matter if the PM box of the User receives is full or not ]
// create new PM
$pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY);
$pmdm->set('fromuserid', $vbulletin->options['search_duplicate_thread_adminid']);
$pmdm->set('fromusername', $adminid_res['username']);
$pmdm->set('title', $search_duplicate_thread_pmtitle);
$pmdm->set('message', $search_duplicate_thread_pmmsg);
$botpermissions['adminpermissions'] = 2;
$pmdm->set_recipients($vbulletin->userinfo['username'], $botpermissions);
$pmdm->set('dateline', TIMENOW);
$pmdm->save();