Ready to get started?Download WordPress


BuddyMenu BuddyLinks
[resolved] Welcome Username (7 posts)

  1. ulises2010
    Posted 10 months ago #

    I'm tarying your plugin and want to give you the thanks because is very usesfull. However, I had two little problem, when my users login into the page, I want the see a little legend, into the widget, saying something like 'Welcome Username'.

    Otherwise, I can't put a logout link, the default don't work, and something like 'http://ahorausoesta.cu.cc/wordpress/wp-login.php?action=logout' bring me to the wordpress page and I want they stay into my page.

    And finally, it's possible when someboby login into the page be redirect to the profile page directly?

    Thanks a lot and thank you again for your work


  2. leehodson
    Plugin Author

    Posted 10 months ago #

    Hi Ulises.

    To manage login and logout page redirects you need a plugin like Peter's Login Redirect which will let you control the login and logout redirect actions by user role:


    Have added an option to add a welcome message. The welcome message does not include the user's profile name but you can display the welcome message next to the user's avatar image.

  3. ulises2010
    Posted 10 months ago #

    Thanks leehodson,

    It's works, but I still have some problems.

    With the Peter's Login Redirect I can't (or I don't know) display the welcome message, I don't find the optión, and otherwise, I don't know which is the link to logout, because this:


    don't work the redirection and ever send mi to the wordpress login page...

    Thanks a lot

  4. ulises2010
    Posted 10 months ago #

    YES.... The new version have a Welcome message... perfect!!!!

    But I don't know how to personalize it with the username :-(

  5. leehodson
    Plugin Author

    Posted 10 months ago #

    Have you seen the plugin "Theme My Login" ?

    That plugin can be used to prevent users seeing the WordPress login screen.

    Peter's Login Redirects is used to change the page a visitor sees after login and the page a visitor sees after logout.

    The BuddyMenu widget will not currently display the user name in the welcome message.

    To display a welcome message that includes the logged in user's name

    Install the Ultimate TinyMCE plugin and enable the Ultimate TinyMCE PHP widget. You will then be able to use PHP in a PHP widget to display a custom welcome message. Add this PHP code to your Ultimate TinyMCE widget:

    if ( is_user_logged_in() ) {
      $before = 'Text before username';
      $after = 'Text after username';
      global $current_user;
      $username = '<a href="'.bp_loggedin_user_domain( '/' ).'" alt="">'.$current_user->user_login.'</a>';
      echo $before.' '.$username.' '.$after;

    Place the widget above the BuddyMenu widget. Edit the text for $before and $after. Be careful not to remove the single quote marks.

    The welcome message will display to logged in users only.

    I will add this feature to the widget later but it won't be today.

  6. ulises2010
    Posted 10 months ago #

    Thank you.... a perfect explanation

  7. ulises2010
    Posted 10 months ago #

    But... I still be in trouble :-(

    I see Theme my login but I think I don't need it, for me is enought with buddy menu, but the only problem now is the logout button, when I used, wordpress give me a message saying: Are you sure want to logaout?, and I prefeer to logout directly....

    Maybe it's possible with a custom url, but all I try have the same problem :-(


You must log in to post.

About this Plugin

About this Topic


No tags yet.