Incorrect link’s URL at the “Link approval” message - eSyndiCat User Forums
eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > Bug Reports

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.

Reply
 
Thread Tools Display Modes
Old 07-18-2007   #1
Nautilus
 
Join Date: Mar 2006
Posts: 6
Nautilus has disabled reputation
Default Incorrect link’s URL at the “Link approval” message

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.
Nautilus is offline   Reply With Quote
Old 07-19-2007   #2
Michael Hill
eSyndicat Support Team
 
Join Date: Sep 2006
Posts: 727
Michael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the rough
Default

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']
[Edit this code by next manner: ]

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']
[Save this file and close]
__________________
Regards,
Michael Hill
eSyndiCat Directory Script

Our webhosting - Intelligent Web Hosting

Last edited by Michael Hill; 07-19-2007 at 07:53 AM.
Michael Hill is offline   Reply With Quote
Old 07-19-2007   #3
Nautilus
 
Join Date: Mar 2006
Posts: 6
Nautilus has disabled reputation
Default

Thnx Michael for your help
I'll fix all my directories now....
Nautilus is offline   Reply With Quote
Old 07-23-2007   #4
Michael Hill
eSyndicat Support Team
 
Join Date: Sep 2006
Posts: 727
Michael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the rough
Default

You are welcome, Nautilus!

Thank you for reporting about such bug.
__________________
Regards,
Michael Hill
eSyndiCat Directory Script

Our webhosting - Intelligent Web Hosting
Michael Hill is offline   Reply With Quote
Old 09-03-2007   #5
darkness
 
Join Date: Sep 2007
Posts: 5
darkness is on a distinguished road
Default

I have the same problem in Omega 1.6.
How to fix it:

Thanks
darkness is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 10:27 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us