HOW TO MODIFY THE LENGHT of the DESCRIPTION

Problems installing LinkMan?
Post Reply
marco
Posts: 2
Joined: Sun Dec 10, 2006 7:57 pm

HOW TO MODIFY THE LENGHT of the DESCRIPTION

Post 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
marco
Posts: 2
Joined: Sun Dec 10, 2006 7:57 pm

problems...

Post 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.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
coba
Posts: 9
Joined: Mon Jun 22, 2009 4:21 am

Post by coba »

In version 1.7 you also need to change the code in admin.php
destin2008
Posts: 5
Joined: Mon Jul 25, 2011 9:09 pm

Re: HOW TO MODIFY THE LENGHT of the DESCRIPTION

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: HOW TO MODIFY THE LENGHT of the DESCRIPTION

Post 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?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply