Gossamer Forum
Home : Products : DBMan : Installation :

Limiting records per user?

Quote Reply
Limiting records per user?
Hi all,

I'm trying to set up DBMan v2.04 to keep track of members to a site. I have view/modify own only set and was wondering if I could prevent members from making a second record for themselves? An ideal setup would be... Create User Record, User Login, Add Record (allow if no record exists), then disable Add (if record exists).

Make sense?
Quote Reply
Re: Limiting records per user? In reply to
I am not a programmer but i am using dbman for my icq list.

It's very easy to do.
At the default.cfg, set $db_key = 'Userid'; .
If users add the second record, they will receive error due to deplicated of db_key.

Hope this helps.