Forums

[resolved] User registration and comments posting 2.8 (3 posts)

  1. drew7721
    Member
    Posted 2 years ago #

    Hello!

    I would like the visitors on my blog to be able to create a user account and post comments with the avatar and user name or info.

    I have checked the Anyone can register box in General Settings, but I do not see the Registration or login form on my page? why?

    Am I doing something wrong?

    I did the theme with Artisteer 2 and installed it.

    I think that I need to add the "Meta" to this.. could it be? <

    Has anyone had this issue before? please help...

  2. StuartSBW
    Member
    Posted 2 years ago #

    Hi Drew

    Did you ever figure this out? I'm having the same problem; I can't fathom how WP user registration works at all. Any help would be v kind. :)
    Bestest
    S

  3. Mobster
    Member
    Posted 2 years ago #

    Add this to your sidebar.

    <!--begin login-->
     <?php if (!(current_user_can('level_0'))){ ?>
    <h2>Login</h2>
    <form action="<?php echo get_option('home'); ?>/wp-login.php" method="post">
    <input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="20" />
    <input type="password" name="pwd" id="pwd" size="20" />
    <input type="submit" name="submit" value="Send" class="button" />
        <p>
           <label for="rememberme"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label>
           <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>" />
        </p>
    </form>
    <a href="<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword">Recover password</a>
    <?php } else { ?>
    <h2>Logout</h2>
    <a href="<?php echo wp_logout_url(urlencode($_SERVER['REQUEST_URI'])); ?>">logout</a><br />
    <a href="wp-admin/">admin</a>
    <?php }?>
                              <!--/ login-->

Topic Closed

This topic has been closed to new replies.

About this Topic