Re: [web2py] Re: Is it me or what?

2012-01-21 Thread Farsheed Ashouri
you had another option! to mail me and ask me to solve your problem instead of marking Ourway emails as spam! Ourway NEVER spams! just when you have new comment or private message. btw, I disabled your account cause all passwords are encrypted in database and recover option won't be ready till

[web2py] Import error !!!

2011-09-09 Thread Farsheed Ashouri
Traceback (most recent call last): File "/home/www-data/web2py/gluon/restricted.py", line 192, in restricted exec ccode in environment File "/home/www-data/web2py/applications/myway/controllers/pastebin.py" , line 1

[web2py] Subdomain based on blog users in routes.py

2011-09-28 Thread Farsheed Ashouri
Hi everyone, I have a blog system and I need a pages like: mysite.com/myappName/pages/blog?u=user1 map to something like this: user1.mysite.com I've read many posts here, the book and other resources i idea how this regexpr thing works. Could you please show me *exactly* how this example works i

[web2py] Re: Subdomain based on blog users in routes.py

2011-10-01 Thread Farsheed Ashouri
Any Idea? Please.

Re: [web2py] Subdomain based on blog users in routes.py

2011-10-01 Thread Farsheed Ashouri
I think i have no problem with DNS. cause i put a * value in subdomain setting of DNS and now i have access to any sub-domain i want. So you say there is no way to solve this in routes.py?

[web2py] Re: Subdomain based on blog users in routes.py

2011-10-02 Thread Farsheed Ashouri
So, Any reliable setting? Any alternative ways? probably with Apache settings?

[web2py] Re: Subdomain based on blog users in routes.py

2011-10-03 Thread Farsheed Ashouri
Yes Anthony, I've read it 50 times! but i cant figure out this one. your code doesn't work. I test it few times on my local and main server. :( I am giving up!

[web2py] Re: Web2py Lulu docs - Buy now or wait for the next release?

2011-10-05 Thread Farsheed Ashouri
I've bought version 3.0 and it's almost complete. but version 3.1 has many new stuff. I recommend you wait to next version.

[web2py] Re: criticism of web2py

2011-10-05 Thread Farsheed Ashouri
i bet they event didn't create a simple site with Web2py. Don't trust them. Just for test, use Django for a week and you'll be back to Web2py soon than we expected and with headaches!! Every day, I am creating a new website for my clients. When I was using Django, just initial setup took me hour

[web2py] Re: Encryption/Decryption Modules

2011-10-05 Thread Farsheed Ashouri
I am using Mcrypt with subprocess. Encryption is CPU hungry, so I prefer to use external program. you don't need to install Mcrypt on your server, just compile Mcrypt and put it is somewhere like "application.folder/bin" and execute it.

[web2py] Re: Dealing with UTC and converting to local time

2011-10-05 Thread Farsheed Ashouri
Thank you Massimo, You solution is very good. I am using a javascript code that detects timezone and other things, but i should change it to your way for sure. Although this script does the job for me but it's more complicated. detect_timezone.js Description: JavaScript source

[web2py] Re: Subdomain based on blog users in routes.py

2011-10-05 Thread Farsheed Ashouri
ya, It works, but it's not was i expected. for example my own blog * rodmena.ourway.ir* now redirects to it's correct path, but i wanted to stay at sub domain level while surfing. my code is simple: # Blogs subdomain redirection === host_parts = request.env.http

Re: [web2py] Subdomain based on blog users in routes.py

2011-10-05 Thread Farsheed Ashouri
Well it worked!! but with many problems in Ajax loading! Thank you, but any improvements??

Re: [web2py] Subdomain based on blog users in routes.py

2011-10-05 Thread Farsheed Ashouri
ya, I am trying to solve it. Let's see what'll come up with this night! :)) Thank you Jonathan! On Wed, Oct 5, 2011 at 6:38 PM, Jonathan Lundell wrote: > On Oct 5, 2011, at 8:03 AM, Farsheed Ashouri wrote: > > Well it worked!! but with many problems in Ajax loading!

[web2py] Re: Installing under Linux

2011-10-05 Thread Farsheed Ashouri
Did you check /scripts/setup-web2py-ubuntu.sh? It might be very helpful and will do the job for you automatically!

[web2py] Re: criticism of web2py

2011-10-05 Thread Farsheed Ashouri
> just wonder if your client(s) want CMS, blog, forms...what do you use? Yes, most of them want, and once you create your standard core, you can reuse those controllers and models or views simply in other projects!

[web2py] Re: Form output format

2011-10-05 Thread Farsheed Ashouri
You may need to render it first and edit it again. But why do you want that kind of output? If you need to show o hide something, I recommend using jQuery.

[web2py] Re: How to start something when page rendering has completed?

2011-10-05 Thread Farsheed Ashouri
Put something like this at the end of your page: ajax('../response_url', [''], 'jsrun'); create a function that returns data: def response_url(): return ''' YOUR DATA OR EVEN JSSCRIPT HERE '''

Re: [web2py] Re: Form output format

2011-10-06 Thread Farsheed Ashouri
uot; (one row for label and > > comment, and one row for input), "ul" (makes an unordered list of input > > fields), "divs" (represents the form using css friendly divs, for > arbitrary > > customization). formstyle can also be a function that takes (record_id, > > field_label, field_widget, field_comment) as attributes and returns a > TR() > > object. > > > > HTH > > > > Bye -- Sincerely, Farsheed Ashouri, ourway.ir Tel: +98 9388801504

Re: [web2py] Re: criticism of web2py

2011-10-14 Thread Farsheed Ashouri
lidate the good ones > > > > Take github as an option for doing that! -- Sincerely, Farsheed Ashouri, ourway.ir Tel: +98 9388801504

Re: [web2py] Re: criticism of web2py

2011-10-15 Thread Farsheed Ashouri
e > all mental speculations…” (Sri Caitanya Mahaprabhu) > > http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 > > > -- Sincerely, Farsheed Ashouri, ourway.ir Tel: +98 9388801504

[web2py] Is it possible to compress the output html before rendering out?

2011-10-21 Thread Farsheed Ashouri
Is it possible to compress the output html before rendering out? I mean using tools like compressors or tiddy to clean/compress the output code automatically on output not on our source.

Re: [web2py] Re: Mixing/supporting CMS with Web2py

2011-11-17 Thread Farsheed Ashouri
Ourway.ir is a social network based on web2py. It's also has a blog system witch a kind of CMS. I am going to open source it soon.

[web2py] Introducing Web2py Powered Pastebin

2011-11-26 Thread Farsheed Ashouri
Hi everyone, I want to introduce you my Web2py based Pastebin. Ourway Pastebin Here are some screenshots:

[web2py] Re: Has anybody tried mobilize.js

2011-08-18 Thread Farsheed Ashouri
Seems nice! Let's try it! Thank you.