Re: [web2py] Re: How to disable modifying Email in auth.profile()

2013-06-06 Thread
Thanks for sharing! Lio On Thu, Jun 6, 2013 at 10:49 PM, Rob_McC wrote: > Lio: > > Not sure if this would be helpful, it was for my app. It seems to work so > far. > > *This allows users to login with > * > - email > OR > - username > > I have a message reminding them they can login with eithe

Re: [web2py] Re: How to disable modifying Email in auth.profile()

2013-06-06 Thread
For the first issue of inputting wrong email, this can be solved by email verification. For the second concern I agree if the user's email become invalid they will not be able to receive message to this address but they still have his account with the site. Since email will be used as the only iden

Re: [web2py] How to disable modifying Email in auth.profile()

2013-06-06 Thread
Thanks Martin, it's a easy solution. On Jun 6, 2013 3:38 PM, "Marin Pranjić" wrote: > With this line you will disable edit of email field: > db.auth_user.email.writable = False > > Email will still be printed in form but read only. > > You can remove it completely from form by adding: > > db.auth

Re: [web2py] Re: Problem overriding bootstrap.min.css with customized submit button style

2013-06-03 Thread
It works nicely now. Thank you Paolo. On Tue, Jun 4, 2013 at 4:32 AM, Paolo Caruccio wrote: > please try: > > input.btn_auth { > > background:url('../images/**button_02.png') no-repeat; > border: 0px; > width:205px; > height:45px; > position: relative; > top:80px; > left:97px; > } > > inp

Re: [web2py] Re: How to store data records for recurrent jQuery call

2013-05-23 Thread
Thank you Calvin and Alan. I'm not familiar with JSON and not much content in the book at the moment. I will do my research based on your suggestions. Regards, Lio On Wed, May 22, 2013 at 1:09 AM, Alan Etkin wrote: > You could then write some javascript to populate block 2 using the rec >> obj

Re: [web2py] Re: “Exceeded soft private memory limit” when upload (1.56M) on GAE

2013-04-18 Thread
Hello Christian, Thank you very much for explaining. The reason is clear to me now. I will try to work around it. Regards, Lio On Thu, Apr 18, 2013 at 11:23 PM, Christian Foster Howes wrote: > Lio, > > there are potentially 2 problems here: > - the request thread is using too much memory/has

Re: [web2py] Re: Fail to add entry to list:reference field

2013-04-07 Thread
Hi Anthony, I compared the layout.html against older version, the jQuery issue was resulted because I manually add: (I thought jQuery was not included in Layout.html) Removing this line solved the problem. Also I will try to build a custom widget. Thank a lot. Spring On Mon, Apr 8, 2013 at 1:0

Re: [web2py] Re: Fail to add entry to list:reference field

2013-04-07 Thread
The intention is to create a list of items each of which are selected from the dropdown of referenced table, similar to 'list:string' with a "+/-" sign at the end to add another item. When click the "+/-" sign it pops another dropdown list to add new item. I photoshoped the pic below to show what I

Re: [web2py] Re: Fail to add entry to list:reference field

2013-04-07 Thread
Hi Anthony, I read in the book that "requires' will be set by default for "list:reference". I tried this, and the output is the same as with IS_IN_DB(..., multiple=True), which is a multiple item box listing all options as shown in the pic below: [image: Inline image 1] And I still don't understan

Re: [web2py] [FYI] Pyodel is now a plugin

2013-03-29 Thread
Hi Alan, It's true I'm using auth.wiki() in my app. Is there any work around for the time being? On Mar 30, 2013 12:02 AM, "Alan Etkin" wrote: > This is very odd, I belive it is a bug in the app authentication >>> configuration itself, since I cannot reproduce the behavior in another GAE >>> ap