PDA

View Full Version : Email Quirks


jcocking
03-31-2007, 06:25 PM
1. {dir_link}

Sometimes the variable {dir_link} will show the base url and the category and other times only the base url.


-Listing Submitted email - full url including the directory
-Listing Approved email - base url only
-Listing Moved email - unknown no email sent...see #2
-Listing Modified email - base url only
-Listing Deleted email - base url only


This should show the entire URL down to a category level.


2. Listing Moved email
I can not get this email ever to be sent. I have moved a link from one category to another. I have tried every option to move it and I can not activate an email

What can be done to fix this issue?

Running 2.1.03

jeff

Sergey Ten
04-03-2007, 05:02 AM
Hello jeff,

Thank you for information. Now we are working on this problem.

jcocking
04-03-2007, 07:32 PM
If there is anything I can do to assist on this, PM me.

jeff

Sergey Ten
04-04-2007, 05:13 AM
Ok, jeff thank you :)

jcocking
04-10-2007, 10:18 PM
Sergey

I hate to interrupt you cause I know the joys of bug fixing and customer hand holding, but do you have a fix/eta for this item?

thank you

jeff

jcocking
04-12-2007, 03:41 AM
I am still learning the system, but it appears the issues are located in the following functions in the includes/classes/admin/dirlink.php file. The functions are: move, updateStatus, updateLinkStatus and delete.

I was able to get the move email working. I edited the following code in the includes/classes/admin/dirlink.php file. Around line 759, I removed the " && $notify" form the line.
old:
if($link['email'] && $notify)
new:
if($link['email'])
This function is called from the manage-links and only passes two variables, but in the function, it is declaring the $notify=false which forces it to never send an email.

So now the Move email is working, but it also does not have the category in the URL.

So the root problem is to figure out why value located in $config->get('dir') is empty in the admin side of the dirlink.php class, but is available in the main dirlink.php class.

Sergey......please help.

jeff

Sergey Ten
04-12-2007, 04:51 AM
Hello jeff,

Sorry for delay. I will check it. Thank you for information.

jcocking
04-16-2007, 03:12 AM
Any Updates??

jeff

Sergey Ten
04-16-2007, 03:53 AM
Hello jeff,

Please read this post:
http://www.esyndicat.com/forum/about9947.html