• Hi I have just installed the s2Member Plugin however I can now no longer login to my wordpress account from my index page.

    Before I installed the plugin I created a login on my main page rather than having to go to the wp-login.php page to log in.

    Below is my code to generate the login that is now being blocked out since installing this plugin.

    <?php global $user_ID, $user_identity, $user_level ?>
    <?php if ( $user_ID ) : ?>
    <div id="details">
    <h2>Control panel</h2>
    Identified as <strong><?php echo $user_identity ?></strong>.       </div>
    <div id="details1"><a href="<?php bloginfo('url') ?>/wp-login.php?action=logout&redirect_to=<?php echo urlencode($_SERVER['REQUEST_URI']) ?>">Log out</a>
    </div>
    <?php elseif ( get_option('users_can_register') ) : ?>
     <form action="<?php bloginfo('url') ?>/wp-login.php" method="post" class="post">
    <label for="log"><input type="text" class="username" name="log" id="log" value="Username <?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="22" onfocus="if(this.value==this.defaultValue) this.value='';"/></label><br />  <label for="pwd"><input type="password" class="password" name="pwd" id="pwd" value="Password" size="22" onfocus="if(this.value==this.defaultValue) this.value='';"/></label><br />
    <input type="submit" class="press" name="" value="" />
    <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/>
    </form>
    <div id="login_wrap">
    <a href="<?php bloginfo('url') ?>/wp-register.php">Register</a>
    </div>
    <div id="login_wrap1">
    <a href="<?php bloginfo('url') ?>/wp-login.php?action=lostpassword">Recover password</a>  </div>
    <?php endif // get_option('users_can_register') ?>

    If any one has any ideas on how to enable me to login from my index page once more it would be greatly appreciated. Thank you

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Index login disapeared after installing s2Member Plugin’ is closed to new replies.