Hi,
In FTP, goto /admin/template/luna/local, and find link_expired.eml.
Download it, and put the following code in it:
Code:
To: <%if Name%>"<%Name%>" <<%Email%>><%else%><%Email%><%endif%>
From: <%config.db_admin_email%>
Subject: Expiry Notification
Content-Type: text/html
Hello<%if Name%> <%Name%><%endif%>,
The following link<%if expiry_links.length != 1%>s<%endif%> <%if expiry_links.length != 1%>have<%else%>has<%endif%> expired:
<%loop expiry_links~%>
<%Title%>
Expiry Date: <%ExpiryDate%>
Renewal Payment: <%renewal_url%>
<%endloop%>
Please make a payment as soon as possible or contact us for more information.
Sincerely,
Links Manager
<%~--
File : link_expired.eml
Description : This is the e-mail a user receives when their link has
expired.
Tags : The Title, ID, and ExpiryDate of the links that have
expired are in the loop expired_links.
--%>
<%GT::Template::dump%>
Thats all I was saying =)
Oh, ahctually - looking at it, the reason its not letting you use Contact_Email, is cos that tag won't be available. Its looping through ALL the links a user has, that have expired - so the only place "Contact_Name" and "Contact_Email" will exist, are between:
Code:
<%loop expiry_links~%>
<%Title%>
Expiry Date: <%ExpiryDate%>
Renewal Payment: <%renewal_url%>
<%endloop%>
Why exactly do you wanna use Contact_Email/Name?
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work! Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500) Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins! Compare our different Plugin packages *new* Free CSS Templates