'cancel' button doesn't work on FrontEndUsers reset password form

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

'cancel' button doesn't work on FrontEndUsers reset password form

Post by jmcgin51 »

the first time you click it, it returns "User ID not found".  Subsequent clicks do nothing.  What is the correct behavior?

CMSMS 1.0.2 Maui
FEU 1.1.1
Last edited by jmcgin51 on Sat Dec 09, 2006 6:35 am, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: 'cancel' button doesn't work on FrontEndUsers reset password form

Post by jmcgin51 »

bump
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: 'cancel' button doesn't work on FrontEndUsers reset password form

Post by jmcgin51 »

Where is the "Cancel" button function in the code, and how do I need to change it so that it simply redirects to the homepage, previous page, etc?  I would presume that's what it's supposed to do anyway?
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: 'cancel' button doesn't work on FrontEndUsers reset password form

Post by jmcgin51 »

Calguy? anyone?
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: 'cancel' button doesn't work on FrontEndUsers reset password form

Post by jmcgin51 »

After loading the latest SVN code, the Cancel button now simply reloads the page instead of giving an error.  This is an improvement, but I'd like to redirect to the login page...  That makes more sense to me than simply reloading the Forgot Password page.  If it were a "Reset" button, then reloading the same page would make sense...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: 'cancel' button doesn't work on FrontEndUsers reset password form

Post by calguy1000 »

I spent three hours testing all of this stuff yesterday, and then quickly re-tested again today..... Cancel on both the 'forgot password', and the 'change settings' pages worked fine for me.  Expired users say that they're expired properly, but non expired users can login with no difficulty.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: 'cancel' button doesn't work on FrontEndUsers reset password form

Post by jmcgin51 »

I believe you, Calguy, I just don't understand why it doesn't work the same way for me with the same code.  I have the user expiration issues working now as described earlier, with older API and newer Module files.

I noticed when I click the Cancel button, the first thing in my status bar is root/cms/index.php, but then it changes to root/cms/index.php?page=reset_password (or ?page=edit_profile, depending on which page I'm on when I click the Cancel button).  So it looks like it's trying to go to the homepage, but ends up redirecting to the current page, which is weird.

What is the expected behavior for Cancel?  Is it supposed to go to the homepage or to the referring page?

Anyway, I guess I'll have to live with it, since you can't reproduce it and I don't know enough code to fix it myself...  It's not a make-or-break issue, but an annoyance.

Thanks for your help.
Post Reply

Return to “CMSMS Core”