Plugin Directory

Alternate OpenID for WordPress

Allow OpenID based commenters to add their thoughts via comments on your WordPress blog. This plugin is not an OpenID server.

Download Version 0.04

Note: this version 0.04 is for WordPress version 2.5 RC1 or a newer. It is not intended to be used with WordPress version 2.3, use (Alternate OpenID for WordPress) version 0.03 for WordPress version 2.3.

This section describes how to install the plugin and get it working.

e.g.

  • Upload the alternate-openid folder to the /wp-content/plugins/ directory.

  • Activate the plugin through the 'Plugins' menu in WordPress.

  • Open your theme's Comments.php file in your favorite text editor and find the section that begins: <?php if ('open' == $post->comment_status) : ?>. Just below this you should find (this varies a bit, it depends on your theme) a part that ends: <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>.

  • Right below that, put the following:

    <!-- /* added for alternate OpenID plugin */ -->
    <?php if (function_exists("openid_url_input_text")) : ?>
    <div>
        <form id="commentform" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post">
            <?php openid_url_input_text(); ?>
        </form>
    </div>
    <?php endif ?>
        <!-- /* if function exists "openid_url input text" */ -->`
    
  • Your theme may have forms styled a certain way, if so replace the <div> tag with one that is appropriate for your CSS setting, i.e. <div class="formcontainer">

  • This portion you add in should be above the line <?php else : ?>

(the <?php else : ?> ends part of the section portion that began with the <?php if ('open' == $post->comment_status) : ?> line.

Requires: 2.5 RC1 or higher
Compatible up to: 2.5 RC2
Last Updated: 2008-3-22 Downloads: 938

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(1 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.