Gossamer Forum
Home : Products : DBMan : Customization :

Re: Upload graphic file and validation mods

Quote Reply
Re: Upload graphic file and validation mods In reply to
Hi,

In my db.cgi file, I do have the line:

(!$per_admin) and ($in{'Validated'} = "No"); ### validation - use only to re-validate after records are modified

The above line allows to re-validate a record in which a field (category, date, description, email, country etc...) has been changed.

If a user only adds or modifies his graphic file via the old upload graphic file mod (without changing anything else.. (I mean category, country, description, etc...) his record remains validated and in consequence visible by everyone.

In this last case, I would like (a member adding or modifying only his graphic file) that the validation field of his record turns from 'Yes' to 'No'.

Thanks for your help.




Subject Author Views Date
Thread Upload graphic file and validation mods vianney 1559 Jul 4, 2000, 3:11 PM
Post Re: Upload graphic file and validation mods
LoisC 1503 Jul 4, 2000, 10:28 PM
Thread Re: Upload graphic file and validation mods
vianney 1501 Jul 4, 2000, 11:44 PM
Thread Re: Upload graphic file and validation mods
JPDeni 1490 Jul 5, 2000, 10:15 AM
Post Re: Upload graphic file and validation mods
vianney 1489 Jul 5, 2000, 7:30 PM