Support » Plugin: Restrict User Access - Membership Plugin with Force » Create level “badge” for each user after username

  • Resolved guidonietmann


    I have the plugin installed and running, it is excellente. I also have Buddypress installed on my site. What i need now is to show the level my user has under his name for my buddypress users. Something like “Username Levelname”, where the levelname is the level this user has on my site. Is this possible? How can i achieve that?
    Sorry for my bad english!
    Thx a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joachim Jensen


    Thank you for your kind words.

    Yes, this is possible, but it will require that you update the theme template for the BBP profile.

    Then you can do something like this:

    $rua_user = rua_get_user();
    $rua_user_levels = $rua_user->get_level_ids();
    foreach($rua_user_levels as $level_id) {
        $level = get_post($level_id);
        echo $level->post_title;

    I hope this helps!

    Thread Starter guidonietmann


    Can u give me some direction about editing the theme template for buddypress profile? The the i use is 3clicks (I created a child-theme)
    Sorry, i’m really not that good coding…
    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create level “badge” for each user after username’ is closed to new replies.