1.4 Only allowing short website descriptions and titles?

Problems installing LinkMan?
Post Reply
Rufanuf
Posts: 15
Joined: Thu Mar 20, 2008 8:58 am

1.4 Only allowing short website descriptions and titles?

Post by Rufanuf »

Script URL:http://www.siamfishingtours.com/links/links.php
Version of script:1.4
Hosting company:IXwebhosting
URL of phpinfo.php:??
URL of session_test.php:??
What terms did you try when SEARCHING for a solution: Changing length of title and web description in linkman

Write your message below:

Hi,

I've managed to get linkman working on my site. Ran a few test links though with mixed results. Two commonest error messages where "Title is too long! and/or "This is too long".

Trouble is they was not long at all. One I was trying to add was

Title: CatfishED.com
URL:http://www.catfished.com
Description: Catfish, carp and bass fishing at Clear Lake in Northern California. Lots of information on baits, rigs and tackle plus a friendly fishing forum.


I tried adding this numerous times cutting the description down and down until it then accepted. but if you look on my link page you will see it and the other two are very short descriptions!

Is there anyway we can change the description permissions?

Thanks

Ruf
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

There's a typo in the code, try changing line 51 in addlink.php from

Code: Select all

if (strlen($description)>50)
to

Code: Select all

if (strlen($title)>50)
and see if it help. It should accept 50 char title and 200 char description then.
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
Rufanuf
Posts: 15
Joined: Thu Mar 20, 2008 8:58 am

Thanks Klemen

Post by Rufanuf »

Ill do that, and then once its clear its working...buy a licence! Thanks for your hard work. Ive now just used your mboard script too, which I hope is really going to add some interest to my site over time.
Thanks again!

:)
4square
Posts: 1
Joined: Fri Mar 28, 2008 5:40 am

Post by 4square »

This will absolutely fix the problem. I figured it out about a day ago
Post Reply