Re: Database Migrations ala RoR

2007-09-10 Thread CraZyLeGs
Hi, I don't think there is a built-in migration system in cakePHP yet. the one that is available is written by a cakePHP user. means it's not official. I heard that john is playing around with migrations in his sandbox, I don't know the progress though. But back to your framework. For it to be a

Re: othAuth component v0.5.4.5

2007-08-19 Thread CraZyLeGs
http://bakery.cakephp.org/articles/view/othauth-0-5-documentation On Aug 18, 7:34 pm, "MURAT OBALI" <[EMAIL PROTECTED]> wrote: > Hi Friends, > > I'm a newbie about php and Cakephp. and I need some help. I want to do > a web site using Cake and first of all I want to need an authorization > system

Re: PHP 4 = Dead

2007-07-13 Thread CraZyLeGs
Yep. On 13 juil, 22:07, Felix Geisendörfer <[EMAIL PROTECTED]> wrote: > > PHP 4 = Dead > > We'll talk in 2 years again when PHP4 is still holding the major market > share. > > -- Felix > -- > My Blog:http://www.thinkingphp.org > My Business:http://www.fg-webdesign.de > >

Re: othAuth: Only showing content to certain levels

2007-05-21 Thread CraZyLeGs
you can give one level eg. admin access to controller/action/param and another level eg. member access to controller/action/param in your action, render the appropriate view without caring about the auth logic function action($param) { if(!in_array($param,array('foo','bar'))) { $this->rende

Re: othAuth Performance

2007-05-15 Thread CraZyLeGs
othAuth only does a session check, if the the action is public it doesn't even go to the session. but yea to each his/her needs On May 14, 7:17 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 5/14/07, Dave J <[EMAIL PROTECTED]> wrote: > > > > > My question is this. as it is right now...

Re: Need help for pushing CakePHP for a high traffic project

2007-05-12 Thread CraZyLeGs
https://addons.mozilla.org/ is a high traffic website I'd guess. On May 11, 8:27 am, majna <[EMAIL PROTECTED]> wrote: > Are you using full view cache? > U have 12 js, > usehttp://rakaz.nl/item/make_your_pages_load_faster_by_combining_and_com... > > On May 11, 12:07 am, PD <[EMAIL PROTECTED]> wro

Re: Filtering/Searching/Sorting

2007-05-10 Thread CraZyLeGs
Of course and in case you didn't know, 1.2 has native pagination support. filtering is a matter of setting a search criteria. On May 9, 8:04 am, AD7six <[EMAIL PROTECTED]> wrote: > On 30 abr, 18:47, phpsmitty <[EMAIL PROTECTED]> wrote: > > > This is similar functionality that the masterbake.php f

Re: searching for a newsletter component

2007-05-09 Thread CraZyLeGs
I have a newsletter plugin, need to find time to finish it and put it in cakeforge. Sending using swiftMailer, newsletters html/plain, multi-lists, layouts, opt-in/opt-out and whatnot. no auto responders tho. the stuff I release is usually educational but anyway..well show a sign when it's releas

Re: How do I use i18n and l10n in CakePHP 1.2?

2007-05-05 Thread CraZyLeGs
you probably mean $_SESSION['Config']['language'] On May 4, 2:08 pm, misho <[EMAIL PROTECTED]> wrote: > Well Yes, > I do some checks on allowed languages, but I don't have a separate > controller to deal with this. > Just scan URL into function (in app_controller.php) and then redirect. > > And t

Re: multi-page forms

2007-05-05 Thread CraZyLeGs
It's a bug in the component: initWizard has default prefix set to _Wiz function initWizard(& $ways, $prefix = "_Wiz") While clearWizard ( and the methods it calls ) has _Wizard. function clearWizard($prefix = "_Wizard") function clearStep($prefix = "_Wizard") function clearData($prefix = "_Wizard"

Re: how to populate a second select-box by selecting a first with ajax ?

2007-05-03 Thread CraZyLeGs
http://www.devmoz.com/blog/2007/04/04/cakephp-update-a-select-box-using-ajax/ On May 2, 2:08 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Has someone solved that issue? In my app everything works, except that > the value of the ajax-completed box doesn't pass to the controller... > > On 3

Re: Undefined property: hashkey when using othAuth

2007-05-01 Thread CraZyLeGs
Likely you have an old version. Update your cake version, _viewVars has been changed to viewVars. even in 1.1 On Apr 30, 9:44 am, matlin <[EMAIL PROTECTED]> wrote: > I tried to reply to a thread where people were having problems with > oth_auth > I got the error below when I started to use the co

Re: othAuth...login problem

2007-04-24 Thread CraZyLeGs
notice you have $this->set('auth_msg', $this->othAuth- >getMsg($auth_num)); and you don't print it in the view, it has some login hints for the user. like user/login incorrect etc.. On Apr 23, 7:07 pm, Stacey <[EMAIL PROTECTED]> wrote: > ok, i'm stupid. i am new to cake, and thought that othAuth

Re: View this page "Cake Apps/Sites In The Wild"

2007-04-17 Thread CraZyLeGs
I see blogs in the page that aren't made using cake. iirc this page is about stuff made using cake and not websites about cake. On Apr 17, 12:16 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > This is more or less still in a beta stage (it says "alpha" on the > site) but I'd like to get some

Re: ajax inplace editor weirdness

2007-04-15 Thread CraZyLeGs
you need to return the value you saved to the ajax in-place editor maybe something like(not tested: var $components = array('RequestHandler'); function update_stocks( ) { $this->autoRender = false; // don't attempt to render anything // for god's sake , don't use _POST. // $this->set('value'

Re: Storing settings / Persistent data

2007-04-13 Thread CraZyLeGs
http://bakery.cakephp.org/articles/view/243 On Apr 12, 6:44 am, "AD7six" <[EMAIL PROTECTED]> wrote: > On 10 abr, 15:48, "cherrio" <[EMAIL PROTECTED]> wrote: > > > > > Hey All, > > > a question about persistent data. I was using a Config method that I > > got from the old Wiki, but when I upgraded

Re: How to execute OthAuth protected actions with a CRON job?

2007-04-07 Thread CraZyLeGs
EMAIL PROTECTED]> wrote: > Excellent! Thanks CraZyLeGs! > > Just to verify - I assume the PHP code you're talking about below goes > into the PHP file that the CRON job calls, right? This is basically > the code for logging someone directly through code, rather than > through the

Re: How to execute OthAuth protected actions with a CRON job?

2007-04-07 Thread CraZyLeGs
EMAIL PROTECTED]> wrote: > Excellent! Thanks CraZyLeGs! > > Just to verify - I assume the PHP code you're talking about below goes > into the PHP file that the CRON job calls, right? This is basically > the code for logging someone directly through code, rather than > through the

Re: SwiftMailer Component

2007-04-06 Thread CraZyLeGs
However if you really need it I pasted it here: http://bin.cakephp.org/view/1053105011 Usage is the same ( nearly ), put SwiftMailer 3 in vendors. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. T

Re: SwiftMailer Component

2007-04-06 Thread CraZyLeGs
>> It's not ideal, but I found it a lot easier to use than the components >> floating around. O'Really ? How's a bunch of line of codes *easier* than one line ? It also is about abstraction, reusability and whatnot, what if you send mail elsewhere in your application you're gonna create a met

Re: How to execute OthAuth protected actions with a CRON job?

2007-04-05 Thread CraZyLeGs
Hi, well, requestAction() goes through the whole pipe and auth is in there. if the action protected is in the same controller then do $this- >myaction() instead of requestAction. If however it's in another controller then it's problematic. You can do something though: you need to disable auto red

Re: Shared ~ log4php component.

2007-03-30 Thread CraZyLeGs
This should be some kind of singleton. Because you would want to log things from the view domain, the model domain etc. On Mar 29, 10:55 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > So you should submit an article to the bakery for this little goody!! --~--~-~--~~~--

Re: Showcasing www.votigo.com

2007-03-28 Thread CraZyLeGs
sections/moreinfo > > > I just want to let everyone know that this site has been coded from > > scratch using cakePHP. I have been using this framework for more than > > a couple of months now and if it wasn't for cakePHP, this site could > > never have been ready thi

Re: Thank You for CakePHP

2007-03-17 Thread CraZyLeGs
Show me some love ;) On Mar 17, 6:38 pm, "yolabingo" <[EMAIL PROTECTED]> wrote: > Ditto all above. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@goo

Re: Thesis ideas

2007-03-06 Thread CraZyLeGs
On Mar 6, 2:15 am, Langdon Stevenson <[EMAIL PROTECTED]> wrote: > it would take some serious commitment to keep the accounting rules straight > for each country. that's what ERPs are for. there are some open source ones, compiere off the top of my head. --~--~-~--~~~

Re: English pronunciation

2007-03-06 Thread CraZyLeGs
Just spam On Mar 5, 2:32 pm, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > Is he kidding us? I'm guessing he read that thread about ettiquete... The > one where we were kidding about people demanding free work... > > Here you have it, we were *not* kidding > > -MI > > --

Re: CakePHP versus Symfony ?

2007-03-03 Thread CraZyLeGs
cakePHP works in php4 and php5. On Mar 3, 3:13 pm, "nate" <[EMAIL PROTECTED]> wrote: > Hi surfivor, thanks for asking; it's important that this discussion > comes up from time to time, as the state of affairs in both frameworks > continue to change. In a presentation I gave a few months ago, I >

Re: Status of CakePHP 1.2.x.x

2007-02-28 Thread CraZyLeGs
http://en.wikipedia.org/wiki/Beta_version#Alpha On Feb 28, 1:52 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > don't you mean when it's done 'baking' ;) after all no one wants a > partially raw cake. Although licking the spoon (playing with the > early alphas) does have it's rewards... > > O

Re: Passing value from appController to all models used by an action

2007-02-26 Thread CraZyLeGs
"This is true for components too." would mean this true for the use of models in components. ( $this->controller->.. ) On Feb 26, 10:43 am, "CraZyLeGs" <[EMAIL PROTECTED]> wrote: > > First of all, and IMHO when you need to access a model from a controller

Re: CakePHP + AMFPHP 1.9b or WebOrb

2007-02-26 Thread CraZyLeGs
Search this group, I'm pretty sure this has been discussed pretty recently On Feb 25, 12:35 pm, "peper" <[EMAIL PROTECTED]> wrote: > Hi. > I'm planning to make a Flex2 client for CakePHP application. That > means I need AMF3 for PHP. Both AMFPHP 1.9beta and WebOrb for PHP > supports AMF3. Does an

Re: Passing value from appController to all models used by an action

2007-02-26 Thread CraZyLeGs
> First of all, and IMHO when you need to access a model from a controller, > better set it in the $uses array rather than taking advantage of model > linking. If it's there, no need for $uses. I think performance is much more important than Source code readability, and hey $this->modelClass->Ass

Re: *CakePHP IRC and GoogleGroup Etiquette Suggestions*

2007-02-23 Thread CraZyLeGs
IRC has no code formatting nor does this google group. Please paste code in http://bin.cakephp.org/ and give the link. On Feb 23, 9:43 am, MJ Ray <[EMAIL PROTECTED]> wrote: > "John David Anderson (_psychic_)" <[EMAIL PROTECTED]> wrote: > > > - Critique on a community contributed, open source proj

Re: CakePHP and LiveGrid (Rico)

2007-02-21 Thread CraZyLeGs
http://en.wikipedia.org/wiki/Scaffolding On Feb 20, 3:44 pm, "anselm" <[EMAIL PROTECTED]> wrote: > > Would be nice from the doc team should to clarify if scaffold is or not OK > > for production... > > That's not really up to them to tell you -- because this is a process > problem, not a technica

Re: Include Js file in layouts

2007-02-21 Thread CraZyLeGs
The head helper isn't part of the core. it was written by rossoft and it's available in his blog On Feb 20, 9:33 am, "GreyCells" <[EMAIL PROTECTED]> wrote: > If you're using 1.2, then take a look here: > > http://cake.insertdesignhere.com/posts/view/17 > > The HeadHelper functionality is impleme

Re: mod_gzip

2007-02-20 Thread CraZyLeGs
"this will happen within the next 3 - 6 weeks" Heh. On Feb 20, 9:46 am, "Eric C Blount" <[EMAIL PROTECTED]> wrote: > Very interesting. I'd like to know what happens with this - please keep me > informed. > > Eric > > On 2/19/07, Olwen Williams <[EMAIL PROTECTED]> wrote: > > > > > While we are no

Re: CakePHP and LiveGrid (Rico)

2007-02-20 Thread CraZyLeGs
On Feb 20, 7:45 am, "archinform" <[EMAIL PROTECTED]> wrote: > *really* done easily in cake... > ok, it's pretty easy in relation to coding without a framework, but it > would be much more Rail style if the creation of js inclusion and > especially the datafeeds would be done automatically by scaff

Re: CakePHP and LiveGrid (Rico)

2007-02-18 Thread CraZyLeGs
I have kinda something like that, search feature ( simple, advanced ( like the one in thunderbird ), auto complete ) with data displaying, pagination sorting in one line, handles relations etc. data types ( string, date, foreign ) all in one line of code ( nearly ) I might release it someday, I ne

Re: is there a function exist($var) somewhere that I didn't find?

2007-02-15 Thread CraZyLeGs
http://www.php.net/isset // the comments On Feb 14, 11:39 am, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > Hahaha... Ok then, like Felix said, call it like: > > @getvar($somevariablethatdoesntexist) > > What a day I'm having... > > -MI > > --

Re: is there a function exist($var) somewhere that I didn't find?

2007-02-15 Thread CraZyLeGs
> On Feb 14, 11:39 am, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > Hahaha... Ok then, like Felix said, call it like: > > @getvar($somevariablethatdoesntexist) > > What a day I'm having... > > -MI > > --- > > Remember, sm

Re: Cake debugging: Firecake!

2007-02-14 Thread CraZyLeGs
http://groups.google.com/group/cake-php/browse_thread/thread/5e041ccdc9d60131/ef311e99579b7227?lnk=gst&q=firecake&rnum=2&hl=en On Feb 13, 12:02 pm, Ámon Tamás <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I just found this helper and it's excellent > > >http://bakery.cakephp.org/artic

Re: AutoComplete Element conflicts with other ajax requests

2007-02-05 Thread CraZyLeGs
allow autoComplete only on autocomplete action requests a test like if($controller->action == "autocomplete") { // do the logic } then when calling $ajax->autoComplete() specify the action to be autocomplete. if you don't want that, specify some parameters along with the autocomplete call, add

Re: Finally a good Editor for Windows

2007-01-26 Thread CraZyLeGs
On Jan 25, 2:55 pm, "Mandy" <[EMAIL PROTECTED]> wrote: > crazylegs - > > That is not what I was talking about. I know we can do that. > > But, suppose I was editing a jsp file, so I opened it in the jsp > editor. > > Now, I have a javascript snippe

Re: Finally a good Editor for Windows

2007-01-25 Thread CraZyLeGs
> In Eclipse I am not sure you can bind a file with a > phpEditor/cssEditor/javascriptEditor etc at the same time? Sure you can. even multiple editors for the same type of files. rightclick open with.. Eclipse for project Management and just uh-huh everything. NotePad++ for quick rightclick open

Re: anything similar to acts_as_tree in Rails

2007-01-21 Thread CraZyLeGs
There is a ticket in the trac about rewriting findAllThreaded to use the modified preorder tree algo. Maybe some courageous mind will submit a patch. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group

Re: Question about othAuth 0.52

2007-01-19 Thread CraZyLeGs
it has to do with how 1.2 controller::redirect is written, it now uses Router, which doesn't add a '/' at the beginning if it doesn't exist. basically for a quick fix, go to the redirect function in othAuth, find: $frompage = !isset($this->controller->params['url']['url'])? '/': $this->controller

Re: othAuth component v0.5.2 and Stable: 1.1.12.4205 go it?

2007-01-16 Thread CraZyLeGs
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at H:\www_root\zakazky\ishop\app\controllers\components\oth_auth.php:1450) in H:\www_root\zakazky\ishop\cake\libs\session.php on line 146 I think you have a space *after* t

Re: othAuth component v0.5.2 and Stable: 1.1.12.4205 go it?

2007-01-14 Thread CraZyLeGs
Well, can you please paste your controller's code and the user/group/permissions in the database. also if it doesn't redirect to access page, what does it do ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Re: Nested tree menu with current and parent(s) active state by css classes

2007-01-12 Thread CraZyLeGs
I had a helper that does this on its own, now if only I can find it.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe

Re: othAuth component v0.5.2 and Stable: 1.1.12.4205 go it?

2007-01-11 Thread CraZyLeGs
what errors are you getting ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PR

Re: Rock the vote!

2007-01-09 Thread CraZyLeGs
I want a pony! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For mo

Re: Tutorial request

2007-01-07 Thread CraZyLeGs
You have the manual, if you think of it as a tutorial, it's pretty much like building an application, http://manual.cakephp.org/ If you want real word apps, try cakeforge, it has some projects, rdBloggery and bakesale as an example. download, and study the code. You might want to look at the bak

Re: ER Tools

2007-01-07 Thread CraZyLeGs
Oh yeah! Larry E. Masters aka PhpNut wrote: On 1/5/07, CraZyLeGs <[EMAIL PROTECTED]> wrote: > > > Where is that Forum diagram again.. > This one? http://phpnut.cakephp.org/img/roundtable.png http://phpnut.cakephp.org/img/roundtable.pdf -- /** * @author Larry E. Masters * @va

Re: Rock the vote!

2007-01-07 Thread CraZyLeGs
80.1% :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more opt

Re: using OpenLayers (like an external library) in my cake application

2007-01-07 Thread CraZyLeGs
Ain't openLayers a javascript library ? Might be more logic to put it in webroot/js, include the Javascript helper in your helper, and abstract the calls or whatever you want to do. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: ER Tools

2007-01-05 Thread CraZyLeGs
Where is that Forum diagram again.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EM

Re: Cake Hosting

2006-12-29 Thread CraZyLeGs
Most hosts give unlimited multi-domains hosting on a single account nowadays anyway. Traffic and storage aren't much of an issue, unless you host some BT stuff. support and uptime is kinda what makes the difference nowadays. dreamhost doesn't have a great uptime, support is ok to an extend. --~

Re: Reverse recursive findAllThreaded queries?

2006-12-27 Thread CraZyLeGs
a Model is more suitable for this kind of stuff. here is my contribution: function findPath($id) { static $path = array(); if($id == 0) { if(!empty($path) || count($path) > 1) {

Re: Authentication Plugin

2006-12-13 Thread CraZyLeGs
I don't know about the others but othAuth is quite stable, has been there for some time now and it's used by many apps. you don't need 1.0 to for a piece of software to qualify it as stable. as for the user management, I recall there was a plugin or an app in cakeforge, haven't tested it, but it's

Re: Configuring cacheAction as an array and routes

2006-12-11 Thread CraZyLeGs
last I checked, view caching didn't work with routes https://trac.cakephp.org/ticket/1349 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups

Re: othAuth problem

2006-12-07 Thread CraZyLeGs
is that version 0.2 ? please see/read http://bakery.cakephp.org/articles/view/148 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To

Re: othAuth ACL mode and AD7Six's ACL implementation

2006-12-07 Thread CraZyLeGs
yea, the ACL mode is not working at the moment, I did some tests with it and decided it will be operational in an upcomming version ( maybe 1.0 ), there is a base code there only Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: othAuth always load "noaccess_page"

2006-11-30 Thread CraZyLeGs
did you set up $othAuthRestrictions correctly ? show your permission in the db and the value of $othAuthRestrictions please --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, s

Re: othAuth "Class 'LoginAttempt' not found "

2006-11-15 Thread CraZyLeGs
oh I'm sure the docs say it, limit login attempts feature is activated by default in othAuth hence it complaining about the model and the db table, you can find the db table in the docs in the bakery http://bakery.cakephp.org/articles/view/148 On 15 nov, 17:20, "[EMAIL PROTECTED]" <[EMAIL PROTECT

Re: does othAuth work with Ajax ??

2006-11-12 Thread CraZyLeGs
0.2 had some issues with ajax I think which naonak solved in a comment at othy.wordpress.com use the latest othAuth version 0.5 at the bakery On 12 nov, 05:17, "bingo" <[EMAIL PROTECTED]> wrote: > Hi, > > I have been using othAuth for my authentication system. Till now it > worked perfectly...but

Re: Problems with Cookies

2006-08-28 Thread CraZyLeGs
or you can wait to use the new version of othAuth coming along nicely ( multi group per user, remember me & other goodies ) :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group,

Re: othAuth: logging in as other user + warning when permissions not sufficient

2006-08-22 Thread CraZyLeGs
1) you need two hashkeys, by default in the version in the snippet it's not possible to kill the old login and login with a different one, it will say you're already logged in. 2) in the new version that's comming normally this week, you can specify a no_access page where the user is redirected t

Re: can you restrict the table fields cake recursively retrieves?

2006-08-19 Thread CraZyLeGs
https://trac.cakephp.org/ticket/633 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMA

Re: protecting methods in Othauth

2006-08-15 Thread CraZyLeGs
$othAuthRestrictions = array("show/8","show/9"); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: newbie:othAuth: how to login from a page with a non Admin group?

2006-08-06 Thread CraZyLeGs
the group_id creates the notion of POL, point of login, so for exemple you can have multiple login forms in your app but there are forms you don't want a group to use etc.. the new version will handle this much better --~--~-~--~~~---~--~~ You received this messag

Re: newbie:othAuth: how to login from a page with a non Admin group?

2006-08-05 Thread CraZyLeGs
this is not a bug! yes by default othAuth accepts group_id = 1 you need to have [User][group_id] set in the array you pass to the login method this can come from a selectTag in the form, a hidden field or set manually in the login action before calling othAuth's login method --~--~-~--~

Re: OthAuth and sql error

2006-08-03 Thread CraZyLeGs
you need at least mySQL 4.x for the joins. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email

Re: OthAuth and sql error

2006-08-02 Thread CraZyLeGs
what version of mySQL ? do you have the models ? the tables in the db ? defined the associations well ? this is some of the questions you need to answer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" gr

Re: Problems with OthAuth - unintended recursion in model?

2006-07-17 Thread CraZyLeGs
set recursion in your models accordingly I've fixed that in a new version I'm working on to allow only Models needed in the auth process to be included in the session.. Actually the only issue is that Cake doesn't offcially have a unbindAll method to unbind all associations from a model except som

Re: Implemented OthAuth

2006-07-01 Thread CraZyLeGs
Sorry for you all trying to implement othAuth and having a tough time! I'm working on a new version with more features: teaser, Persistent Remember me login, other modes ( user has many groups, ACL ), ajax safe... also looking forward to get ride of beforeFilter. cake 1.2 will have component callb

Re: strange othAuth problem

2006-07-01 Thread CraZyLeGs
?! Paste something to reproduce that please ( in the bin ) just give a link here --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To un

Re: othAuth and default sessions

2006-06-13 Thread CraZyLeGs
var $othAuthRestrictions = "*" in AppController means every action of every controller is restricted, that is the use that logs in needs to have his group have permissions, permissions are of this format: 1) * 2) CAKE_ADMIN 3) CAKE_ADMIN/controller/* 4) controller/action/p/a/r/a/m 5) controller/*

Re: othAuth -- Where put files?

2006-06-08 Thread CraZyLeGs
The component & helper are called othAuth, if you read the conventions chapter in the manual you'd discover that files names are under_score, which means that othAuth should be oth_auth.php the helper in app/views/helpers/ the components in app/controllers/components/ --~--~-~--~~---

Re: New templating component: "Icing"

2006-05-25 Thread CraZyLeGs
Very nice! I'm not very fan of templating engines(too limitating imho), used smarty & flex in the past. I believe tho that for designers, php isn't that intuitive. So this sure would help. Best regards Cake! --~--~-~--~~~---~--~~ You received this message because

Re: Multi user login

2006-05-05 Thread CraZyLeGs
othAuth the latest version: othy.wordpress.com/2006/04/28/othauth-01-is-about-to-be-released/ best Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake