Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • oledole

    (@oledole)

    I made changes so the openid_wp_register_form() function now looks like below. The only change I did was enclosing the entire code in the div. Hope it helps.

    function openid_wp_register_form() {
    	global $wp_version;
    	echo '<div style="width:100%;">'; //Added to fix IE problem
    	if (get_option('openid_required_for_registration')) {
    		$label = __('Register using an OpenID:', 'openid');
    		echo '
    		<script type="text/javascript">
    			jQuery(function() {
    				jQuery("#user_login/..").hide();
    				jQuery("#user_email/..").hide();
    				jQuery("#reg_passmail").hide();
    				jQuery("p.submit").css("margin", "1em 0");
    				var link = jQuery("#nav a:first");
    				jQuery("#nav").text("").append(link);
    			});
    		</script>';
    	} else {
    		$label = __('Or register using an OpenID:', 'openid');
    
    		echo '<hr id="openid_split" style="clear: both; margin-bottom: 1.5em; border: 0; border-top: 1px solid #999; height: 1px;" />';
    
    		echo '
    		<script type="text/javascript">
    			jQuery(function() {
    				jQuery("#reg_passmail").insertBefore("#openid_split");
    				jQuery("p.submit").css("margin", "1em 0").clone().insertBefore("#openid_split");
    			});
    		</script>';
    	}
    
    	echo '
    	<p>
    		<label style="display: block; margin-bottom: 5px;">' . $label . '</label>
    		<input type="text" name="openid_identifier" id="openid_identifier" class="input openid_identifier" value="" size="20" tabindex="25" /></label>
    	</p>
    
    	<p style="float: left; font-size: 0.8em; margin: 0.8em 0;" id="what_is_openid">
    		<a href="https://openid.net/what/" target="_blank">'.__('What is OpenID?', 'openid').'</a>
    	</p>';
    
    echo '</div>'; //Added to fix IE problem
    
    }

    Thread Starter oledole

    (@oledole)

    I’ve seen some place that there should be a global variable “$link”, and I thougt I would be able to get the link_id by

    global $link;
    $my_link_id = $link->link_id;

    but that don’t seem to work. Any one that have any on how I can fix this ideas?

    I took a look at the “openid_wp_register_form()” function at line 101 in login.php and it seems that it’s the “hr” tags that are somehow messing with IE rendering. I tried enclosing the entire code in a div with the width set to 100%, and that seems to fix it.

    Lars,
    I have the same problem with wp2.7 and latest OpenID on XP + IE. Working on a site for a customer who want’s OpenID right now, so a fix for this would be great.

    I’m using swedish IE6 browser for testing and I figure your swedish to. Have you tried other language installations of IE?

    Regarding the patch: I’m using the page category organiser-plugin, and it opens its “manage pages -page”without problems. It looks as if it’s using a similar function as the patch above to get the pages to list, so that might be a way to proceed …?

    Thanks Bobcat. That almost did it (loads nice and fast), exept now some pages don’t show up in Manage->pages, e.g. no subpages below level 3, and almost no pages with two-digit pageID. Any ideas way?

    Thread Starter oledole

    (@oledole)

    There is a thread for this over at the bbpress forum as well. https://bbpress.org/forums/topic/strange-404-report-i-firebug?replies=8

    Thread Starter oledole

    (@oledole)

    Thanks for input, Trent. Tried setting the htaccess in the WP directory to 644 and the one in bbpress to 755, but it made no differense.

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