PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   "How Do I..." Questions (http://www.photoplog.com/forum/forumdisplay.php?f=7)
-   -   notification about new pictures (http://www.photoplog.com/forum/showthread.php?t=453)

Sir_Yaro 05-27-2006 02:57 PM

notification about new pictures
 
how can I add any notification about new pictures waiting for moderation?

Morgan 05-27-2006 10:47 PM

You could send yourself an email by using the following in the PhotoPlog edit/upload.php files:
Code:

// after $photoplog_id = $db->insert_id(); in upload.php add...

if ($photoplog_sql)
{
        vbmail($vbulletin->options['webmasteremail'], 'Title', 'Message', true);
}

// after $photoplog_id = intval($photoplog_file_id); in edit.php add...

if ($photoplog_file_moderate)
{
        vbmail($vbulletin->options['webmasteremail'], 'Title', 'Message', true);
}



All times are GMT. The time now is 10:41 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.