Thanks!
I'll be giving them a go today...hopefully!
-------------------------------------------------------------------------------------------------------------
ok - so since i'm not a whiz when it comes to php...I'm trying to figure out what this code does exactly...in other words, I'm trying to edit the code to fit my needs...
So I need to change 1 = Andy and 267 = Nan too....
The first one will be my user number, then I just list off the other users and their user numbers that I want to watch?
Then in the array(1,267) I just add in the numbers I want to follow?
Code:
// 1 = Andy
// 267 = Nan
if (in_array($vbulletin->userinfo['userid'], array(1, 267))){
// Construct the message text
$subject = "New post needing followup";
$postdate = 'Post Date: '. date('m-d-Y');
$posttime = 'Post Time: '. date('h:i A');
$message = 'Please review the following new post in this thread: ' . '
' . '[thread]' . $threadinfo['threadid'] . '[/thread]' . '
' . $postdate . '
' . $posttime;
// Init the PM datamanager
$pm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY);
$pmperms['adminpermissions'] = 2;
// Fill in the blanks
$pm->set('fromuserid', '1'); // admin id number
$pm->set('fromusername', 'Andy'); // admin name
$pm->set('title', $subject);
$pm->set('message', $message);
$pm->set_recipients('Andy', $pmperms); // admin name
$pm->set('dateline', time());
// Send the PM
if (empty($pm->errors))
{
// There are no errors, so send the PM
$pm->save();
}
}