View Full Version : 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
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
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?
Check your sendmail settings again.
Hi Urb,
I didn't instal the script myself so I'm not sure where to find my send mail settings.
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
Hi Matt,
What does this line mean
# Notify visitors automatically when their links are validated?
$db_email_add = 0;
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?
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
Hi Matt,
I thought so too I have set it to 1
Thanks again for your help |peace|
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.