Forums

SimpleModal Login
Login / Register Now Broken (5 posts)

  1. Jimmycodotcom
    Member
    Posted 1 year ago #

    For some reason the login form is broken in IE now. I am not sure if this has to do with The 3.0.5 upgrade? http://www.armlsblog.com/exe - this link sets a cookie so you may have access to the blog. ARMLSBLOG.com is not live for the world yet.

    http://wordpress.org/extend/plugins/simplemodal-login/

  2. Eric Martin
    Member
    Posted 1 year ago #

    Can you explain what is broken about it and what version of IE you are experiencing the issue with?

  3. Jimmycodotcom
    Member
    Posted 1 year ago #

    IE 8. The first time you click on Login or Register, it is fine. Once you click on it a second time it breaks. Screencap: http://www.armlsblog.com/error-simple-modal-login.jpg

    I am using a slight modification, but it was working great before.

    * @desc Builds the login form HTML.
    		 * If using the simplemodal_login_form filter, copy and modify this code
    		 * into your function.
    		 * @return string
    		 */
    		function login_form() {
    			$output = sprintf('
    	<form name="loginform" id="loginform" action="%s" method="post">
    		<div class="title">%s</div>
    		<div class="simplemodal-login-fields">
    		<p>
    			<label>%s<br />
    			<input type="text" name="log" class="user_login input" value="" size="20" tabindex="10" /></label>
    		</p>
    		<p>
    			<label>%s<br />
    			<input type="password" name="pwd" class="user_pass input" value="" size="20" tabindex="20" /></label>
    		</p>',
    				site_url('wp-login.php?redirect_to=/', 'login_post'),
    				__('Login', 'simplemodal-login'),
    				__('Username', 'simplemodal-login'),
    				__('Password', 'simplemodal-login')
    			);
    
    			ob_start();
    			do_action('login_form');
    			$output .= ob_get_clean();
    
    			$output .= sprintf('
    		<p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="rememberme" class="rememberme" value="forever" tabindex="90" /> %s</label></p>
    		<p class="submit">
    			<input type="submit" name="wp-submit" value="%s" tabindex="100" />
    			<input type="button" class="simplemodal-close" value="%s" tabindex="101" />
    			<input type="hidden" name="testcookie" value="1" />
    		</p>
    		<p class="nav">',
    				__('Remember Me', 'simplemodal-login'),
    				__('Log In', 'simplemodal-login'),
    				__('Close', 'simplemodal-login')
    			);
    
    			if ($this->users_can_register && $this->options['registration']) {
    				$output .= sprintf('<a class="simplemodal-register" href="%s">%s</a>',
    					site_url('wp-login.php?action=register', 'login'),
    					__('Register', 'simplemodal-login')
    				);
    			}
    
    			if (($this->users_can_register && $this->options['registration']) && $this->options['reset']) {
    				$output .= ' | ';
    			}
    
    			if ($this->options['reset']) {
    				$output .= sprintf('<a class="simplemodal-forgotpw" href="%s" title="%s">%s</a>',
    					site_url('wp-login.php?action=lostpassword', 'login'),
    					__('Password Lost and Found', 'simplemodal-login'),
    					__('Lost your password?', 'simplemodal-login')
    				);
    			}
    
    			$output .= '
    			</p>
    			</div>
    			<div class="simplemodal-login-activity" style="display:none;"></div>
    		</form>';
    
    			return $output;
    		}
  4. Jimmycodotcom
    Member
    Posted 1 year ago #

    Here are my Simple-modal files: http://www.armlsblog.com/simplemodal-login.zip

  5. Jimmycodotcom
    Member
    Posted 1 year ago #

    Update: The problem seems to be IE 8 specific. I cannot repeat the same error in Firefox or IE 7. The problem came after the 3.0.5 upgrade. Any help you can give me would be greatly appreciated and would lead to a plugin donation.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic