Gossamer Forum
Home : Products : DBMan : Discussions :

Re: how to search for keywords, only if field2=active?

Quote Reply
Re: how to search for keywords, only if field2=active? In reply to
Quick way:

Wrap your entire record code in html_record in an if statement. eg:

if (($rec{'Validated'} eq 'Yes') || $per_admin) {
...HTML for record...
}


Longer way:

Get the validate MOD. It's a MOD written by JPDeni for DBMan which allows an admin to approve newly added (and optionaly, mofified) records to the database. Un-Validated records are kept hidden until validated, and it inlcudes a mail-out feature which emails the user to tell them their record has either been validated or denied.

Cheers,

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Subject Author Views Date
Thread how to search for keywords, only if field2=active? marinedesign 4565 Sep 14, 2000, 5:08 PM
Thread Re: how to search for keywords, only if field2=active?
AstroBoy 4476 Sep 14, 2000, 5:34 PM
Thread Re: how to search for keywords, only if field2=active?
marinedesign 4436 Sep 14, 2000, 5:47 PM
Thread Re: how to search for keywords, only if field2=active?
AstroBoy 4461 Sep 14, 2000, 6:00 PM
Thread Re: how to search for keywords, only if field2=active?
marinedesign 4462 Sep 14, 2000, 6:15 PM
Thread Re: how to search for keywords, only if field2=active?
AstroBoy 4470 Sep 14, 2000, 6:24 PM
Post Re: how to search for keywords, only if field2=active?
marinedesign 4435 Sep 14, 2000, 6:56 PM
Thread Re: how to search for keywords, only if field2=active?
marinedesign 4452 Sep 14, 2000, 7:23 PM
Thread Re: how to search for keywords, only if field2=active?
AstroBoy 4434 Sep 14, 2000, 7:34 PM
Thread Re: how to search for keywords, only if field2=active?
marinedesign 4433 Sep 14, 2000, 8:27 PM
Post Re: how to search for keywords, only if field2=active?
LoisC 4432 Sep 15, 2000, 11:30 AM