Title: stringbean98's Replies | WordPress.org

---

# stringbean98

  [  ](https://wordpress.org/support/users/stringbean98/)

 *   [Profile](https://wordpress.org/support/users/stringbean98/)
 *   [Topics Started](https://wordpress.org/support/users/stringbean98/topics/)
 *   [Replies Created](https://wordpress.org/support/users/stringbean98/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/stringbean98/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/stringbean98/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/stringbean98/engagements/)
 *   [Favorites](https://wordpress.org/support/users/stringbean98/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Modal Login] Stuck on "Checking Credentials…" after 3.6](https://wordpress.org/support/topic/stuck-on-checking-credentials-after-36/)
 *  [stringbean98](https://wordpress.org/support/users/stringbean98/)
 * (@stringbean98)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/stuck-on-checking-credentials-after-36/#post-3988328)
 * [@cole](https://wordpress.org/support/users/cole/) Geissinger
    Thanks for your
   investigation. When I looked in my browser’s network pane, I noticed that although
   I wasn’t getting the ajax response back, I Was getting a redirect in the background.
   I suspected it was S2member’s redirect hooks that was short-circuiting the return
   for the ajax call. My solution was to implement an S2-hack to disable redirects,
   which did the trick. Everything is working smooth now. The hack is below:
 *     ```
       /* Need this since the S2Member redirect messes with the redirect from WP Modal Login */
       add_filter("ws_plugin__s2member_login_redirect", "my_custom_login_redirect", 10, 2);
       function my_custom_login_redirect($redirect, $vars = array())
       	{
       		// If you want s2Member to perform the redirect, return true.
       		// return true;
   
       		// Or, if you do NOT want s2Member to perform the redirect, return false.
       		 return false;
   
       		// Or, if you want s2Member to redirect, but to a custom URL, return that URL.
       		// return 'http://www.example.com/reset-password-please/';
   
       		// Or, just return what s2Member already says about the matter.
       		//return $redirect;
       	}
       ```
   
 * [@therandomguy12345](https://wordpress.org/support/users/therandomguy12345/) 
   Thanks for your help too!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Modal Login] Stuck on "Checking Credentials…" after 3.6](https://wordpress.org/support/topic/stuck-on-checking-credentials-after-36/)
 *  [stringbean98](https://wordpress.org/support/users/stringbean98/)
 * (@stringbean98)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/stuck-on-checking-credentials-after-36/#post-3988323)
 * [@therandomguy12345](https://wordpress.org/support/users/therandomguy12345/)
 * Can you share how you were able to fix this? I’m trying to get it working on 
   my site now as well. Please help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Modal Login] Stuck on "Checking Credentials…" after 3.6](https://wordpress.org/support/topic/stuck-on-checking-credentials-after-36/)
 *  [stringbean98](https://wordpress.org/support/users/stringbean98/)
 * (@stringbean98)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/stuck-on-checking-credentials-after-36/#post-3988312)
 * I’m having the same problem too… and I narrowed it down to S2Member as the culprit.
 * I’m trying to log in with a non-admin user and with S2Member on, it just gets
   stuck at the Checking Credentials screen… If I deactivate S2Member, it succeeds.
 * This is the best looking modal plugin out there for wordpress, so I Reallllly
   hope someone can figure out a solution for this. =(

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