Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Creative Idea 1

Status
Not open for further replies.

daNewfie

Programmer
Oct 14, 2004
258
CA
I have a real estate application built on my website....
the realestate agent first registers and is given 15 free credits.

now each time he post a new property, 1 credit is deducted but he has the option to buy more obviously.

Now, the agent also has the ability to update all fields in the property through an edit screen. I need that there in case of typos of forgotten information.

The problem arises that if he post a property and it sells, the agent is suppose to remove the property by clicking the sold button in the admin interface. But some devious agents are not clicking sold, they are just clicking update and placing a whole new property without being charged for placing it.

I was thinking about actually giving double amount of credits and then charge 2 credits to place a property and charge 1 credit to update it. It is not idea but its all I can come up with right now

What would you do.


Thanks in advance
Craig
 
Oh, i know this is not a coldfusion question...but I like they way some people think so please excuse the off topic question
 
coldfusion people don't have to be as devious as other types of developers, because success with coldfusion can be assured by keeping things simple

when the agent adds a property, don't make that property visible on the site until the agent pushes the Confirm button

use the edit module to allow the agent to make changes for typos, etc.

once the Confirm button is pushed, the property becomes visible and the agent can then no longer update identifying columns

identifying columns in this particular case might be address + owner (because the same house can sell more than once, although you might want to raise a flag in that case)

locking the identifying columns should be a familiar concept, it is merely the underlying idea behind a primary key

the agent won't use the edit module to try to list a different property, because he can't -- it will always identify a particular property

do let the agent continue to edit non-identifying columns, such as descriptions, features, attributes, and of course price -- make those things easy which are a necessary part of the agent being successful using your site, just don't allow the hanky-panky

simple, yes? :)



r937.com | rudy.ca
 
hmmmm

Create ---> Confirm ----> Post or Edit ---> If Edit (edit all fields, If post goes live and from there on in only edit certian fields......

hmmmm

Good Good....

Thanks....
 
it worked like a charm.....
already implemented in the realestate section, now gonna add it to the automotive section......

Thanks again, i'll never get rich if people keep ripping me off...lol...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top