Welcome, Guest
Username: Password: Remember me

TOPIC: dynamic values?

dynamic values? 12 Feb 2013 21:23 #6714

Hi,

I really don't know how to look for this, or even to explain, but I'll try.

I'm trying to create a component where the user creates a group and depending on a points system when other user gives those points he gets a prize (previously defined by the group manager).
So, what I want is a simple way for the group manager set those prizes when he's creating the group with a form (for the group name, description, etcetc), but how how can I make something like:

5 points = 1 prize
10 points = 2 prizes
25 points = 3 prizes
(...)

and this would have to act by it's own, so I'm guessing something like an Integer for the points given, and then the group manager could see how many prizes would have to give to each user.

but I want this dynamically. I'll limit this object to 10 "levels", but if the user wants to create just 6 the other 4 wouldn't need to be there
(do you undersand? if not, let me know I'll try again)

if there's already an answer to this, please direct me to there.
If not, and you know the answer, please help me

Thanks in advanced
The administrator has disabled public write access.

Re: dynamic values? 13 Feb 2013 11:15 #6729

So, I've been looking for some examples, and came across with the Kickstarter and the Indiegogo Pledge "tool".

for each amout of money the user gives, they will get some award. and it's something Like:

Name for the contribution
Money to give
description of the award
and the limit of awards they can give (if 0 then it's ilimit)

I thought it could be possible with another table, where each one of this is connected to the ID of the group.
but still, don't know how to control the number of possible "contributions"

thanks once again
The administrator has disabled public write access.
Time to create page: 0.115 seconds

Get Started