RE:Thread ~ Esyndicat as a trade leads database - eSyndiCat User Forums
eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > Modifications

Modifications Simple to complex modifications, made by users or by our team, applied to logic or presentation, all kinds of modifications are discussed and requested here.

Reply
 
Thread Tools Display Modes
Old 08-01-2006   #1
mehmetb
 
Join Date: Jul 2006
Posts: 10
mehmetb is on a distinguished road
Default RE:Thread ~ Esyndicat as a trade leads database

http://www.esyndicat.com/forum/about6436.html

WTM,

Why did you close my thread? You say 'you already have asked same question in the another thread',can you please show that same question that I've asked? My question is completely different and the question that Simon answered is definitely not mine.

Anyway,

After a sleepless night, I've found a solution to my problem, I'm going to share it, please check its accuracy.


My question:

I want to use eSyndicat as a trade directory and I want my visitors to add their companies, problem is some of them do not have a website. When these try to add their companies, it says:

1. Make sure you entered valid link URL. (they do not have a website)
2. Your company already exists in directory (but it does not exist. I think that warning displays because they did not enter an URL)

..and they can't add anything if they do not have a web site.

My solution:

Find suggest-link.php , lines 59-68 and delete.

Code:
/** check URL **/
	if (!$_POST['url'] || ($_POST['url'] == 'http://'))
	{
		$error = true;
		$msg .= "<li>{$gDirLang['error_url_incorrect']}</li>";
	}
	else
	{
		$link['domain'] = get_domain($_POST['url']);
	}




Find the following code in the same file and delete it:

Code:
	/** check if link already exists **/
	if ($gDirDb->checkDuplicateLinks($_POST['url']))
	{
		$error = true;
		$msg .= "<li>{$gDirLang['error_link_present']}</li>";
	}
	if ($gDirConfig['duplicate_checking'])
	{
		$check = $gDirConfig['duplicate_checking_type'] ? $link['domain'] : $link['url'];
		if ($gDirDb->checkDuplicateLinks($check, $gDirConfig['duplicate_checking_type']))
		{
			$error = true;
			$msg = $gDirLang['error_link_present'];
			$type = 'error';
		}
	}

and paste this into the same place instead of the above:

Code:
/** check if link already exists **/
	
	if ($_POST['url'] && (!$_POST['url'] == 'http://'))
	{
	if ($gDirDb->checkDuplicateLinks($_POST['url']))
	{
		$error = true;
		$msg .= "<li>{$gDirLang['error_link_present']}</li>";
	}
	if ($gDirConfig['duplicate_checking'])
	{
		$check = $gDirConfig['duplicate_checking_type'] ? $link['domain'] : $link['url'];
		if ($gDirDb->checkDuplicateLinks($check, $gDirConfig['duplicate_checking_type']))
		{
			$error = true;
			$msg = $gDirLang['error_link_present'];
			$type = 'error';
		}
	}
	}

Save and upload.

BTW,

Please do not close threads without investing little bit of time trying to understand what they want to say,Mr. Threadlocker..
mehmetb is offline   Reply With Quote
Old 08-01-2006   #2
Loren
 
Loren's Avatar
 
Join Date: Apr 2006
Location: UK
Posts: 1,095
Loren is an unknown quantity at this point
Default

Quote:
Originally Posted by mehmetb
http://www.esyndicat.com/forum/about6436.html

WTM,

Why did you close my thread? You say 'you already have asked same question in the another thread',can you please show that same question that I've asked? My question is completely different and the question that Simon answered is definitely not mine.

BTW,

Please do not close threads without investing little bit of time trying to understand what they want to say,Mr. Threadlocker..

Hello Mehmetb

Please do not be rude, this kind of attitude will not be tolerate on these forums.. if WTM closed your thread there was a reason for this, and even if you don't believe there was, you could have simply PM'd WTM and explained there, and no doubt sorted out the miss understanding.

Further more, would you please refrain from creating link titles that do not describe your problem..i.e

