-
Hi,
one feature i think that is missing is the following:A shotcode you can put in the top sidebar of a website for login, logged in and so on.
Let me explain: Lets say you have a nav menu at the top of the website. You put in the shorctode in a text field.
Then if someone is on your website it says: Already a user? login or register.If someone logs in it shows: Logged in as ´”Usernmame” (Logout?)
This is just a raw example but it would be very useful as it is a defacto standart for many websites.
I bet many people here could use this feature. Its just a raw Layout wich i posted here but i guess you get the idea 🙂You could do this by your self 🙂
PHP12345678910<div id="loginButton" class="myWidgets"><?php if ( is_user_logged_in() ) { ?><?php global $current_user; echo 'Hola, <a href="#">' . $current_user->user_firstname . ' ' . $current_user->user_lastname . "\n</a>"; ?><?php } else { ?><?php echo '<a href="#">Identifícate / Registrate</a>'; ?><?php } ?><div id="login" class="hidden"><?php echo do_shortcode('[userpro template=login]'); ?></div></div>This is what i did :), you would need to manipulate it via jquery.
[userpro_loggedout]Already a user? login or register[/userpro_loggedout][userpro_loggedin]Logged in as [username] ! (Logout?)[/userpro_loggedin]
You must be logged in to reply to this topic.