PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Index login disapeared after installing s2Member Plugin

s2Member Plugin. A Membership plugin for WordPress®.

Index login disapeared after installing s2Member Plugin

Postby lufc4life » December 11th, 2010, 9:20 am

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.

Code: Select all
<?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&amp;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
User avatar
lufc4life
Registered User
Registered User
 
Posts: 2
Joined: December 11, 2010

Re: Index login disapeared after installing s2Member Plugin

Postby lufc4life » December 12th, 2010, 8:00 am

does anybody have any possible ideas?
User avatar
lufc4life
Registered User
Registered User
 
Posts: 2
Joined: December 11, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron