for 2 there are some different ways. But I would do this. When an action is apply... (like they get a point.) You just call a method for it to happen. Then it adds the event to a history and the points are tracked that way. So: Action : Time : Amount : Notes Registered : 12.12.2013 12:12pm : 2 : None Insulted Someone : 12:12.... : -5 : George Bush
Then you check that users actions and you can keep track of what they did and how many points total for the action. I am working on a site to do similarly. BR, Jason Brower On Sun, Jun 30, 2013 at 5:35 PM, Anthony <abasta...@gmail.com> wrote: > Hi Cshekhar, > > Welcome to web2py. Just a tip regarding norms for asking questions here -- > in general, it will be more productive if you can be much more specific > with your questions, explaining what you have read and tried and showing > actual code whenever possible. > > > 1. I some how cannot get around the templating & Html Views in Web2Py & it >> would be a great help if someone makes a video for the same... >> > > What specifically is causing problems or confusion for you? Have you > checked out http://www.youtube.com/playlist?list=PL5E2E223FE3777851 or > http://killer-web-development.com/? There's also a paid Real Python for > the Web <http://www.realpython.com/> course that features web2py. Once > you have digested some of the available documentation, come back here with > specific examples of things you don't understand. > > > >> 2. Right now i am trying to create a gamification app using >> web2py....need someone to help me out with how-to in coding the following >> a. awarding points for user activities (most help needed here..)...and >> how to place the click handler in the page view >> b. sharing achievements on social media >> c. An action to redeem the points earned. >> > > These are fairly high-level descriptions of application functionality -- > more detailed specifications would be needed to start translating that to > code. The expectation is that you would put some time into learning the > framework, make an attempt at implementing these things yourself, and come > here with very specific questions along the way as you run into difficulty. > > Anthony > > -- > > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.