WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: SimpleModal Login] login problem (16 posts)

  1. ezhil
    Member
    Posted 3 years ago #

    Hi Eric ,
    Your plugin is awesome,But i have a little problem in it. login not working 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.

  2. Eric Martin
    Member
    Posted 3 years ago #

    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.

  3. ezhil
    Member
    Posted 3 years ago #

    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?

  4. Randy
    Member
    Posted 3 years ago #

    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.

  5. Eric Martin
    Member
    Posted 3 years ago #

    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.

  6. ezhil
    Member
    Posted 3 years ago #

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

  7. Eric Martin
    Member
    Posted 3 years ago #

    @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

  8. Eric Martin
    Member
    Posted 3 years ago #

    I checked in a fix (1.0.1) and added a new FAQ that should help.

    -Eric

  9. ezhil
    Member
    Posted 3 years ago #

    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

  10. Eric Martin
    Member
    Posted 3 years ago #

    I'm not familiar with buddypress, but see the "How can I modify the form HTML?" section of the FAQ.

    Not sure if that helps...

  11. ezhil
    Member
    Posted 3 years ago #

    No i just want to add some extra fields in my registration page,
    any ideas?

  12. yashmistrey
    Member
    Posted 3 years ago #

    login & register form both displaying together !

    http://www.shreshthbharat.in/

    what may the bug ?

  13. Eric Martin
    Member
    Posted 3 years ago #

    You don't appear to be using SimpleModal Login.

    Also, next time, can you create a new topic for a new issue, thanks.

  14. yashmistrey
    Member
    Posted 3 years ago #

    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 !

  15. Eric Martin
    Member
    Posted 3 years ago #

    Does it work if you disable the login w/ Ajax plugin?

  16. yashmistrey
    Member
    Posted 3 years ago #

    no

Topic Closed

This topic has been closed to new replies.

About this Topic