Quote:
Esyndicatas a trade leads database
it really does not help anyone else who may have the same question, either now or in the future.

Rather put something along the lines, How to remove Url Link? Or Url Link not needed how to remove.

Lastly, i believe this is what you were looking to achieve, and if you had looked through the forums as suggested, you would have found this...
http://www.esyndicat.com/forum/showt...need+URL+field
and therefore you may not have had a sleepless night
__________________
Light and Peace
Spirit Mind Body UK ~ Holistic Directory

Loren is offline   Reply With Quote
Old 08-01-2006   #3
Vincent Wright
 
Join Date: Sep 2005
Posts: 1,421
Vincent Wright is an unknown quantity at this point
Default

Kudos to Loren
Vincent Wright is offline   Reply With Quote
Old 08-01-2006   #4
mehmetb
 
Join Date: Jul 2006
Posts: 10
mehmetb is on a distinguished road
Default

Hi Loren,

Thanks for your reply.

I am not a rude person, and I did not ever mean to be rude. The same sentence was said to me that's why I got angry. Thanks for sending the link that is the solution to my problem, that was exactly what I was looking for but I couldn't find that when I searched through the forum, this may be because English is not my native language or just I overlooked it. If my thread had not been closed, you or someone else would send this solution to me and I would not have a sleepless night. That's the point.

Thanks again.

Regards,
Mehmet
mehmetb is offline   Reply With Quote
Old 08-01-2006   #5
Loren
 
Loren's Avatar
 
Join Date: Apr 2006
Location: UK
Posts: 1,095
Loren is an unknown quantity at this point
Default

Quote:
Originally Posted by mehmetb
Hi Loren,

Thanks for your reply.

I am not a rude person, and I did not ever mean to be rude. The same sentence was said to me that's why I got angry. Thanks for sending the link that is the solution to my problem, that was exactly what I was looking for but I couldn't find that when I searched through the forum, this may be because English is not my native language or just I overlooked it. If my thread had not been closed, you or someone else would send this solution to me and I would not have a sleepless night. That's the point.

Thanks again.

Regards,
Mehmet
Hi Mehmet

Thank you for your response, I am not going to get in to an argument with you over this matter, however this last post has saddened me, because it actually served no purpose, however i will point out a few things in response.

I am sure you are not a rude person ordinarily, but on occassions in our frustrations we can display rude qualities, and as you said you got angry, and you did display rudeness in your last sentance especially by ending it with "Mr. Threadlocker", this is a personal attack, and quite unwarranted.

If you are justifying starting this thread, as you claim because the same sentance was said to you, i did not see this in WTM's post, and I certainly did not see a personal remark, only a comment to be a bit more vigilant in your searches..be it abrupt it was not personal. As Mods we are quite entitled to close threads whether you like it or not, if you had contacted WTM regarding this matter it most likely would have been reopened, and the solution eventually posted.

Please don't forget you are not the only member on this forum, there are many many posts a day, and many members have to also have their posts answered, and most of the questions have been asked before, and if we are abrupt it's is because we are tired of answering the same questions over and over and over again, when the answers are there.

As for your last remark
Quote:
"you or someone else would send this solution to me and I would not have a sleepless night"
Once again it seems i have to reiterate this point..We don't get paid to help you, we do it voluntarily, we are not here to serve you, we are here to help if we can, when we can, and if we want to.

Further more, English may not be your native language but it's pretty spot on, written and grammatically, please..we are not fools, I typed in Url Link Remove and found this post which i posted here...Thats all you needed to do.

If you wish to make alterations or modifications to your script, please remember you take full responsiblity for this, so please refrain from blaming or making demands, because you didn't get what you wanted when you wanted it.

Lastly, i implore you to have little bit more courtesy in future for your fellow members and those that help you, that way we will all get on nicely, have peace, balance and the forums will continue to flow and grow
__________________
Light and Peace
Spirit Mind Body UK ~ Holistic Directory

Loren 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 07:35 AM.


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