![]() |
Hi
Id like the date and time of a new posting to be displayed in the email thats sent to the admin or moderator when a new posting is made. What Variables to I need to use? regards Tina |
Ok, in both newthread.php and newreply.php, find this code:
Code:
// send email to moderators Code:
$emailposttime=vbdate($timeformat,time()); |
Hallo Chen,
great! thats works perfect. thanks a million for your help. greetings tina :) |
Hi Chen,
me again ;) I thought I'd try and figure this one out for myself, but I'm not getting anywhere. I'd like to have the variable time and date also for the notify_email template and I figured out that I must make changes to the functions.php ? right? But I'm not sure what and where to include it? Maybe you could help me again? regards Tina |
Sure. :)
In functions.php, find this: Code:
if (!$enableemail) { Code:
$emailposttime=vbdate($timeformat,time()); |
Hi Chen,
Yes, I tried that already and unfortunately it didn't work. Here's how my code looks: PHP Code:
greetings Tina |
All times are GMT. The time now is 07:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|