Title: [Plugin: SimpleModal Login] login problem
Last modified: August 19, 2016

---

# [Plugin: SimpleModal Login] login problem

 *  [ezhil](https://wordpress.org/support/users/ezhil/)
 * (@ezhil)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/)
 * Hi Eric ,
    Your plugin is awesome,But i have a little problem in it. [login not working](http://flexlearner.com/wp-content/uploads/2010/08/sc1.png)
   in my website.it shows a msg “both fields are required”.but i have entered both
   the fields.When i refresh the page,iam already logged in. I have turned off the
   option for **Redirect after login?:** iam using latest version of wordpress and
   buddypress.Please solve my problem. It would be better if we have a loader.gif
   while loading.Great plugin keep up your good work.

Viewing 15 replies - 1 through 15 (of 15 total)

 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632586)
 * ezhil – do you have any other plugins that are controlling the login redirect?
 * I have massively updated the plugin and will release it soon. It includes a bunch
   of changes including a loading indicator.
 *  Thread Starter [ezhil](https://wordpress.org/support/users/ezhil/)
 * (@ezhil)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632607)
 * Yes i had a plugin called **BP Redirect to Profile** i just disabled it ,but 
   still i get the same error.
    In normal buddypress,if we login in the sidebar,
   we would be redirected to the index page and not to the dashboard.Is their any
   problem related to that.
 *  Eagerly waiting for your Reply and your next version of the plugin.Would you
   be releasing it this month?
 *  [Randy](https://wordpress.org/support/users/randydustingmailcom/)
 * (@randydustingmailcom)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632786)
 * I ran into this problem today too. It looks like it is caused by this line in
   the show function (osx.js) `loginform = $('#loginform', data[0]);`
 * My best guess is that this is checking to see if the #loginform is present in
   the page returned via the ajax form call and the form exists even though the 
   user has successfully logged in.
 * I changed that line to `loginform = 0;` to bypass that check. Everything seems
   to be working correctly now.
 * I don’t know if this is a good fix or not but it seems to be working – hopefully
   it will help you out.
 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632804)
 * 1.0 is out that changes the way SimpleModal Login determines where to redirect.
   Check it out and see if your issues are resolved now.
 *  Thread Starter [ezhil](https://wordpress.org/support/users/ezhil/)
 * (@ezhil)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632805)
 * `<p style=""><?php wp_loginout($redirect = 'http://localhost/wordpress/', $echo
   = true); ?></p>`
 * i just tried out something like this , still it is not redirected ,i have upgraded
   to 1.0.the added features are amazing but redirect is still a problem for me.
 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632806)
 * [@ezhil](https://wordpress.org/support/users/ezhil/) – the correct syntax would
   be:
 * `<p style=""><?php wp_loginout('http://localhost/wordpress/'); ?></p>`
 * However, I think there is a bug with the redirection, so I’m going to look into
   it today and hopefully release a fix.
 * -Eric
 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632807)
 * I checked in a fix (1.0.1) and added a new FAQ that should help.
 * -Eric
 *  Thread Starter [ezhil](https://wordpress.org/support/users/ezhil/)
 * (@ezhil)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632808)
 * wow that’s really great and a quick fix,thanks mate the plugin is working superbly.
   
   I have a small problem in registration,since i am using buddypress for registration,
   their are five field which are required*. the normal registration has only two
   field, Even if i try to register, it doesn’t accept it how can i add those missing
   fields in the registration box? -Ezhil
 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632809)
 * I’m not familiar with buddypress, but see the “How can I modify the form HTML?”
   section of the [FAQ](http://wordpress.org/extend/plugins/simplemodal-login/faq/).
 * Not sure if that helps…
 *  Thread Starter [ezhil](https://wordpress.org/support/users/ezhil/)
 * (@ezhil)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632810)
 * No i just want to add some extra fields in my registration page,
    any ideas?
 *  [yashmistrey](https://wordpress.org/support/users/yashmistrey/)
 * (@yashmistrey)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632825)
 * login & register form both displaying together !
 * [http://www.shreshthbharat.in/](http://www.shreshthbharat.in/)
 * what may the bug ?
 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632826)
 * You don’t appear to be using SimpleModal Login.
 * Also, next time, can you create a new topic for a new issue, thanks.
 *  [yashmistrey](https://wordpress.org/support/users/yashmistrey/)
 * (@yashmistrey)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632827)
 * Dear Eric !
    i am sorry for that i deactivated the plugin, i thought it may solve
   my bug ! sorry for your inconvenience !
 * this is a firefox bug ! only happen in firefox , both login + register form displaying
   together !
 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632828)
 * Does it work if you disable the login w/ Ajax plugin?
 *  [yashmistrey](https://wordpress.org/support/users/yashmistrey/)
 * (@yashmistrey)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632829)
 * no

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘[Plugin: SimpleModal Login] login problem’ is closed to new replies.

## Tags

 * [modal login](https://wordpress.org/support/topic-tag/modal-login/)

 * 15 replies
 * 4 participants
 * Last reply from: [yashmistrey](https://wordpress.org/support/users/yashmistrey/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-problem/#post-1632829)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
