PDA

View Full Version : E-mail variables incorrect??


Valtar
07-12-2005, 03:14 AM
As you can see from the photo, some of the variables work but the others don't.

From my tests these work:

{MY_SITE_NAME}
{MY_SITE_URL}
{MY_SITE_DESC}

These Do not:

{EMAIL_TITLE}
{EMAIL_NAME}
{EMAIL_URL}

NOTE: I only tested with the Notification E-mails.

Content visible to registered users only.

dcb
07-12-2005, 03:26 AM
Sorry, for the moment the info on the email templates fields is not brought up to date.
Here is a brief explanation.
Fields starting with EMAIL are only available in the Emailer, not in notifications.
Fields starting with MY_SITE are available everywhere.
Also in submit/approve/reject messages all the fields in the PLD_LINK table are available with LINK_ prepended, eg. LINK_TITLE
Besides the LINK_* fields in the payment notifications also the fields in the PLD_PAYMENT table are available with PAYMENT_ prepended

When the time permits I promise I'll write a proper documentation. :roll:

Valtar
07-12-2005, 03:49 AM
As always thanks for your quick response, I was just testing some things trying to learn how everything works. I thought I would pass on what I had found, as I know you guys are trying to work the bugs out.

Johnny

trailblaza
07-14-2005, 03:32 PM
yup, that solved the problem for that :D

lj.

Ap0s7le
07-14-2005, 06:19 PM
For those who don't know how to look in the various tables I've made a quick mod to the file "templates/admin/email_message_edit.tpl"

You can download it from here:
http://www.ap0s7le.com/clients/phplinkdirectory/email_message_edit_TPL.zip

Just extract the file to the forementioned directory overwritting your old copy.
As always, make a backup of the file first.

I didn't add the Payment data, I can later if there is a demand for such.

later

Anat
11-09-2005, 05:29 PM
Is there a way to use the submitted site's name or url in email notifications then? I want acceptans/rejection messages to go like -

Your site (url or site name) has been bla bla bla.

How can I do that?

yktan
11-10-2005, 04:02 AM
Hi Anne, here's a list of variables that you can use in your email templates:

Content visible to registered users only.

So, to use the submitted site's name and url for email notifications, just use the {LINK_TITLE} and {LINK_URL} variables.

Regards,
York Kie

Foxito
05-10-2006, 02:04 PM
hi,
then if i want to send my directory url (by notification) where link has been added ?
How can I do that?
thanks

dcristo
05-16-2006, 04:11 PM
Content visible to registered users only.

From my tests, that variable does not work.

David
05-16-2006, 08:13 PM
I know there is a long thread in the Supporters Forum.
Are you using v3 and/or a member of the Supporters Forum?