close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Solution ideas required

Thread began 2/14/2011 4:29 pm by Paul | Last modified 2/15/2011 5:31 am by Dave Buchholz | 664 views | 3 replies |

PaulBeta Tester

Solution ideas required

Hi,

I'm building an ambitious project!
Not sure if this is most appropriate forum topic, apologies if not.

Part of the design requires users to register and buy credits in order to read messages posted by other users.

All users are required to login in order to read and post these messages which are all handled through a mysql table, linked to their user account.

I would be interested to hear any ideas around what WA apps might best suit this piece of functionality.

Thanks, Paul.

Sign in to reply to this post

Jason ByrnesWebAssist

for login and registering, you would use security assist.

for purchasing credits, you would use eCart.

the succesful transaction would need to set the number of credits associated to the users account.

you will then need to create logic for how the purchased credits are used, when they read another persons message, does it deduct from the credits they purchased?

If so use data assist update record to update the credits associated to the users account.

Sign in to reply to this post

PaulBeta Tester

Yes, each time a message is read the credit balance will be reduced by 1 credit
I would also need to update/flag the message as 'read'.

So the ecart can be configured to offer say 4 credit options and then credit the users credit balance with the value selected and bought.

The sort of thing i have in mind would be
5 credits = $8,
10 credits = $15
15 credits = $20
20 credits = $25

do-able?

Sign in to reply to this post

Dave BuchholzBeta Tester

Yes, assuming that you set a session with the user's ID when they login you can do a simple update on the article page to reduce their credit balance by 1 using this session value to pull their details

Also make sure that their credit balance is greater than zero when hitting the page !

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...