Gossamer Forum
Home : Products : DBMan : Customization :

Mod to store email in password file and then fill from that file basic on userid?

Quote Reply
Mod to store email in password file and then fill from that file basic on userid?
Is there an existing mod, that will let me expand the admin module to include the user's email, store that with the user login and then autofill it like userid is when they submit a record? We want to implement the email on record mod but would like to automatically fill the email field since users are set up once by the admin only.



Thanks!
Lynette
Hollister, Ca

Last edited by:

ltillner: Jul 26, 2002, 10:18 AM
Quote Reply
Re: [ltillner] Mod to store email in password file and then fill from that file basic on userid? In reply to
In a similar situation we:

Used relational MOD (one to many).

1 DB = user info including email (the one side).

2nd DB is where user enters records, in a hidden input field on the add form, we get email address from the other DB based on userID. (this is the many side)

The problem is if a user changes email address after entering records, old email remains in the records, not automatically updated.

Modifying the admin section may solve this problem.
Quote Reply
Re: [ltillner] Mod to store email in password file and then fill from that file basic on userid? In reply to
I'm pretty sure I have seen this done. Most likely the codes were submitted by AstroBoy. Have you checked the FAQ under the section "Email"?

I don't have time to search right now, but I think it may be within the FAQ. If not under 'Email' then perhaps under 'Admin'

Unoffical DBMan FAQ
http://redundantcartridge.com/dbman/
Quote Reply
Re: [LoisC] Mod to store email in password file and then fill from that file basic on userid? In reply to
Thanks Lois,

I hadn't checked the email section of the FAQ, and there it was under the thread -- Add mail addresses to text file for external mail program.

I'll start with that and see what I can do!

As always, I appreciate your help and wealth of knowledge!
Lynette
Hollister, Ca
Quote Reply
Re: [ltillner] Mod to store email in password file and then fill from that file basic on userid? In reply to
I did this a while ago but I will be coming back to it soon for a client - if you are still having difficulty I'' dig out my changes...

best regards, Brian
Quote Reply
Re: [omegadm] Mod to store email in password file and then fill from that file basic on userid? In reply to
Thanks Brian,

This is one of the Customizations I will be working on over the weekend and beginning of next week. I'd appreciate any tips. I haven't investigated how to modify the password file to add the email address but that's probably where I will start.
Lynette
Hollister, Ca
Quote Reply
Re: [ltillner] Mod to store email in password file and then fill from that file basic on userid? In reply to
Just checked this and yes it is working for a client. I need to duplicate this for another client next week so will let you know if required.

In fact I will be using the the passwd file for the full contact details of users (I think).

Best regards, Brian