DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Rewards give me points.  (Read 20,060 times)

hoogy

  • Participant
  • Joined in 2008
  • *
  • Posts: 2
Rewards give me points.
« on: January 05, 2008, 02:20 AM »
Hey I quite like this program and its idea. Hopefully it will get me doing the stuff that will actually be good for me. I have a small problem though. When I reward myself instead of deducting points it gives me points. Have I done something wrong? It is listed under "Puchase Rewards" as well.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Rewards give me points.
« Reply #1 on: January 05, 2008, 05:56 AM »
Are you using the college item file posted about here: http://www.donationcoder.com/forum/index.php?topic=11671.0

There is a bug in the file i think which has some plus points for a reward, instead of a cost, which is confusing the program.
If its not that file that you are using but something you created yourself then it means there is a bug in the item editor which is allowing that to happen and i will try to fix.

prototype_angel

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 5
Re: Rewards give me points.
« Reply #2 on: January 05, 2008, 07:01 AM »
@mouser, if there can be some kind of wiki functionality to add/change the itemxml for different category, that would be nice.

I can try making a php frontend for that in the weekend. Shouldn't be too hard.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Rewards give me points.
« Reply #3 on: January 05, 2008, 07:03 AM »
there is a full item editor now inside Point Motivator, no need for manually editing the xml file :)

hoogy

  • Participant
  • Joined in 2008
  • *
  • Posts: 2
Re: Rewards give me points.
« Reply #4 on: January 05, 2008, 07:04 AM »
I was using my own and was checking the college one as well. I found out what my problem was that I didn't put a negative sign in front of the amount. I assumed that when you put the radio button on the reward that it would subtract it. Now I know it is working good. Cheers for this excellent program.

Toptiger5

  • Participant
  • Joined in 2008
  • *
  • Posts: 14
Re: Rewards give me points.
« Reply #5 on: January 07, 2008, 04:20 PM »
Yes, you need to put - signs in the point amount if you want it to subtract points. Then you can make activities that lose you points, like forgetting gym kit/lunch, or not handing in homework.

Original address: https://www.donationcoder.com/forum/index.php?topic=11674.0