I know that Dolphin has a function to notify a user when their membership has expired. Where is the code for this?
I would like to have the site notify me, the site owner, when a user's membership expires as well. Has any put this in place?
I know that Dolphin has a function to notify a user when their membership has expired. Where is the code for this? I would like to have the site notify me, the site owner, when a user's membership expires as well. Has any put this in place? |
I think what you're looking for is in /inc/classes/BxDolCronCmd.php ... Look for this section: // - Membership check - Right below that is sends the letters. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Thank you mscott. That did help me find the file that sends the letters. Unfortunately, I'm not sure of how to use that to send a duplicate to my email as well. Any one have any ideas? Thank you. |
Ok, I just realized my first answer wasn't really what you needed.. that file I pointed out just tells Dolphin to send the letters, BUT the actual function that sends them is in /inc/admin.inc.php If you look in that file for "function mem_expiration_letter" you'll find it.
Would you be ok if it just copied you on the exact email it sends to the member? If so you should be able to just change this line:
To something like:
The period between the two joins them, the comma that is inside the quotes will seperate the two addresses. The only downside to this is the member will be able to see your email address in the "to" section, but it will get the job done. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Thank you very much mscott. Your help is much appreciated! |
No problem, glad I could help. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |