Page 1 of 1

HOW TO MODIFY THE LENGHT of the DESCRIPTION

Posted: Sun Dec 10, 2006 8:03 pm
by marco
Script URL: Link Manager
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

hello everybody,
I have just downloaded the Link Manager.
I would like to change the lenght of the DESCRIPTION.
I tried to change from 200 to 350 characters, but always I have a problem WARNING.etc...
How can I do it?
In which files I have to change it?
And what do I need to change?

Thank you very much,

Marco.

PS
GREAT SCRIPT! CONGRATULATION.
Your link: http://www.bellaitalia.cn/links/001.html

problems...

Posted: Sun Dec 10, 2006 8:24 pm
by marco
Thi sis the message I get if I try to exhange the link:


Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/bellacn1/domains/bellaitalia.cn/public_html/links/addlink.php:18) in /home/bellacn1/domains/bellaitalia.cn/public_html/links/addlink.php on line 130

Please try at this page:
http://www.bellaitalia.cn/links/links.php

thanks.

Posted: Tue Dec 19, 2006 5:30 pm
by Klemen
Hi,

First of all upload the ORIGINAL files again, the error you get is because of some things you edited.

Then what you need to edit is line 61 in addlink.php :

Code: Select all

if (strlen($description)>200) {
Just change the 200 number to the limit you want, for example if you want 350 change it to

Code: Select all

if (strlen($description)>350) {
You also need to change the

Code: Select all

maxlength="200"
in the HTML code inside form.html

Posted: Thu Jul 16, 2009 8:10 am
by coba
In version 1.7 you also need to change the code in admin.php

Re: HOW TO MODIFY THE LENGHT of the DESCRIPTION

Posted: Tue Jul 26, 2011 5:31 pm
by destin2008
What about the length of the URL?
Where can I change it so it takes long tail urls?
I have one listing so far that was cut short.
thanks

Re: HOW TO MODIFY THE LENGHT of the DESCRIPTION

Posted: Sat Jul 30, 2011 9:23 am
by Klemen
There's no code that shortens urls. Could you paste the URL that got shortened? Was it set as website URL or reciprocal link URL?