It's a nice plugin ....
I made 2 components: one for login and one for register
I put this in my sidebar
so when user isn't logged in, both sections (login and register) appears, and when user is logged in, the register section disappears
MAYBE COULD THIS USE A FORGOTT PASSWORD SECTION ??
I made 2 components: one for login and one for register
I put this in my sidebar
Code:
<?php
if(!isset($_SESSION['LoggedIn'])) { ?>
<div class="section"><?php get_component('login'); ?> </div>
<div class="section"><?php get_component('register'); ?> </div>
<?php }
elseif (isset($_SESSION['LoggedIn'])) { ?>
<div class="section"><?php get_component('login'); ?> </div>
<?php } ?>
so when user isn't logged in, both sections (login and register) appears, and when user is logged in, the register section disappears
MAYBE COULD THIS USE A FORGOTT PASSWORD SECTION ??