Menu

#10 Time Credit (Max-All-Session) attribute

Next_Release
closed
5
2012-09-16
2007-09-02
ut_crom
No

It would be great to change the Time Credit (Max-All-Session) input field when creating a new user so that the text field would accept a numeric value and the drop down list would specify what type of value it is, ie, seconds, minutes, hours, days, etc. The code would then take the value and compute the number of seconds based on the type of value.

For example, if someone inputs a 2 for the text value and selected hours in the drop down list, then the code will multiply 2 by 3600 and insert 7200 in the database.

Thanks!

Discussion

  • Liran Tal

    Liran Tal - 2007-09-10

    Logged In: YES
    user_id=1339858
    Originator: NO

    Thanks, I'll change it to work like that.

    On the same note - your ideas are a great addition to the software, feel free
    to share more of your ideas and suggestions.

    Would you also consider joining the development team?

    Regards,
    Liran.

     
  • Liran Tal

    Liran Tal - 2007-09-11

    Logged In: YES
    user_id=1339858
    Originator: NO

    I've added this support to the SVN version.
    Please consult these changes and let me know of your feedback.

    Thanks,
    Liran Tal.

     
  • ut_crom

    ut_crom - 2007-09-12

    Logged In: YES
    user_id=1881466
    Originator: YES

    Thank you very much!

    I'll check it out when I have a moment. I'm going to be pretty busy for the next month or so because I'll be moving. Joining the dev team is tempting, but I have quite a bit of stuff going on right now so I'm not ready to commit to it. Also, my PHP skills are pretty poor so it will take me some time to get up to speed and produce code that has an acceptable level of quality. I'll keep the suggestions flowing as I get more familiar with this app and as issues come up.

    Thanks!

     
  • Liran Tal

    Liran Tal - 2007-09-12

    Logged In: YES
    user_id=1339858
    Originator: NO

    Okey great.
    Thank you.

    Regards,
    Liran Tal.

     
  • Liran Tal

    Liran Tal - 2007-10-24

    Logged In: YES
    user_id=1339858
    Originator: NO

    Already working in this release (0.9-4).
    Have fun.

     

Anonymous
Anonymous

Add attachments
Cancel