View Full Version : How to get reciprocal link in email template
dousma
09-02-2006, 04:41 PM
I like to see the reciprocal link in the email notifications but which code or field do I have to add?
Dave Baker
09-07-2006, 01:36 AM
Hello dousma,
***Admin Panel ->CONFIGS ->Email Templates ->Link submission admin notification ->after
Email: {your_site_email}
add line
Reciprocal: {your_site_reciprocal}
->Save Ghanges.***
***Open file classes/DirMailer.php and find function "sendSubmissionNotif"***
function sendSubmissionNotif($aAdmin, $aLink, $aCategory)
***In this function below lines***
$body = str_replace('{your_site_email}', $aLink['email'], $body);
***add following line***
$body = str_replace('{your_site_reciprocal}', $aLink['reciprocal'], $body);
***Save file***
dousma
09-08-2006, 02:50 PM
Thanks Dave, works fine. Maybe Simon shouls put this standard in the next version!
Dave Baker
09-08-2006, 05:16 PM
Ok dousma, I will talk with Simon about it.
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.