Anyone? :)
On Jun 14, 12:04 pm, tigana.flu...@gmail.com wrote:
> Hi all. When I changed my session storage class to sfPDOSessionStorage,
> permissions didn't work anymore. Do I need to do something other than
> creating the table and configuring factories.yml for these to go back to
> normal? The
Hi Introvert,
Actually, I am building one, using it for a few applications (or
actually, rebuilding it from scratch, as there are is a lot to it)
Want to publish the plugin soon, will be jvSaasPlugin, from Software
as a Service.
It is build on top of sfDoctrineGuardPlugin (trunk) and
sfDoctrineAp
Hi Introvert,
could you not create a user admin user group that is exempt from using the
site_id in your SQL queries..
On Tue, Jan 25, 2011 at 2:30 PM, Gabriel Petchesi wrote:
> This is beyond what you can do with sfGuardUser, search on google for SSO
> (Single Sign On) technologies:
> http://en
This is beyond what you can do with sfGuardUser, search on google for SSO
(Single Sign On) technologies:
http://en.wikipedia.org/wiki/List_of_single_sign-on_implementations
If you want to build it yourself you could do something like this:
1. User logins to site A
2. User gets first page from si
Check the database collation:
http://dev.mysql.com/doc/refman/5.1/en/charset-collation-names.html
Some of the collations are case sensitive, others not:
utf8_general_ci vs. utf8_general_cs
Maybe this fixes the problem.
gabriel
--
If you want to report a vulnerability issue on symfony, ple
I would do that somewhere in the login process of the user.
just call getUser()->setCulture($culture); where $culture is
readed from the user profile.
On 19 čnc, 20:16, Tomasz Ignatiuk wrote:
> Hi
>
> If I add a profile to a user with some information, also a language
> for a user, how to
If you're using Doctrine, you could use inheritance. For example using
column aggregation.
On Nov 26, 5:43 am, Richtermeister wrote:
> Hi all,
>
> I'm quite familiar with sfGuard, but there's one thing I've never
> figured out right.
> I have to build an application with quite a few different use
You can also create sfGuardGroup for each type of user you have and set the
sfGuardUserGroup to the type of user your are creating.
2009/11/26 halfer
> > I have to build an application with quite a few different user types -
> > admins, members, affiliates, sales people, and all of these types w
> I have to build an application with quite a few different user types -
> admins, members, affiliates, sales people, and all of these types will
> use different applications within the project. Now, of course I'd like
> to use sfGuard for this, but I'm struggling with how to administer
> these use
There are some several places in sfGuardPlugin where the $con parameter is
ignored ... I have uploaded a patch with several fixes, but it still need to
apply those patches...
On Mon, Nov 23, 2009 at 3:25 PM, axel at wrote:
> Found an easier solution for the problem by adding
>
> connection: xyz
Found an easier solution for the problem by adding
connection: xyz
to all model definitions in
to the plugins/sfDoctrineGuardPlugin/config/doctrine/schema.yml:
eg:
sfGuardGroup:
connection: xyz
On 23 Nov., 13:57, Gareth McCumskey wrote:
> The way I would do this in Propel instead is in m
I've done all of these things.
To be concise:
sfGuard is installed and works fine on the module/action level. The
whole application can be secured using is_secure, which means any
action requires a successful login.
What I need is to be able to say that this whole environment (prod)
requires a
Check you've enabled the modules in your settings.yml - you should have:
sfGuardAuth in your settings -> all:-> .settings:-> enabled_modules
On Thu, 22 Oct 2009 12:59:00 +0200, pcummins wrote:
>
> Did you follow all of the steps in the install guide?
>
> Doctrine version is here:
> http:
Did you follow all of the steps in the install guide?
Doctrine version is here:
http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin
Lots of people miss the part about changing the myUser class, and of
course don't forget to 'symfony cc'
On Oct 21, 3:02 pm, Martin Settle wrote:
> Sorr
Sorry... that was just a typo in my e-mail... I'm programming in a
vmware machine that I can't easily cut and paste from.
The
credentials: backend
doesn't seem to take effect -- I've even tried removing the default section.
Marti
2009/10/21 david :
>
> Try dropping one of the l's from:
>
>>
Try dropping one of the l's from:
> defaullt:
> is_secure: on
On Wed, 21 Oct 2009 20:48:03 +0200, Martin Settle
wrote:
>
> Hi all.
>
> I'm about to start parallel-processing on a symfony database. I'd
> like to be able to give people the opportunity to log in and play with
> the system in
It does seem to be a bug that exists in the propel version as well.
On Sat, Oct 17, 2009 at 21:01, HiDDeN wrote:
>
> But why is the filter storing the IP if it is not using it to
> authenticate the user?
>
>
> On 11 oct, 11:06, Alexandru-Emil Lupu wrote:
>> use just the cookie ... not the ip it
But why is the filter storing the IP if it is not using it to
authenticate the user?
On 11 oct, 11:06, Alexandru-Emil Lupu wrote:
> use just the cookie ... not the ip itsself ...
>
> On Fri, Oct 9, 2009 at 5:46 PM, Charles Bernard
> wrote:
>
>
>
> > Hi there,
>
> > I’m concerned about this IP
If one had to write a migration for sfGuardUser or some inherited form
of it. How would this issue affect the implementation.
With best regards,
Alex Stoneham
On Oct 14, 1:55 am, Matt Robinson wrote:
> On Oct 13, 3:13 pm, Pablo Godel wrote:
>
> > I am using sfDoctrineGuard plugin. When I run
On Oct 13, 3:13 pm, Pablo Godel wrote:
> I am using sfDoctrineGuard plugin. When I run doctrine:data-dump and then
> data-load the passwords which are encripted by default with sha1 get
> corrupted.
As others have said, sfGuard's setPassword method is called by the
data-load task, and re-hashes
I tried this one briefly and did not fix the problem. The password keeps
changing.
The other patch looks like it would be the fix but when doing the data-load
I get an exception and nothing gets loaded. Need to look further when I get
some time.
On Tue, Oct 13, 2009 at 11:40 AM, david wrote:
>
There appears to be another work-around:
http://trac.symfony-project.org/ticket/6196
On Tue, 13 Oct 2009 17:15:08 +0200, Pablo Godel wrote:
> shouldn't this be applied to the plugin code?
>
>
> On Tue, Oct 13, 2009 at 11:10 AM, david
> wrote:
>
>>
>> Checkout: http://forum.symfony-project.
shouldn't this be applied to the plugin code?
On Tue, Oct 13, 2009 at 11:10 AM, david wrote:
>
> Checkout: http://forum.symfony-project.org/index.php/m/83831/ for more
> info
>
> On Tue, 13 Oct 2009 16:40:25 +0200, david
> wrote:
>
> >
> > The password is hashed when it's set - expecting a plai
Checkout: http://forum.symfony-project.org/index.php/m/83831/ for more info
On Tue, 13 Oct 2009 16:40:25 +0200, david
wrote:
>
> The password is hashed when it's set - expecting a plaintext password
> rather than a hashed one.
> There was a post a while ago about this issue - you need to crea
By default, data-load loads the raw data from the yml, but
sfGuardPlugin has overwritten setPassword() to make sure passwords are
stored encrypted.
As doctrine:* tasks use doctrine (and therefore the overwritten
setPassword()) the only way to load the raw data is to go around
doctrine completely.
The password is hashed when it's set - expecting a plaintext password
rather than a hashed one.
There was a post a while ago about this issue - you need to created a
method on the model that skips the hashing process.
On Tue, 13 Oct 2009 16:35:07 +0200, Pablo Godel wrote:
> That's what I th
That's what I thought is happening, but since the data-dump is raw that,
shouldn't data-load load the raw data ? is there any existing method to load
the raw dumped data directly to the DB ?
thanks for your reply.
On Tue, Oct 13, 2009 at 10:19 AM, Gábor Fási wrote:
>
> The data-dump task export
The data-dump task exports the raw values found in the database, ie.
the encrypted ones. While doing the data-load, the plugin's
overwritten setPassword() setter is called, that expect to get a
plaintext value, so it encodes it. Your passwords get corrupted
because of being encrypted again.
On Tu
use just the cookie ... not the ip itsself ...
On Fri, Oct 9, 2009 at 5:46 PM, Charles Bernard wrote:
>
> Hi there,
>
> I’m concerned about this IP checking thing (ip_address field in
> sf_guard_remember_key table).
>
> It seems like my website remenbers me for a day only since most ISPs
> renew
HI!
SfGuard Supports ajax.
i guess you'll have to check the Sf docs for ajax for more details ...
Alecs
On Fri, Sep 18, 2009 at 8:46 PM, Manish Ranade wrote:
> Hi,
> I am using sfGuardPlugin for building an authentication system. I am trying
> to make it work when the login form is submitted t
comment at the bottom
On Tue, Sep 15, 2009 at 8:53 AM, Alexandru-Emil Lupu
wrote:
> HI!
> yes ... is possible but, you'll need to make some modifications to
> sfGuardPluigin.
>
> Add something like:
> public function executeEdit(sfWebRequest $request)
> {
> $this->form1 = new FooForm();
>
>
HI!
yes ... is possible but, you'll need to make some modifications to
sfGuardPluigin.
Add something like:
public function executeEdit(sfWebRequest $request)
{
$this->form1 = new FooForm();
parent::executeEdit($request);
}
On Tue, Sep 15, 2009 at 1:23 AM, Mihai RUSOAIE wrote:
> Hel
Did you enabled sfGuardBasicSecurityFilter in filters.yml?
On Mon, Aug 10, 2009 at 11:39 AM, Aurélien Lansmanne wrote:
>
> Hello,
>
> I know this problem is not new, and maybe it has already been asked,
> but I haven't been able to find one.
>
> When I want to login on my website, and check the "
Try hasCredential() instead of hasPermission() if you use $sf_user.
I think the latter only works for an sfGuardUser object, i.e. something like
$sf_user->getGuardUser()->hasPermission('bla')
2009/7/30 ShotoKan
>
> Hello...
>
> I have a trouble with the sfGuardPlugin: I need check if the user ha
Gábor Fási írta:
> sfGuardSecurityUser has a method called hasGroup(), see
> http://trac.symfony-project.org/browser/plugins/sfGuardPlugin/branches/1.2/lib/user/sfGuardSecurityUser.class.php#L189
>
> 2009/7/18 Hofferek Attila :
>> Hi all,
>>
>> is it possible to decide programmatically, if the ac
sfGuardSecurityUser has a method called hasGroup(), see
http://trac.symfony-project.org/browser/plugins/sfGuardPlugin/branches/1.2/lib/user/sfGuardSecurityUser.class.php#L189
2009/7/18 Hofferek Attila :
>
> Hi all,
>
> is it possible to decide programmatically, if the actual user is member
> of a
Hey Germana,
you can create your own form, extending the sfGuardUserFilterForm and
make your modifications from inside that form.
Look at the formatter classes to see what format settings you can
customize.. for example:
$this -> widgetSchema -> getFormFormatter() -> setErrorListFormatInARow
("
Create the directory:
:apps/myApp/modules/sfGuardAuth/templates
Copy the signinSuccess.php template from the plugin into this directory
and modify it. You don't need to create the actions directory.
Hope that helps.
Germana Oliveira wrote:
> Hi!!
>
> just one little thing..
>
> How can i mo
If you're using the branches/1.1 svn version of symfony, propel-based
tasks are broken for some reason. switch to tags/RELEASE_1_1_7
On May 24, 2009, at 1:54 AM, Alexandru-Emil Lupu wrote:
> symfony cc ?
>
> On Sun, May 24, 2009 at 6:58 AM, murthy
> wrote:
>
> Hello,
> I am using Propel O
symfony cc ?
On Sun, May 24, 2009 at 6:58 AM, murthy wrote:
>
> Hello,
> I am using Propel ORM.
>
> On May 20, 5:11 pm, "Jan De Coster" wrote:
> > What ORM are you using ?
> >
> > Kr,
> >
> > -Oorspronkelijk bericht-
> > Van: symfony-users@googlegroups.com [mailto:
> symfony-us...@goog
Hello,
I am using Propel ORM.
On May 20, 5:11 pm, "Jan De Coster" wrote:
> What ORM are you using ?
>
> Kr,
>
> -Oorspronkelijk bericht-
> Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
> Namens murthy
> Verzonden: woensdag 20 mei 2009 13:58
> Aan: symfony u
See that you might use doctrine.
If you are using doctrine, then you should install sfDoctrineGuard or so.
Alecs
On Wed, May 20, 2009 at 3:11 PM, Jan De Coster wrote:
>
> What ORM are you using ?
>
> Kr,
>
> -Oorspronkelijk bericht-
> Van: symfony-users@googlegroups.com [mailto:symfony
What ORM are you using ?
Kr,
-Oorspronkelijk bericht-
Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
Namens murthy
Verzonden: woensdag 20 mei 2009 13:58
Aan: symfony users
Onderwerp: [symfony-users] sfGuard problem
When I try to do "symfony propel:build-mo
Of lately I've been all about putting everything in the model, it just
makes all the code cleaner. Anyways, if you're going to want users to
be set as inactive by default more than active you might want to think
about making that field default to false. Then you would only have to
handle it in t
WOW - now it works - thx you so much !! :P
On 9 Mar, 11:45, Gregoire Laporte wrote:
> yes !!
> Look herehttp://trac.symfony-project.org/ticket/5891
>
> Good luck :p
>
>
>
> > Date: Mon, 9 Mar 2009 03:38:50 -0700
> > Subject: [symfony-users] Re: sfGuard - how
yes !!
Look here
http://trac.symfony-project.org/ticket/5891
Good luck :p
> Date: Mon, 9 Mar 2009 03:38:50 -0700
> Subject: [symfony-users] Re: sfGuard - how can I make default is_active = 0 ?
> From: aaabbbcccda...@gmail.com
> To: symfony-users@googlegroups.com
>
>
>
I have changed file action.class.php:
$user = new sfGuardUser();
$uuser->setUsername($this->form->getValue('username'));
$user->setPassword($this->form->getValue('password'));
$user->setIsActive(0);
$user->save();
so I have:
class registrationActions extends sfActions
{
public function execute
try this
$this['is_active'] = 0;
but i'm not sure.
If you need a good register you can use the plugin sfApply (register with
email, forgot password, edit profile... and so and so)
> Date: Mon, 9 Mar 2009 03:16:31 -0700
> Subject: [symfony-users] Re: sfGuard - how can I m
file do you edit cause i haven't this code.
>
>
>
> > Date: Mon, 9 Mar 2009 03:00:32 -0700
> > Subject: [symfony-users] Re: sfGuard - how can I make default is_active = 0
> > ?
> > From: aaabbbcccda...@gmail.com
> > To: symfony-users@googlegroup
and with
$this->setIsActive(0);Which Release of this plugin have you? (1.2?) and which
file do you edit cause i haven't this code.
> Date: Mon, 9 Mar 2009 03:00:32 -0700
> Subject: [symfony-users] Re: sfGuard - how can I make default is_active = 0 ?
> From: aaabbbcccda.
his->widgetSchema['surname'] = new sfWidgetFormInput();
$this->widgetSchema['email'] = new sfWidgetFormInput();
//validators. I deleted them - code will be too long
}
}
On 9 Mar, 10:43, Gregoire Laporte wrote:
> i think you need to change the sa
i think you need to change the save method in
/plugin/sfGuardPlugin/lib/model/pluginSfGuardUser.class.php!
> Date: Mon, 9 Mar 2009 02:35:31 -0700
> Subject: [symfony-users] Re: sfGuard - how can I make default is_active = 0 ?
> From: aaabbbcccda...@gmail.com
> To: symfony-users@goog
t's a bug i think !
>
> > Date: Mon, 9 Mar 2009 02:12:32 -0700
> > Subject: [symfony-users] Re: sfGuard - how can I make default is_active = 0
> > ?
> > From: webmas...@apprendre-php.com
> > To: symfony-users@googlegroups.com
>
> > You ha
But you can notice that even is_active == 0 ,the user can connect !!
It's a bug i think !
> Date: Mon, 9 Mar 2009 02:12:32 -0700
> Subject: [symfony-users] Re: sfGuard - how can I make default is_active = 0 ?
> From: webmas...@apprendre-php.com
> To: symfony-users@googlegroup
You have to override the save() method of your form to force the
setIsActive(false) inside. The code you have put in your action does
not belong to the controller but to the model, so let's move it in the
save method of your form.
--~--~-~--~~~---~--~~
You received
I do agree, and this is really probably an question with the Symfony
security model and not sfGuard, so you should probably post this on
the developers list as it's more related to the design of symfony and
not general use.
James
On Feb 3, 2009, at 1:25 PM, Iltar wrote:
>
> Here's my tho
Sure!
On Jan 15, 2:18 am, "krassswr krawr" wrote:
> This is very interesting. Are you planing to post this modified version
> somewhere so other users can use it?
>
> On Tue, Jan 13, 2009 at 8:35 PM, Yevgeniy A. Viktorov
> wrote:
>
>
>
> > Sure, would be great to have this as optional funct
This is very interesting. Are you planing to post this modified version
somewhere so other users can use it?
On Tue, Jan 13, 2009 at 8:35 PM, Yevgeniy A. Viktorov
wrote:
>
>
> Sure, would be great to have this as optional functionality of
> sfGuardPlugin.
>
> Thanks.
>
> On Tue, 2009-01-13 at 02:
Sure, would be great to have this as optional functionality of
sfGuardPlugin.
Thanks.
On Tue, 2009-01-13 at 02:30 -0800, ganda...@gmail.com wrote:
> Hello,
>
> I'm using a modified version of sfguard that does:
>
> 1) I added a delay after a password failure (every failed attempt
> increments
Thanks for the reply, but for NOTE:
I am looking to setup/share only ONE "signin" instance(decorated by
frontend layout) for any(two+) applications. :)
Let's say you have two applications on project, backend and frontend,
than it seems like you must enable sfGuardAuth module for both and it's
w
When you install sfGuard it will automatically route to the login
module/action when the user hits an action that is protected. So all
you do is install that , and you can have a play with you app
routying.yml to make the redirects.
On Jan 9, 12:42 am, "Yevgeniy A. Viktorov"
wrote:
> Hello,
>
>
You need to provide the Profile object that the ProfileForm is bound to.
class UserEditForm extends sfGuardUserForm
{
public function configure()
{
parent::configure();
$profileForm = new ProfileForm($this->object->getProfile());
unset($profileForm['id'], $profileForm['sf_guar
On 10 Dec 2008, at 17:23, Sid Ferreira wrote:
> Indeed my english is sucking last days, but thanks for understanding.
>
> Well, the only point is that MyUsers would be 1:1 in SfGuardUser,
> and all other tables would connect to MyUsers.
So you'd just change your schema.yml (so that your model
Indeed my english is sucking last days, but thanks for understanding.
Well, the only point is that MyUsers would be 1:1 in SfGuardUser, and all
other tables would connect to MyUsers.
The problem isn't logins it self, it's just a database organization.
On Wed, Dec 10, 2008 at 15:17, Lee Bolding <[
The only "link" they'll have in the default configuration is the table
names themselves.
Ofcourse, if that's a problem for you, you can create a table with the
name you DO like, and use the sfGuard external authentication method
to authenticate against this table (but then you'll have to de
Please keep in mind that all the form logic should be done inside the form,
the form is self dependant
So this code should be avoid :
$this->form->setDefaults($this->getUser()->getProfile());
you can provide to your UserEditForm the sfUser Object, and then overwrite
the method updateDefaultsFromO
Ok rebuilding the filters seems to have solved this issue. Thank you.
On Nov 20, 8:47 pm, "noel guilbert" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've just tested it and I can't reproduce this bug. Can you give us
> more details about your error 500 ?
>
> Did you rebuild your forms/filters after the
Hi,
I've just tested it and I can't reproduce this bug. Can you give us
more details about your error 500 ?
Did you rebuild your forms/filters after the upgrade ?
On Thu, Nov 20, 2008 at 4:28 AM, Flancer <[EMAIL PROTECTED]> wrote:
>
> Oh I forgot to mention I am using Symfony 1.2 beta2
>
> On N
Oh I forgot to mention I am using Symfony 1.2 beta2
On Nov 20, 9:53 am, Flancer <[EMAIL PROTECTED]> wrote:
> I have noted something strange about sfGuard 3.1.1.
>
> I have created a table for sfGuardUserProfile for a project.
>
> I would get an error 500 everytime someone logins with a user that
*On Behalf Of *Jonathan Wage
> *Sent:* Wednesday, 22 October 2008 4:17 AM
> *To:* symfony-users@googlegroups.com
> *Subject:* [symfony-users] Re: sfGuard - Permissions & Groups
>
>
>
> I took a look and it seems that is how it behaves. I dunno if that is
> intended or no
Y credentials.
From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Jonathan Wage
Sent: Wednesday, 22 October 2008 4:17 AM
To: symfony-users@googlegroups.com
Subject: [symfony-users] Re: sfGuard - Permissions & Groups
I took a look and it seems that is how it behave
I took a look and it seems that is how it behaves. I dunno if that is
intended or not, but I don't think it should be that way. In the Doctrine
version of the plugin, sfDoctrineGuardPlugin, it behaves the way you are
expecting. It makes sure the explicit permissions and permissions through
groups a
Anyone?
From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Alex 'noetix' Joyce
Sent: Sunday, 19 October 2008 11:05 PM
To: symfony-users@googlegroups.com
Subject: [symfony-users] sfGuard - Permissions & Groups
Hi,
I'm under the understanding that:
- users ca
I think you need to use $sf_user->getAllPermssions() to include a
users group permissions.
I usually overload the sfGuardUser::getPermissions function to use
getAllPermissions, it just makes more sense to me that way.
On 19 Oct 2008, at 13:04, Alex 'noetix' Joyce wrote:
>
>
> After looking a
Javo I find the solution.
if you use $this->form->getObject->save();
then you will save the modied value of the object that you did using
$this->form->getObject()->setUserId(1);
but the other fields that were posted through the form will not be
saved.
So what you have to do is the following
//U
Hello,
Whtat I have understand is
if instead of $sf_guard_user_profile = $this->form->save();
you use $sf_guard_user_profile = $this->form->getObject->save();
then you will be able to save the id you set above..
Please also take not the following post on my thread
http://www.symfony-project.org/
So,
I separated my functions (register and update),
first I'll make my register function, I've tried to rewrite it all
I want to create user ONLY (temporarily) in sf_guard_user_profile
( ALWAYS with user_id = 1(I'm trying to understand symfony system)) ,
so I did something like this
public fun
You're using a function named update to create new users???
Try using separate functions for creating and updating users, it will
make your life a LOT easier.
The update function doesn't need to create any new objects, and in the
registration function, you can use the shortcut $profile = $us
thx but setNew(FALSE) won't solve my problem, because I want to create
new users, not just update them
maybe if somebody show me how did he create his registration
I spent so much time solving this problem
On Aug 26, 12:06 am, "Jim Barcelona" <[EMAIL PROTECTED]> wrote:
> You can try s
I think you have to edit the data in
the $request->getParameter('sf_guard_user_profile') before you bind() it.
On Mon, Aug 25, 2008 at 10:49 AM, javo <[EMAIL PROTECTED]> wrote:
>
> I've created something like this
>
> public function executeUpdate($request)
> {
>
>
>$this->forward404Unless
I've created something like this
public function executeUpdate($request)
{
$this->forward404Unless($request->isMethod('post'));
$this->form = new
SfGuardUserProfileForm(SfGuardUserProfilePeer::retrieveByPk($request-
>getParameter('id')));
$this->form->bind($request-
>getParamete
You can try something like this:
$sfGuardUser->setNew(FALSE);
That tells symfony just to update the user, and you should do the same for
sfGuardUserProfile.
If you're looking for something pretty thorough, check out my blog on
installing the sfGuardAuthPlugin for symfony 1.1 here for some clues:
I'm sorry but can somebody show me how to do that?, I'd like to see
some code example for a start, I'm trying to write that, but I'm
newbie to symfony
On Aug 25, 10:49 am, Lee Bolding <[EMAIL PROTECTED]> wrote:
> On 25 Aug 2008, at 09:02, javo wrote:
>
> > public function executeUpdate($request)
On 25 Aug 2008, at 09:02, javo wrote:
> public function executeUpdate($request)
> {
>$this->forward404Unless($request->isMethod('post'));
>$this->form = new
> SfGuardUserProfileForm(SfGuardUserProfilePeer::retrieveByPk($request-
>> getParameter('id')));
>$this->form->bind($request-
First of all thank you for your answers,
I have latest sfGuard installed, but I can't do that anyway
I tried to edit my user/update action, here's the code
public function executeUpdate($request)
{
$this->forward404Unless($request->isMethod('post'));
$this->form = new
SfGuardUserProf
I had the same problem, but I think Fabien (or someone) added the
processing to the sfGuardUserForm to update the sfGuardUserProfile as
well as sfGuardUser recently.
If you update your sfGuard plugin, you should see the clode in the
sfGuardUserForm.
With this new code, it's as easy as building t
Ok thank you for your post, I choose tha way of editing CRUD (user/
edit)
can somebody show me the example of editing user/edit action, to edit
both sf_guard_user and sf_guard_user_profile tables and connect them?
thank you
On Aug 22, 4:01 pm, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> On F
thank you for your message,
I'm user of Symfony 1.1 , and I don't want to have many plugins , I
prefer my own code
... so I decided to create my registration using user/create (crud),
but I want to ask you how should I edit my code to provide that
..here's the user/update action
public function
I think cookbook should have something...
On Aug 22, 7:31 pm, javo <[EMAIL PROTECTED]> wrote:
> hi all,
>
> I'm new to symfony and I'd like to ask what is the best way to create
> a registration, (create some simple form, use crud user model? , ...)
>
> I've sfGuardPlugin installed, and I have so
On Fri, Aug 22, 2008 at 4:31 PM, javo <[EMAIL PROTECTED]> wrote:
> I'm new to symfony and I'd like to ask what is the best way to create
> a registration, (create some simple form, use crud user model? , ...)
> Is there any howto? I couldn't find anything Smile
If you use symfony 1.0, you can ta
There is no 'clean' way to do that.
There is a plugin from Francois which allows to do that, but it is a
sf1.0 plugin
http://www.symfony-project.org/plugins/sfPropelAlternativeSchemaPlugin
not sure if sf1.1 has a way to change on the fly the database schema
to add custom field
Thomas
On Wed, A
Le 20 août 08 à 11:41, Thomas Rabaix a écrit :
> I have a sf1.0 project with a custom sfGuardUser in lib/model and it
> works fine.
>
> have you try a symfony cc ? you can check the cache file to see how
> symfony create the autoload classes array.
>
> Thomas
Ok, u're right Thomas.
Excuse-me f
I have a sf1.0 project with a custom sfGuardUser in lib/model and it works fine.
have you try a symfony cc ? you can check the cache file to see how
symfony create the autoload classes array.
Thomas
On Wed, Aug 20, 2008 at 11:29 AM, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote:
>
> Le 20 août 08 à
Le 20 août 08 à 11:25, Thomas Rabaix a écrit :
> you can copy the sfGuardUser class into your lib/model folder. The
> autoloader load model in the lib/model first (at least for sf1.0).
It's what I done, but it's not working :(
--
Nicolas CHARLOT
http://www.isics.fr
--~--~-~--~~--
you can copy the sfGuardUser class into your lib/model folder. The
autoloader load model in the lib/model first (at least for sf1.0).
so you can easily redefine methods.
Thomas
On Wed, Aug 20, 2008 at 11:04 AM, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm looking for the best prac
Hi
You can make two tables for storing profile information, for example
company_profile and candidate_profile with foreign key to user id.
Than, you can generate models for them.
Than you should create two user groups like "candidates" and
"companies" using sfGuardPlugin
In the settings you shoul
*Phil look on with interest and makes notes on how this all works*
This is a geat help guys pitty i didnt ask the questions myself
*mutters somthing about always rushing his work*
The info was great think it helps all the issues i was goingto ask
adrian on monday.
On Jun 24, 7:33 am, Piers War
Hi,
> If the user logs out (or if the session terminates), is it possible to
> redirect the user to the main page?
You can set a success_signout_url configuration in the app.yml. More
info here:
http://trac.symfony-project.com/wiki/sfGuardPluginFor10#CustomizesfGuardAuthredirecthandling
> Ma
Piers
Yes that helped a lot!
The indents were definitely an issue with the copy and paste.
Ok - my final bit for the time being...
I have the "booking" now working so the user needs to be logged in to
continue on.
If the user logs out (or if the session terminates), is it possible to
redirect
Yeah, It can be confusing - a few of tips:
1 ) Check out what credentials your current user has by using the dev
panel.
You'll need to be using your application in dev mode ( something like
backend_dev.php ) and then look in:
vars & config > Settings > credentials
that should give you a l
1 - 100 of 155 matches
Mail list logo