this is the code I am using
- Code: Select all
<?php if (is_user_logged_in()) {
$user = wp_get_current_user();
echo ' <strong>'.$user->display_name.'</strong>, ';
} else { ?>
Please <strong>
<?php wp_loginout(); ?>
</strong>
or <a href="<?php echo get_option('home'); ?>/wp-login.php?action=register"><strong>Register</strong></a>
<?php } ?>
</strong></font>
<font size="3" face="arial" color="black">You're time will expire on:</font> <br />
<font size="3" face="arial" color="black"><?php echo date('l F jS, Y', get_user_option('wp_s2member_auto_eot_time', $user_id)); ?></font>
This will echo to the user....
Billy, You're time will expire on:
Thursday January 1st, 1970
Users that have unlimted time see the "Thursday January 1st, 1970" I want that to be replaced with text just saying "Unlimited"
It would be so great if I can get some help on this. Thanks