Forums
This topic is locked
Verify ad then add to classifieds.
05 May 2005 19:13:07 ROB WONG posted:
Hi, this is what I am trying to do:There will be a form where visitors can place ads. How do I verify the ads before they are submitted to the database and added to the site.
I want to have a notice sent to me when someone places an ad and be able to login to verify it. In other words I don't want the ad to be place until I can make sure it is OK.
I am using Dreamweaver MX and ASP
Replies
Replied 06 May 2005 11:03:23
06 May 2005 11:03:23 Lee Diggins replied:
Hi Rob
Welcome to DMXzone <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
From a admin perspective you would want an additional field in your ads table that determines whether you have verified the ad or not, call it status or something, You'd probably only need to use the values 1 or 0 for True or False. When someone submits an ad you can thank them for the submission and tell them the ad is pending verification. From the admin point of view, verify the ad and have a form where you manage the ads and change the value from False to True. Just make sure the pages that display ads also make allowances for this new field, so you only display ads that have a status of True.
Hope this makes sense, if you have any further questions, please post back.
Sharing Knowledge Saves Valuable Time!!!
~ ~ ~ ~ ~ ~
<b>Lee Diggins</b> - <i>DMXzone Manager</i>
<font size="1">[ Studio MX/MX2004 | ASP -> VBScript/PerlScript/JavaScript | SQL | CSS ]</font>
Welcome to DMXzone <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
From a admin perspective you would want an additional field in your ads table that determines whether you have verified the ad or not, call it status or something, You'd probably only need to use the values 1 or 0 for True or False. When someone submits an ad you can thank them for the submission and tell them the ad is pending verification. From the admin point of view, verify the ad and have a form where you manage the ads and change the value from False to True. Just make sure the pages that display ads also make allowances for this new field, so you only display ads that have a status of True.
Hope this makes sense, if you have any further questions, please post back.
Sharing Knowledge Saves Valuable Time!!!
~ ~ ~ ~ ~ ~
<b>Lee Diggins</b> - <i>DMXzone Manager</i>
<font size="1">[ Studio MX/MX2004 | ASP -> VBScript/PerlScript/JavaScript | SQL | CSS ]</font>