![]() |
![]() |
![]() |
|
|||||||
| Bug Reports "Brrr! Bugs!" Yes, we do hate them as well. But nothing is perfect in this world and if you found a bug let us know so that we can make eSyndiCat Directory Software even better. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Mar 2006
Posts: 6
![]() |
Hi people!
I have noticed bug in esc PRO 2.1.03 (hope it hasn't discussed before). URL to the link’s category is incorrect at the “Link approval” message. It contains just url to the script ROOT directory. P.S. “Link submission” message contains correct url to the future link’s category. Both email templates contain same variables “{own_dir_url}” Last edited by Nautilus; 07-18-2007 at 11:26 AM. |
|
|
|
|
|
#2 |
|
eSyndicat Support Team
Join Date: Sep 2006
Posts: 727
![]() ![]() ![]() ![]() |
Hello, Nautilus!
Thank you for this bug report! How to fix it: [Open /includes/classes/admin/DirLink.php file] [Find in function updateLinkStatus next code: ] Code:
$link = $this->row("*","`id`='".$aLink."'");
if ($link['email'])
{
$this->setTable("categories");
$category = $this->row("`path`","`id`='".$link['id_category']."'");
$this->resetTable();
$event = array(
"type" => EMAIL_NOTIFY,
"action" => $action,
"params" => array(
"rcpts"=> array($link['email']),
"listing"=> $link,
"path"=> $category['path'],
"id_category" => $link['id_category']
Code:
$link = $this->row("*","`id`='".$aLink."'");
$this->setTable("link_categories");
$cat_id = $this->row("`id_category`","`id_link`='".$aLink."'");
$this->resetTable();
if ($link['email'])
{
$this->setTable("categories");
$category = $this->row("`path`","`id`='".$cat_id['id_category']."'");
$this->resetTable();
$event = array(
"type" => EMAIL_NOTIFY,
"action" => $action,
"params" => array(
"rcpts"=> array($link['email']),
"listing"=> $link,
"path"=> $category['path'],
"id_category" => $cat_id['id_category']
__________________
Regards, Michael Hill eSyndiCat Directory Script Our webhosting - Intelligent Web Hosting Last edited by Michael Hill; 07-19-2007 at 07:53 AM. |
|
|
|
|
|
#3 |
|
Join Date: Mar 2006
Posts: 6
![]() |
Thnx Michael for your help
![]() I'll fix all my directories now.... |
|
|
|
|
|
#4 |
|
eSyndicat Support Team
Join Date: Sep 2006
Posts: 727
![]() ![]() ![]() ![]() |
You are welcome, Nautilus!
Thank you for reporting about such bug.
__________________
Regards, Michael Hill eSyndiCat Directory Script Our webhosting - Intelligent Web Hosting |
|
|
|
|
|
#5 |
|
Join Date: Sep 2007
Posts: 5
![]() |
I have the same problem in Omega 1.6.
How to fix it: Thanks |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|