Gossamer Forum
Home : Products : DBMan : Customization :

Private emailer

Quote Reply
Private emailer
Could someone please assist me, I have added the mod private emailer, which works just fine.

The problem is when you move your mouse over the 'send email to this person'link it shows the email address of the person at the bottom of the browser (IE) address bar and also when you use view source

Is there any way of hidding the email address???

Quote Reply
Re: Private emailer In reply to
In your sub html_record are you using the link for sending private email as:

<A HREF="$db_script_link_url&$db_key=$rec{$db_key}&send_email_form=1">Send email to this person</A> ## private email

If so, it should be associated by record by the db_key to then go to the sub html_send_email_form.

And you do have the following line defined in your .cfg file?

# Fieldname that contains the email address of the user
$db_email_field = 'Email'; ### private mail

If you have everything as stated in the mod instructions, please save a copy of your files and .txt files and provide the urls so we can check them out.




Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Private emailer In reply to
Thanks for the prompt reponse
the file is at www.findaschoolmate.com/script.htm

I just realised the reason why you can see the email address is because its there user login ID!!!!

example of shortcut for Send email to this person.

http://www.findaschoolmate.com/cgi-local/dbman/db.cgi?db=northamptonshire&uid=test.9966029542723&ID=lilithb@softhome.net&send_email_form=1

I changed the USER ID to Email Address ID to allow me to double check email returned undelivered against the login email address

Is there anyway of hidding the user login ID

sorry for the trouble,

Thanks

Scriv1




Thanks again

Quote Reply
Re: Private emailer In reply to
Try changing where you have your ID field defined in your html_record_form from:

<input type="hidden" NAME="ID" VALUE="$rec{'ID'}">

to: (it's within a table so it needs to be within a table tag.)

|;
if ($per_admin) { print qq|
<TR><TD colspan=2>ID:  <INPUT TYPE="TEXT" NAME="ID" SIZE="5" VALUE="$rec{'ID'}"></TD></TR> |;
}
else { print qq|
<TR><TD colspan=2><input type="hidden" NAME="ID" VALUE="$rec{'ID'}"></TD></TR> |;
}
print qq|

Also in your .cfg file you need to identify the authorized user field, which you currently have set for the ID.

$auth_user_field = 2; ## Christian name

Please try changing those 2 things and see if that helps.

You might also want to check out this thread:

Thread reference: http://gossamer-threads.com/p/95426
Subject: Email for UID?
CynThea - 22-Jul-00

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Private emailer In reply to
Ive given up, thanks for your support - i think i will leave things alone for a while, i have added so many mods, i need to think it thro.
;-)