Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   want longer url in gossamer (http://www.greenguysboard.com/board/showthread.php?t=2625)

troy 2003-11-25 03:17 PM

want longer url in gossamer
 
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 2003-11-25 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 2003-11-26 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 2003-11-26 06:10 AM

Check your sendmail settings again.

troy 2003-11-26 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 2003-11-26 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 2003-11-27 04:37 AM

Hi Matt,

What does this line mean

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

troy 2003-11-27 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 2003-11-27 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 2003-11-28 04:49 AM

Hi Matt,

I thought so too I have set it to 1

Thanks again for your help |peace|


All times are GMT -4. The time now is 11:18 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc