Skip to:
Content
Pages
Categories
Search
Top
Bottom

Strange numbers appearing under avatar in posts


  • olandir
    Participant

    @olandir

    When I post in my forum, strange numbers are appearing under the avatar on the left hand side instead of whatever is supposed to be there.

    I’ve already tried
    – Posting as different users
    – Completely resetting bbPress
    – Loading the default theme
    – Disabling every other plugin

    It’s still the same every time I post. I’m at a loss

    Error

Viewing 3 replies - 1 through 3 (of 3 total)

  • Robin W
    Moderator

    @robin-w

    that is the users IP number – their computer’s number.

    It is only seen by moderators and keymasters.

    It lets them see if someone has multiple usernames but is using one computer


    olandir
    Participant

    @olandir

    Thank you for the quick reply, I am not used to looking at IP6 addresses so it completely flew over my head.

    Follow-up question: one of the reasons I was confused is because on other bbPress installs (like this one) I see their @handle and how long ago their posted under the avatar.

    How do I get those to appear as well, or do they appear just not to keymasters?


    Robin W
    Moderator

    @robin-w

    neither is standard in bbpress, maybe in buddypress or buddyboss, I don’t know.

    for the handle, you’ll need to add

    /**
    * Add @mentionname after bbpress forum author details
    */
    
    add_action( 'bbp_theme_after_reply_author_details', 'mentionname_to_bbpress' );
    function mentionname_to_bbpress () {
    $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo "@".$user_nicename;
    }
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar