Page 1 of 1

FEU, Change Settings Template, and Forgot Password

Posted: Thu Nov 15, 2007 7:35 pm
by PaulG
Front End Users, Change Settings Template, and Forgot Password

Change Settings Template:

when I click "Change My Settings" (under the login box) it displays two forms, then I noticed that there were two templates in the "Change Settings Template" box by default, I'm not sure which one is better to use.

when I choose either, and try them (changing users data, or just clicking submit without changing anything), the users data is erased, no error or feedback message.

what php or sql code do I need to change?

Forgot Password:

when I click the forgot password link under the login form, it goes here, and the forgot message and form replaces {cms_module module=FrontEndUsers} instead of the {content}

index.php?mact=FrontEndUsers,m2,default,1&m2form=forgotpw&m2returnto=15&m2returnid=15&page=15

but if I click submit without entering anything in the box, it goes here, and the forgot form replaces the content tag.

index.php?mact=FrontEndUsers,cntnt01,default,0&cntnt01returnid=15&cntnt01returnid=15&cntnt01input_username=&cntnt01input_returnto=15&cntnt01submit=Submit&cntnt01error=1&cntnt01message=Could%20not%20find%20information%20for%20this%20user&cntnt01form=forgotpw

how do I make the 1st link do like the 2nd one,


also seems CMS Made Simple Admin Panel is very slow.


Front End Users 1.3
CustomContent 1.4.10
SelfRegistration 1.1.2
MySQL 4.0.21
PHP Version 4.3.10
Linux 2.4.21-4.0.1.EL
cmsmadesimple-1.2.zip

thanks

Re: FEU, Change Settings Template, and Forgot Password

Posted: Thu Nov 15, 2007 10:26 pm
by calguy1000
PaulG wrote: Front End Users, Change Settings Template, and Forgot Password

Change Settings Template:

when I click "Change My Settings" (under the login box) it displays two forms, then I noticed that there were two templates in the "Change Settings Template" box by default, I'm not sure which one is better to use.
That'll be fixed in 1.3.1
when I choose either, and try them (changing users data, or just clicking submit without changing anything), the users data is erased, no error or feedback message.

what php or sql code do I need to change?
That's fixed in svn.  It'll be out in 1.3.1
Forgot Password:

when I click the forgot password link under the login form, it goes here, and the forgot message and form replaces {cms_module module=FrontEndUsers} instead of the {content}

index.php?mact=FrontEndUsers,m2,default,1&m2form=forgotpw&m2returnto=15&m2returnid=15&page=15

but if I click submit without entering anything in the box, it goes here, and the forgot form replaces the content tag.

index.php?mact=FrontEndUsers,cntnt01,default,0&cntnt01returnid=15&cntnt01returnid=15&cntnt01input_username=&cntnt01input_returnto=15&cntnt01submit=Submit&cntnt01error=1&cntnt01message=Could%20not%20find%20information%20for%20this%20user&cntnt01form=forgotpw

how do I make the 1st link do like the 2nd one,
I'll check into this one.

Re: FEU, Change Settings Template, and Forgot Password

Posted: Thu Nov 15, 2007 11:06 pm
by calguy1000
You're correct, and there is an inconsistency there.

When the FrontEndUsers module is placed in the page template, some of the forms behave differently than others.  the question is, how do we want them to behave.  I think that you are correct in that the frontend forms (other than login) should be inline.  I'll see about correcting some of them for the upcoming 1.3.1 release.

Re: FEU, Change Settings Template, and Forgot Password

Posted: Sun Nov 18, 2007 5:53 pm
by PaulG
Thanks,

one possibility could be to add a new attribute feature like {cms_module module=FrontEndUsers target="content"}  or {cms_module module=FrontEndUsers output="content"} which could override any defaults,

when will 1.3.1 be available?

Re: FEU, Change Settings Template, and Forgot Password

Posted: Wed Nov 21, 2007 8:13 pm
by PaulG
found another bug, possibly similar to this one http://forum.cmsmadesimple.org/index.ph ... =17077.new

After submitting a username in the FEU forgot password form I get this in the {content} area,

Warning: Parameter mesage is not known... dropped in
(the path)  /cmsmadesimple/lib/misc.functions.php on line 1281

and another forgot password form under the message,

if I use this new password form that shows under the error message, the same result happens.