Gossamer Forum
Home : Products : DBMan : Customization :

re-validate

Quote Reply
re-validate
Hi,

After leaving dbman for 6 months to get it out of my mind, I tried a few other databases but I noticed this dbman is just what I want. So I installed it again and put some mod's in. And for now it's just working great as I would like it to work. But...

I have a problem with the re-validate.
I would like to have to re-validate the record of a user if he made a change. So I did:


############################################
#file: db.cgi #
# sub modify_record #
# #
# before #
# $status = &validate_record; #
# add the following #
# #
# Note: Use this only if you want to re-validate records after they are #
# modified by the user. #
##############################################

(!$per_admin) and ($in{$db_validated_field} = "No");




where it belongs.

If a new record is added by a user, it will only show up after validation by the admin. So far, so good. But if the user changes something in his record, it does not ask for (re-) validation anymore and stays visible for everybody. Even if the records shows; Validated = No.

Where should I search for this error, because I read the mod over and over again, and I modified it as I was told to do.Unsure

Last edited by:

Foton: Sep 24, 2002, 5:18 AM
Quote Reply
Re: [Foton] re-validate In reply to
Quote:
But if the user changes something in his record, it does not ask for (re-) validation anymore and stays visible for everybody.

Just a wild guess, but it could be a browser refresh problem.

Just make sure you refresh the page that shows the editted record.
Quote Reply
Re: [joematt] re-validate In reply to
...............thanks joematt...........

...for getting my feet back on the ground......

.........that solved the problem..............

........Pirate