Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

add/modify confirmation email address

Quote Reply
add/modify confirmation email address
I am trying to change Links to send out the confirmation email to the LinkOwner's email instead of the Contact_Email when a user adds or modifies a listing.

I looked in Add.pm and Modify.pm but the only email those files send is to the admin to notify them of a Addition/Modification to the database.

Can anyone please tell me where I can find the code in Linke 2.x that sends teh confirmation email to the user?

Thanks,

Hagai
Quote Reply
Re: [hagai] add/modify confirmation email address In reply to
That's controlled by the e-mail template. Take a look at the e-mail template editor, the link_added.eml and link_modified.eml templates.

Adrian
Quote Reply
Re: [brewt] add/modify confirmation email address In reply to
I think thats for GLinks 3.x

Im using LinksSQL 2.x

Any ideas?
Quote Reply
Re: [hagai] add/modify confirmation email address In reply to
Look in Tools.pm

Adrian
Quote Reply
Re: [hagai] add/modify confirmation email address In reply to
Line 1110 in /admin/Links/Tools.pm is the bit I think you want. Try changing:

my $email = $link->{Contact_Email} || $link->{Email};

...I'm not sure what email addy you want to use though?

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates