PDA

View Full Version : want longer url in gossamer


troy
11-25-2003, 03:17 PM
Hello All,

I use gossamer on my link list and on the add page my max length for a URL is 75.
Where can I change this to a higher|rasta| number?

Thanks in advance,
Troy

matt
11-25-2003, 08:14 PM
Hey Troy,

I presume you're talking about links2...

You need to open up the links.def file and go to where it says

# Definition of your database file.

Change the 75 in this line:

URL => [2, 'alpha', 40, 75, 1, 'http://', '^http|news| mailto|ftp'],

To a higher number, mabye 150.


Hope this helps :)

Matt

troy
11-26-2003, 05:50 AM
Yep that worked
Thanks Matt |shake|

Maybe you can help with this one to.

If I accept a link the script doesn't send a email to the person with your link is accepted although resieve email is yes.
Can't figure out why do you?

urb
11-26-2003, 06:10 AM
Check your sendmail settings again.

troy
11-26-2003, 10:08 AM
Hi Urb,

I didn't instal the script myself so I'm not sure where to find my send mail settings.

matt
11-26-2003, 04:22 PM
Troy,

Open up links.cfg and find:


# PATH of sendmail. # SMTP Server
$db_mail_path = ' '; $db_smtp_server = ' ';


You need to set one of these, preferably sendmail... So ask your host what the path to sendmail is on your server and put it between the two ' '.


Matt

troy
11-27-2003, 04:37 AM
Hi Matt,

What does this line mean

# Notify visitors automatically when their links are validated?
$db_email_add = 0;

troy
11-27-2003, 04:48 AM
Forgot one thing

# Set only ONE of either $db_mail_path which should go to a
# mail program like sendmail, or $db_smtp_server which will use
# a SMTP server. Do not set both at once!

# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/lib/sendmail'; $db_smtp_server = '';

one of them is set?

matt
11-27-2003, 03:01 PM
Troy,

This

# Notify visitors automatically when their links are validated?
$db_email_add = 0;

Needs to be set to 1 if you want to send acceptance / rejection emails, which I think you do... :)

And

# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/lib/sendmail'; $db_smtp_server = '';

Is the way it should look, with only one of them set.


Matt

troy
11-28-2003, 04:49 AM
Hi Matt,

I thought so too I have set it to 1

Thanks again for your help |peace|