yktan
07-14-2005, 09:58 AM
Hi, here's a mod to fix the submission notification email for both the user and administrator (there are 2 emails that are being sent out when a submission is entered).
Open include\functions.php
(1) Find:
Content visible to registered users only.
Add below:
Content visible to registered users only.
(2) Find:
Content visible to registered users only.
Replace with:
Content visible to registered users only.
The reasons for the above changes:
Since during the submission process, no admin user is logged in, the function will not be able to get the admin user's email and name. A new function is made so that it will take the first admin user's email and name to be used during sending of emails.
Note: This is a temporary fix. I am not sure if dcb will implement new parameters to let you specify what is the default email address and name to be used for sending emails.
Open include\functions.php
(1) Find:
Content visible to registered users only.
Add below:
Content visible to registered users only.
(2) Find:
Content visible to registered users only.
Replace with:
Content visible to registered users only.
The reasons for the above changes:
Since during the submission process, no admin user is logged in, the function will not be able to get the admin user's email and name. A new function is made so that it will take the first admin user's email and name to be used during sending of emails.
Note: This is a temporary fix. I am not sure if dcb will implement new parameters to let you specify what is the default email address and name to be used for sending emails.