Re: trying to make othAuth login process work

2008-09-19 Thread gmwebs
I assume you are using v1.2? You need to replace $html->input and $html->checkbox with the their $form equivalents. i.e. $form->input, $form->text, $form->checkbox, etc. More info at the API docs - http://api.cakephp.org/1.2/class_form_helper.html --~--~-~--~~~---~--~

trying to make othAuth login process work

2008-09-18 Thread gabriel
Hi, I have carefully followed the othAuth doc http://bakery.cakephp.org/articles/view/othauth-0-5-documentation, trying to get it to work, bur when I go to http://127.0.0.1/testsite/users/login, I get the following errors.. Username Warning (512): Method HtmlHelper::input does not exist [CORE

CakePHP 1.2 + othAuth + last_visit -- hack

2008-02-23 Thread bingo
in othAuth Component to this $UserModel->id = $row[$this->user_model]['id']; $row[$this->user_model][$this->user_table_last_visit] = date('Y-m-d H:i:s'); $res = $UserModel->saveField($this->user_table_last_visit,$row[$this- >user_model][$this->us

Re: othAuth on 1.2

2008-02-10 Thread Siebren Bakker
hould have is $this->redirect('/admin/campanas/view/36'); On Feb 9, 2008 8:34 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi there! > I've always used othAuth Component but now that I've switched to cake > 1.2 I've had some problems, readin

othAuth on 1.2

2008-02-09 Thread [EMAIL PROTECTED]
Hi there! I've always used othAuth Component but now that I've switched to cake 1.2 I've had some problems, reading on internet I was able to solve almost all of them, but there is a particular one that I havent been able to solve: after the session is ended and user tries to en

Re: CakePHP OthAuth Component, Permissions -- Home Page Access HOW?

2008-02-05 Thread SteveScan
t; > Hi, > > Please bear with me as I am new to PHP and CakePHP. > > I have implemented Authentication using the OthAuth component (http:// > > bakery.cakephp.org/articles/view/othauth-component-v0-5-4-5). > > > In the groups table I have created 1, administrators ; 2 order

Re: CakePHP OthAuth Component, Permissions -- Home Page Access HOW?

2008-02-04 Thread daphonz
Please bear with me as I am new to PHP and CakePHP. > I have implemented Authentication using the OthAuth component (http:// > bakery.cakephp.org/articles/view/othauth-component-v0-5-4-5). > > In the groups table I have created 1, administrators ; 2 orders ; 3 > stock. > In the pe

CakePHP OthAuth Component, Permissions -- Home Page Access HOW?

2008-02-03 Thread SteveScan
Hi, Please bear with me as I am new to PHP and CakePHP. I have implemented Authentication using the OthAuth component (http:// bakery.cakephp.org/articles/view/othauth-component-v0-5-4-5). In the groups table I have created 1, administrators ; 2 orders ; 3 stock. In the permissions table I have

Re: Change layout depending on the type of user in OthAuth

2008-01-28 Thread dandreta
On 27 ene, 14:57, dandreta <[EMAIL PROTECTED]> wrote: > Hi!! > I have applied Othauth component to define the user groups and their > permissions following Bakery's article. > I want that when a user logs in the aplication, it shows the principal > screen with a dif

Change layout depending on the type of user in OthAuth

2008-01-27 Thread dandreta
Hi!! I have applied Othauth component to define the user groups and their permissions following Bakery's article. I want that when a user logs in the aplication, it shows the principal screen with a different layout depending on the group of the user. Do you know how can I do it? any sugge

Re: othAuth looses session - upgrading to new 1.2.0.6311 (2008)

2008-01-14 Thread BravoFoxtrot
My session data is being lost also. Does anyone have a solution yet? My core.php is set as follows: Configure::write('Session.save', 'database'); Configure::write('Session.table', 'cake_sessions'); Configure::write('Session.database', 'default'); Configure::write('Session.cookie', 'CAKEPHP'); Co

othAuth - Refresh session info

2008-01-10 Thread Sonic Baker
Hi all, I'm using othAuth with cake 1.1.x.x. I have a scenario where a user signs up for an account and then gets an email with an activation link. When the user clicks the link they can login. However, once logged in I want them to fill out their account profile. Once filled in I set

Re: othAuth looses session - upgrading to new 1.2.0.6311 (2008)

2008-01-09 Thread Siebren Bakker
I'm not sure how it works so far. I just installed othAuth with 1.2 beta, and have been having issues with the login form, specifically because 1.2uses the FORM helper instead of the HTML helper to create forms, and I think somewhere along that line something isn't working out. Glad I

Re: othAuth looses session - upgrading to new 1.2.0.6311 (2008)

2008-01-09 Thread luke BAKING barker
Hi I am running Cake build from August, I have an app using database sessions and othAuth. I want to try and upgrade my app to the new beta - I was just wondering then what other problems/issues might I face? I saw the red frog blog comments about the pre-beta...so can anyone advise me? I take

Re: othAuth looses session - upgrading to new 1.2.0.6311 (2008)

2008-01-08 Thread hoerbuchhoerer
solved similar issue with using database sessions, carefully search for session_start() in vendor files, remove them all. hoerer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group

Re: othAuth looses session - upgrading to new 1.2.0.6311 (2008)

2008-01-07 Thread Damon
Having the same thing here, but not solution yet. On Jan 3, 6:17 am, Klaus <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I can't figure out whats the matter. My problem: > > Running application with cake1.2pre-beta and the othAuth component > went fine, but loose

othAuth looses session - upgrading to new 1.2.0.6311 (2008)

2008-01-03 Thread Klaus
Hello everyone, I can't figure out whats the matter. My problem: Running application with cake 1.2 pre-beta and the othAuth component went fine, but looses login-session since migrated to the newest cake- beta. I made the changes to the component as somewhere supposed on the list (sorry

Re: othAuth

2007-12-21 Thread daphonz
It looks like you need to set PHP to allow call-time pass by reference, which is technically depreciated, but works fine. You can do that by adding the following line to the .htaccess file in your cake directory: php_flag allow_call_time_pass_reference on Hope this helps. Casey On Dec 20, 5:4

Re: othAuth

2007-12-20 Thread pandako
ok, since i use cake 1.1.8 i changed two lines in oth_auth component file on line 333,334 so i dont get the mysql error anymore. but whats with the headers and that variable notice?... On Dec 20, 11:22 am, pandako <[EMAIL PROTECTED]> wrote: > ok new thing didnt do anything, now it seems that oth

Re: othAuth

2007-12-20 Thread pandako
ok new thing didnt do anything, now it seems that oth_msg outputs right when blank it says so, when wrong usrnm or pswd also, but when i write the right username and password i get following errors: Notice: Only variables should be assigned by reference in /localhost/ hola/app/controllers/compone

Re: othAuth

2007-12-20 Thread pandako
this is my users controller: true, 'login_page' => 'users/login', 'logout_page' => 'users/logout', 'access_page' => 'users/index', 'hashkey' => 'mYpERsOnALhaSHkeY', '

Re: othAuth

2007-12-19 Thread daphonz
What is your othAuth setup? On Dec 19, 10:15 am, pandako <[EMAIL PROTECTED]> wrote: > ok, i made new clean install of cake without ani paginations and > decorate.php... > > now when i try to login it simply doesnt redirect me to any page but > to login.thtml forever. i imput

Re: othAuth

2007-12-19 Thread pandako
ok, i made new clean install of cake without ani paginations and decorate.php... now when i try to login it simply doesnt redirect me to any page but to login.thtml forever. i imputed: "auth_msg" and it says "Plaese login!" no matter what i type in form, even if i leave it blank.. Any sugestions

othAuth

2007-12-19 Thread pandako
hi all, i am very new to php and cake. i am trying to use othauth in my simple test aplication with databases. However i dont understand things well enough to get it working. i use php- 4 cake- 1.185 and othAuth- 0.5.4.5 i went through step by step documentation of othAuth in bakery and read

Re: othAuth component + CakePHP 1.2.0.5875 prebeta = broken ==> saveField not working

2007-12-10 Thread bingo
hi daphonz, luke, I did check Red Frogs blog and made the suggested changes, but still the problem exist. :( I will again check othAuth component to make sure I didn't miss any changes suggested in Red Frogs blog Regards, bingo On Dec 10, 11:40 am, luke BAKING barker <[EMAIL PROTECTED

Re: othAuth component + CakePHP 1.2.0.5875 prebeta = broken ==> saveField not working

2007-12-10 Thread luke BAKING barker
check red frogs blog on this too and other posts in the group..othAuth 1.2 pre-beta On Dec 10, 4:19 pm, daphonz <[EMAIL PROTECTED]> wrote: > I had some issues getting the othAuth component to work with Cake pre- > beta as well. I think had the same problem you did. You can read my

Re: othAuth component + CakePHP 1.2.0.5875 prebeta = broken ==> saveField not working

2007-12-10 Thread daphonz
I had some issues getting the othAuth component to work with Cake pre- beta as well. I think had the same problem you did. You can read my blog post about it: http://www.ancientwisdom.cc/news/archives/111 Hope that helps. Casey On Dec 8, 11:09 am, bingo <[EMAIL PROTECTED]> wrote

othAuth component + CakePHP 1.2.0.5875 prebeta = broken ==> saveField not working

2007-12-08 Thread bingo
hi, I did some debugging..and it seems the above problem is only with OthAuth component. I searched through all the possible sources..but couldn't find any reason why its not working. Any help will be appreciated. Regards, Ritesh --~--~-~--~~~---~--~

othAuth issue, believe begins with auto_redirect

2007-11-29 Thread clrockwell
Hello, I am implementing othAuth and run into issues when using $auto_redirect = true; please note that after each test, I clear cache and cookies, then test again. 1st situation: $auto_redirect = true with proper credentials, can login in fine at user/login and directs to correct page

othAuth Login Problem

2007-11-23 Thread jm
After giving up on the new CakePHP Auth component, I found othAuth. I followed the documentation on the Bakery site: http://bakery.cakephp.org/articles/view/othauth-0-5-documentation And I have it working just like it should. The only problem, every time a user logs in, a new record is

Re: othAuth with Cake 1.2.x.x Nightly Build (5938)

2007-11-03 Thread R. Rajesh Jeba Anbiah
On Nov 3, 5:47 am, gmwebs <[EMAIL PROTECTED]> wrote: > For some reason or another, since upgrading to the latest pre-beta > 1.2.x.x I have been experiencing issues with the othAuth component. I > have also upgraded to the latest nightly build but it has not made any > differen

Re: othAuth with Cake 1.2.x.x Nightly Build (5938)

2007-11-03 Thread gmwebs
I take it by POSTs you mean form submissions with a method of POST? Well if so, then no, it does not happen for all POSTs. It seems only to happen with my admin functions. I can navigate the site as a normal user while logged in, but as soon as I log in as an administrator and attempt to edit an

Re: othAuth with Cake 1.2.x.x Nightly Build (5938)

2007-11-03 Thread luke BAKING barker
Is this happening only for admin actions or all POSTs ? Luke On Nov 3, 12:47 am, gmwebs <[EMAIL PROTECTED]> wrote: > For some reason or another, since upgrading to the latest pre-beta > 1.2.x.x I have been experiencing issues with the othAuth component. I > have also upgrade

Re: OthAuth with Cake 1.2.0.5875 pre-beta problems?

2007-11-02 Thread gmwebs
I have also been experiencing some issues - I have posted mine this evening to the group as well. Have you seen http://www.ancientwisdom.cc/news/archives/111 which outlines some changes? Might be of some help to you... --~--~-~--~~~---~--~~ You received this mess

othAuth with Cake 1.2.x.x Nightly Build (5938)

2007-11-02 Thread gmwebs
For some reason or another, since upgrading to the latest pre-beta 1.2.x.x I have been experiencing issues with the othAuth component. I have also upgraded to the latest nightly build but it has not made any difference. I followed the instructions in http://www.ancientwisdom.cc/news/archives/111

OthAuth with Cake 1.2.0.5875 pre-beta problems?

2007-11-02 Thread chewie124
Hi all - has anybody else noticed problems with othAuth breaking down with the latest release of cakephp? With the previous alpha release, things were working hunky dory. When I tried to upgrade to the latest beta version released on the 22nd the system started behaving very funny. Some actions

Re: AuthComponent or othAuth?

2007-10-07 Thread michaaaa
Alright, I got the whole ACL thing set up. I think. Auth component works like a charm. I read the tutorials on lemoncake and added the Acl behaviour to my User and Group model. So AROs are managed automatically, no problems here. ACOs are still giving me a hard time. I want to be able to set per

Re: AuthComponent or othAuth?

2007-10-07 Thread michaaaa
Thanks, I already solved the problem earlier. The mysql.sock was located in: /Applications/MAMP/tmp/mysql/mysql.sock Now it finally works. On 7 Okt., 18:06, DrZippie <[EMAIL PROTECTED]> wrote: > You must have mysql installed and running. > > When I Installed MySQL 5 in my iMac I got the same prob

Re: AuthComponent or othAuth?

2007-10-07 Thread DrZippie
You must have mysql installed and running. When I Installed MySQL 5 in my iMac I got the same problem, with the symbolic link I solved the problem. Try to start mysql server, and search the mysql.sock with locate mysql.sock 2007/10/7, mich <[EMAIL PROTECTED]>: > > On 7 Okt., 01:42, DrZip

Re: AuthComponent or othAuth?

2007-10-07 Thread michaaaa
On 7 Okt., 01:42, DrZippie <[EMAIL PROTECTED]> wrote: > In the terminal execute: > > sudo mkdir /var/mysql > sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock I tried that, but the errors are still there, although the symbolic link was created (checked it with the terminal). However there

Re: AuthComponent or othAuth?

2007-10-06 Thread DrZippie
To solve this problem in Mac OS X, you must create a symbolic link from the right place to the socket. In the terminal execute: sudo mkdir /var/mysql sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock 2007/10/6, mich <[EMAIL PROTECTED]>: > > I tried to set up ACL but I got the follo

Re: AuthComponent or othAuth?

2007-10-06 Thread michaaaa
D]> wrote: > On 10/5/07, mich <[EMAIL PROTECTED]> wrote: > > > > > Thanks for your opinion. I read the blog post you mentioned and found > > a very useful. > > > One thing I like about othAuth is that you can access the authed > > user's data

Re: AuthComponent or othAuth?

2007-10-05 Thread michaaaa
ote: > > > > > Thanks for your opinion. I read the blog post you mentioned and found > > a very useful. > > > One thing I like about othAuth is that you can access the authed > > user's data in any controller or view with $this->othAuth->user().

Re: AuthComponent or othAuth?

2007-10-05 Thread Chris Hartjes
On 10/5/07, mich <[EMAIL PROTECTED]> wrote: > > Thanks for your opinion. I read the blog post you mentioned and found > a very useful. > > One thing I like about othAuth is that you can access the authed > user's data in any controller or view with $this->othAu

Re: AuthComponent or othAuth?

2007-10-05 Thread michaaaa
Thanks for your opinion. I read the blog post you mentioned and found a very useful. One thing I like about othAuth is that you can access the authed user's data in any controller or view with $this->othAuth->user(). Is there a similar function in the Auth component? On 5 Okt., 16

Re: AuthComponent or othAuth?

2007-10-05 Thread michaaaa
Thanks for your opinion. I read your article you were talking about and found it very useful. Something I like about othAuth is the fact that you can easily access the data of the currently authed user inside the controller or view with $this->othAuth->user() and $othAuth->user().

Re: AuthComponent or othAuth?

2007-10-05 Thread Chris Hartjes
On 10/5/07, mich <[EMAIL PROTECTED]> wrote: > > > However I'm in interested in other people's opinions about which > component is better and the pros and cons. :) > I recommend using the Auth component, and have blogged several times with some examples about how to use it. -- Chris Hartjes

AuthComponent or othAuth?

2007-10-05 Thread michaaaa
Hello guys. Currently I'm using othAuth to handle user authorisation and permissions. I recently came across an article about the "new" AuthComponent in Cake 1.2. Now I'm thinking about switching to the official AuthComponent because somehow it doesn't feel right using

Re: R: othAuth component v0.5.4.5

2007-08-21 Thread Baz
> > > Seriously, though, I hope you get it to work as I'm, too, a self- > > proclaimed moron (ok, maybe the title was "volunteered" on me by > > others). Adding auth to my big app is something I'll do at the end > > after I just build it first (damn it!).

Re: R: othAuth component v0.5.4.5

2007-08-21 Thread joebaker
ntation themselves...they get volunteered by others :) > > Seriously, though, I hope you get it to work as I'm, too, a self- > proclaimed moron (ok, maybe the title was "volunteered" on me by > others). Adding auth to my big app is something I'll do at the end > aft

Re: R: othAuth component v0.5.4.5

2007-08-20 Thread NOSLOW
med moron (ok, maybe the title was "volunteered" on me by others). Adding auth to my big app is something I'll do at the end after I just build it first (damn it!). By that time, othAuth should be at like version 12 and when it doesn't work for me, I'll be quite convinced it&#

Re: R: othAuth component v0.5.4.5

2007-08-20 Thread Baz
or me either. Again, someone needs to put a a "For Dummies" lol. But ok, this is what I'm gonna do. I'm gonna give othAuth another try and I'll give you guys my specific errors, how's that sound? If I can get it to work, then I'll write a tutorial fo

Re: R: othAuth component v0.5.4.5

2007-08-20 Thread luke BAKING barker
Baz - what problems did you have exactly? It works well othAuth system! You shouldnt just sound off, if you don't specify problems :( there isnt much to set it up either, the docs in the bakery are quite full if you read them. Luke On Aug 20, 8:11 am, <[EMAIL PROTECTED]> wrote: &

R: othAuth component v0.5.4.5

2007-08-20 Thread m.sbragi
@googlegroups.com Oggetto: Re: othAuth component v0.5.4.5 Tried that, didn't really work out. Had to backtrack to obAuth, because I really needed something to work and work now. Oh well. One day I hope someone writes a "F

Re: othAuth component v0.5.4.5

2007-08-19 Thread Baz
PROTECTED]> wrote: > > > 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

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 al

othAuth component v0.5.4.5

2007-08-18 Thread MURAT OBALI
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 and I decided to use othAuth component v0.5.4.5. But I could not succeed to install it. Is there any step by step manual or coul

othAuth, nao mode?

2007-08-12 Thread chewie124
Can anybody point me in the direction where I can read about othAuth's 'nao' mode, where a user can belong to multiple groups? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to th

othAuth & multple CAKE_ADMINS

2007-07-04 Thread Jon Bennett
Hi Bakers, I've been trying to get othAuth working in conjunction with this bakery article http://bakery.cakephp.org/articles/view/using-cake_admin-for-multiple-user-types In a nutshell I want to: 1. separate the natural logic of my app by group (admins, contractors, users) 2. r

Re: Admin routing in combination with OthAuth

2007-06-26 Thread [EMAIL PROTECTED]
Totally clear to me. Thenx, Jos On 26 jun, 14:23, Nasko <[EMAIL PROTECTED]> wrote: > To be precise: > > > If you set the othAuth settings properly you'd get redirected to / > > admin/users/login if you try to access a page that needs specific > > permission

Re: Admin routing in combination with OthAuth

2007-06-26 Thread Nasko
To be precise: > If you set the othAuth settings properly you'd get redirected to / > admin/users/login if you try to access a page that needs specific > permissions. You'd be redirected to admin/users/login if you haven't been logged-in and the action requires specific

Re: Admin routing in combination with OthAuth

2007-06-26 Thread Jonathan Langevin
Nasko, thanks very much for that detailed example ;-) On 6/26/07, Nasko <[EMAIL PROTECTED]> wrote: > > > I'm using othAuth in my current project. The way it worked for me - I > don't have this special route specified: > $Route->connect('/admin', array(

Re: Admin routing in combination with OthAuth

2007-06-26 Thread Nasko
I'm using othAuth in my current project. The way it worked for me - I don't have this special route specified: $Route->connect('/admin', array('controller' => 'users', 'action' =>'login')); Instead, I have my '/admin&#

Admin routing in combination with OthAuth

2007-06-26 Thread [EMAIL PROTECTED]
' => 'display', 'home')); $Route->connect('/pages/*', array('controller' => 'pages', 'action' => 'display')); $Route->connect('/tests', array('controller' => 'tests', 'action

othAuth help needed

2007-06-13 Thread DlEast
Hi ! Im new to cake but have quickly became found of it and are now building a site that requires auth. othAuth seems like a great component and have played around with it but can't get it working completely as I would like. I have searched for an answer but without luck so here are m

Re: othauth permissions

2007-06-10 Thread bingo
te: > Hello all, > > I was wondering if somebody know how you can add/edit/delete groups > permissions online with othauth Hope somebody does... > > Ciao --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

othauth permissions

2007-06-10 Thread Oneill
Hello all, I was wondering if somebody know how you can add/edit/delete groups permissions online with othauth Hope somebody does... Ciao --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP"

Re: othAuth in nao mode

2007-06-07 Thread Mootinator
I got mine working using HABTM as described in the OP. 1. Followed steps in original post. 2. Commented out both references to $row[$this->user_model][$this- >user_table_gid]; 3. In function _othCheckPermission, changed: if(!isset($ses[$this->group_model][$this->permission_model])) to: if(!isset(

Re: othAuth in nao mode

2007-06-03 Thread disc
People, please help in this question. On 3, 04:13, Wole <[EMAIL PROTECTED]> wrote: > I'm also working on fixing the nao authentication because I really > need it in my app and think it will be beneficial to all. When I tried > the nao mode I kept getting an error that said > > Uninitialized s

Re: othAuth in nao mode

2007-06-02 Thread Wole
I'm also working on fixing the nao authentication because I really need it in my app and think it will be beneficial to all. When I tried the nao mode I kept getting an error that said Uninitialized string offset: 0 in [path to oth_auth.php] on line 416. I checked line 416 of the naoLogin functi

Re: othAuth in nao mode

2007-06-02 Thread disc
please say. Where I can read docs, how use NAO mode in othAuth component --~--~-~--~~~---~--~~ 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@googlegro

othAuth error Notice: Only variables should be assigned by reference

2007-05-24 Thread Paul R. Zwiers
Hi All, I am implementing the othAuth component in a new project for which I quickly drafted a demoversion using scaffolding (I love cake for it). When I tested it on my two development servers all was fine, but putting it on the server of the client the app broke with the above error in the

othAuth error otice: Only variables should be assigned by reference

2007-05-24 Thread Paul R. Zwiers
Hi All, I am implementing the othAuth component in a new project for which I quickly drafted a demoversion using scaffolding (I love cake for it). When I tested it on my two development servers all was fine, but putting it on the server of the client the app broke with the above error in the

Re: othAuth: Only showing content to certain levels

2007-05-21 Thread Tane Piper
Well it seems to be a PHP limitation. I can't do: if (!empty($this->othAuth->group('level'))) But I can do $var = $this->othAuth->group('level'); if (!empty($var)) Tane On 5/21/07, Tane Piper <[EMAIL PROTECTED]> wrote: > On 5/21/07, CraZyLeGs <

Re: othAuth: Only showing content to certain levels

2007-05-21 Thread Tane Piper
On 5/21/07, CraZyLeGs <[EMAIL PROTECTED]> wrote: > I don't know about your error does it happen for $this->othAuth- > >group('name') for example ? > Yea, it does - same error. Tane --~--~-~--~~~---~--~~ You received this m

Re: othAuth: Only showing content to certain levels

2007-05-21 Thread CraZyLeGs
#x27;))) { $this->render($param); } $this->render('foo'); } I don't know about your error does it happen for $this->othAuth- >group('name') for example ? On May 21, 7:11 am, "Tane Piper" <[EMAIL PROTECTED]> wrote: > Hi, > > I'v

Re: othAuth: Only showing content to certain levels

2007-05-21 Thread Tane Piper
Hi, I've had a look at this over the weekend, not had any luck with it? Would anyone be able to propose a possible solution? On 5/18/07, Tane Piper <[EMAIL PROTECTED]> wrote: > I'm adding user levels to my content, as some I only want to show some > content to certain use

othAuth: Only showing content to certain levels

2007-05-18 Thread Tane Piper
I'm adding user levels to my content, as some I only want to show some content to certain users. I'm using othAuth, and this is how I currently have my function: function index() { if (!empty($this->othAuth-

Administrator to become a user by proxy with othAuth

2007-05-16 Thread basic612
Hi, I have an app where I'm using othAuth for my login / authentication. The app has two levels of users - administrators and registered users. At the moment when I log in with a username in the administrators group I have the app set up to send me to the administration page. >From the

Administrator to become a user by proxy with othAuth

2007-05-16 Thread basic612
Hi, I have an app where I'm using othAuth for my login / authentication. The app has two levels of users - administrators and registered users. At the moment when I log in with a username in the administrators group I have the app set up to send me to the administration page. >From the

Re: othAuth Performance

2007-05-15 Thread Dave J
oh ok cool so really, the hit should be negligible. I'll do some benchmarking when i have progressed some more and see how it goes. thanks! On May 15, 4:51 pm, CraZyLeGs <[EMAIL PROTECTED]> wrote: > othAuth only does a session check, if the the action is public it > d

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: > > > > >

Re: othAuth Performance

2007-05-14 Thread Chris Hartjes
he same > controller). Now, on a heavily visited site... does anyone have > experience regarding any slowdowns by using the othAuth component? That's how I personally would do it. Keep the auth stuff for the areas that need it. -- Chris Hartjes My motto for 2007: "Just bui

othAuth Performance

2007-05-14 Thread Dave J
Hi guys, I've just started using CakePHP a couple of weeks ago and so far I'm beyond impressed with its flexibily and simplicity. I'm currently implementing othAuth for the administration pages of the app and so far its been great and works fine. My question is this. as

othAuth & Expired Sessions

2007-05-02 Thread Tane Piper
Hi folks, Having an issue with othAuth that I want to get rid of. What seems to happen is when the users session expires, if they visit any page all they get is a blank page. Checking it with Firebug, all I seem to get is an empty tag in between the body tags. This of course only happens

Re: Undefined property: hashkey when using othAuth

2007-05-02 Thread matlin
How right you where. Now all I have to do is to understand how permissions are supposed to work in othAuth ... When I print out using $othAuth->getData data["Group"]["Permission"] is empty. On May 1, 10:38 am, CraZyLeGs <[EMAIL PROTECTED]> wrote: > Likely you

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

Undefined property: hashkey when using othAuth

2007-04-30 Thread matlin
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 component/helper and found a solotion. Notice: Undefined property: hashkey in /afs/su.se/services/www/hosts/ www.lab.it.su.se/pages/cake/app/views/helpers/oth_auth.php on l

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

Re: othAuth...login problem

2007-04-23 Thread Stacey
ok, i'm stupid. i am new to cake, and thought that othAuth somehow handled the field validation. after reading some posts, i realized i need to do it myself. got it working...thanks. On Apr 23, 12:30 pm, Stacey <[EMAIL PROTECTED]> wrote: > hi all, > > cake version: v1.1.1

othAuth...login problem

2007-04-23 Thread Stacey
hi all, cake version: v1.1.13.4450 i've been trying to implement othAuth, and seem to be having a problem with login errors. it seems to be installed properly...if i login with the correct password, it lets me access the pages. but, it is not returning any errors if the login is incorrect

othauth in nao mode

2007-04-14 Thread gar
Is there any documentation for using othauth in nao mode? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from

Re: othAuth in nao mode

2007-04-08 Thread LSL
have no access. This might be resolvable. I'll try to solve this and keep all informed. LSL LSL napsal: > Hallo. > I have made othAuth working just in oth mode according to othAuth > documentation (http://bakery.cakephp.org/articles/view/148). I would > like to make it working in

othAuth in nao mode

2007-04-08 Thread LSL
Hallo. I have made othAuth working just in oth mode according to othAuth documentation (http://bakery.cakephp.org/articles/view/148). I would like to make it working in nao mode so I can have more groups user belongs to. I have not found any docs about this mode so I have tried to do it myself

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

2007-04-07 Thread CraZyLeGs
log someone without password ? eh talk about security.. maybe a hash of the password and login with some salt Anyway look here http://bakery.cakephp.org/articles/view/99 in the comments "11 Howto automaticly sign in a user." On Apr 6, 11:54 pm, "Bootstrapper" <[EMAIL PROTECTED]> wrote: > Excell

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

2007-04-07 Thread CraZyLeGs
log someone without password ? eh talk about security.. maybe a hash of the password and login with some salt Anyway look here http://bakery.cakephp.org/articles/view/99 in the comments "11 Howto automaticly sign in a user." On Apr 6, 11:54 pm, "Bootstrapper" <[EMAIL PROTECTED]> wrote: > Excell

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

2007-04-06 Thread Bootstrapper
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 login form. But isn't there a way to directly log so

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

2007-04-05 Thread CraZyLeGs
disable auto redirects in othAuth, login() and then call requestAction. logout() if you need afterwards. something like( not tested): $this->othAuth->auto_redirect = false; $this->data[$this->othAuth->user_model][$this->othAuth- >user_login_var] = 'login'; $this->

How to execute OthAuth protected actions with a CRON job?

2007-04-03 Thread Bootstrapper
I'm generating a view that is emailed to my subscribers regularly through a CRON job. It works fine if the CRON job is only accessing actions that are unprotected by OthAuth (for example if var $othAuthRestrictions = null;). It's alright if the initial action being called is unprot

Re: OthAuth - Login link from email?

2007-03-21 Thread Hawk|
action you just query after that token. $condition = array('Users.email_token = $emailtoken'); Get the data, an temp var like $temp = $this->User->find($condition); Then you clear the array with $this->data = array(); This is important, because othAuth tries to rehash the hashed pwd,

  1   2   3   >