Hello I'm using D 7.0.7 right now
and I would like to add a Email Templates for member ship alert?
but I don't really know where to edit the code into?
the only Email Templates that I need to add this
The letter is sent to members whose membership level was changed.
<html><head></head><body style="font: 12px Verdana; color:#000000">
<p><b>Hello <RealName></b>,</p>
<p>Your membership level was changed to: <b><MembershipLevel></b></p>
<p>Please refer to membership page for more details: <a href="<Domain>modules/?r=membership/index/">My Membership</a></p>
<p>--</p>
<p style="font: bold 10px Verdana; color:red"><SiteName> mail delivery system!!!
<br />Auto-generated e-mail, please, do not reply!!!</p></body></html>
I have that Email templates on D 7.0.8 but i don't know how to get it into D 7.0.7
please help
Thank you very much =]
|
i have add
r15236 |
r15600 |
|
664 |
664 |
$oZ->alert(); |
665 |
665 |
|
|
666 |
$oEmailTemplate = new BxDolEmailTemplates(); |
|
667 |
$aTemplate = $oEmailTemplate->getTemplate('t_MemChanged', $iMemberId); |
|
668 |
|
|
669 |
$aMembershipInfo = getMembershipInfo($iMembershipId); |
|
670 |
$aTemplateVars = array( |
|
671 |
'MembershipLevel' => $aMembershipInfo['Name'] |
|
672 |
); |
|
673 |
|
|
674 |
sendMail( $aProfileInfo['Email'], $aTemplate['Subject'], $aTemplate['Body'], $iMemberId, $aTemplateVars); |
|
675 |
|
666 |
676 |
return true; |
667 |
677 |
} |
But I don't know where is /install/sql/v70.sql
there is not install folder in my root?
-
r15559 |
r15600 |
|
935 |
935 |
INSERT INTO `sys_email_templates` VALUES(13, 't_FreeEmail', 'Free contact information', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<p><b>Dear <RealName></b>,</p>\r\n\r\n<p>You have requested <strong><profileNickName></strong>''s contact information.</p>\r\n\r\n<p><profileContactInfo></p>\r\n\r\n<p>View member''s profile: <a href="<Domain>profile.php?ID=<profileID>"><Domain>profile.php?ID=<profileID></a></p>\r\n\r\n<p><b>Thank you for using our services!</b></p>\r\n\r\n<p>--</p>\r\n<p style="font: bold 10px Verdana; color:red"><SiteName> mail delivery system!!!\r\n<br />Auto-generated e-mail, please, do not reply!!!</p></body></html>', 'Free contact information letter template sent to members requesting contact information.', 0); |
936 |
936 |
INSERT INTO `sys_email_templates` VALUES(15, 't_MemExpiration', '<your subject here>', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<p><b>Hello <RealName></b>,</p>\r\n\r\n<p>We are notifying you that your <SiteName> <MembershipName> will expire in <ExpireDays> days (-1 = already expired).\r\n\r\n To renew your membership login to your <SiteName> account at <a href="<Domain>member.php"><Domain>member.php</a> and go to <a href="<Domain>modules/?r=membership/index/">My Membership</a></p>\r\n\r\n<p>Your Member ID: <span style="color:#FF6633; font-weight:bold;"><recipientID></span></p>\r\n\r\n<p>--</p>\r\n<p style="font: bold 10px Verdana; color:red"><SiteName> mail delivery system!!!\r\n<br />Auto-generated e-mail, please, do not reply!!!</p></body></html>', 'Membership expiration letter sent to members whose membership level expires.', 0); |
|
937 |
INSERT INTO `sys_email_templates` VALUES(16, 't_MemChanged', 'Your membership level was changed', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<p><b>Hello <RealName></b>,</p>\r\n\r\n<p>Your membership level was changed to: <b><MembershipLevel></b></p>\r\n\r\n<p>Please refer to membership page for more details: <a href="<Domain>modules/?r=membership/index/">My Membership</a></p>\r\n\r\n<p>--</p>\r\n<p style="font: bold 10px Verdana; color:red"><SiteName> mail delivery system!!!\r\n<br />Auto-generated e-mail, please, do not reply!!!</p></body></html>', 'The letter is sent to members whose membership level was changed.', 0); |
937 |
938 |
INSERT INTO `sys_email_templates` VALUES(17, 't_Message', 'You receive messages from other members', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<p><b>Dear <RealName></b>,</p>\r\n\r\n<p>We are glad to inform you that the member\r\n<a href="<ProfileUrl>"><ProfileReference></a> has sent you a message! </p>\r\n\r\n<p>-------- Message ------------------------------------------------<br />\r\n<span style="color:#3B5C8E"><MessageText></span><br />\r\n---------------------------------------------------------------------\r\n</p>\r\n\r\n<p><b>Thank you for using our services!</b></p>\r\n\r\n<p>--</p>\r\n<p style="font: bold 10px Verdana; color:red"><SiteName> mail delivery system!!!\r\n<br />Auto-generated e-mail, please, do not reply!!!</p></body></html>', 'Message template sent to members when they receive messages from other members.', 0); |
938 |
939 |
INSERT INTO `sys_email_templates` VALUES(19, 't_UserJoined', 'New user joined', '<html><head></head><body style="font: 12px Verdana; color:#000000">\r\n<p>New user <RealName> with email <Email> has joined, his/her ID is <recipientID></p>\r\n\r\n<p>--</p>\r\n<p style="font: bold 10px Verdana; color:red"><SiteName> mail delivery system!!!\r\n<br />Auto-generated e-mail, please, do not reply!!!</p></body></html>', 'Admin notification - new user joined', 0);
|
|
ok I tried
and
from fresh reinstall and it work but I would like to know how to add email templates in
without have to reinstall new fresh D7?
why, because I have edit a lot of stuff almost everything on my website and it would take me 1-3days to recode it.
please help Thank you
|