Hi Chen,
Yes, I tried that already and unfortunately it didn't work. Here's how my code looks:
PHP Code:
// ############## Send out email notification ############
function sendnotification ($threadid, $userid, $postid) {
// $threadid = threadid to send from;
// $userid = userid of who made the post
// $postid = only sent if post is moderated --
used to get username correctly
global $DB_site, $enableemail, $message, $bbtitle,
$webmasteremail, $bburl, $postusername, $bbuserinfo;
if (!$enableemail) {
return;
}
$emailposttime=vbdate($timeformat,time());
$emailpostdate=vbdate($dateformat,time());
$threadinfo = getthreadinfo($threadid);
$foruminfo = getforuminfo($threadinfo[forumid]);
I'm getting the email, but no date an time is show in it. Any ideas?
greetings Tina