MyBB Community Forums

Full Version: How to solve issue with myBB adding a # symbol and user id after username?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For some reason myBB is adding a # symbol before and after along with the user id after the username, on the most recent post on forum pages.

For example, instead of **john** it will show **#john847#** if 847 was user's id.

How do I solve this issue so it just shows **john** instead of **#john847#**?
what is your forum url & which plugins are in active status ?
I figured it out. It came from the plugin, "Shows Avatar on Threads and forums".

I also found out how to fix the issue. I recommend to use notepad++ to perform the below quickly.

Look for file, 

avatarep.php

in 

inc/plugins


========== STEP 1 ========== 
Remove all # before the username

REPLACE ALL
#{

WITH
{

========== STEP 2 ========== 
Remove all # after the username

REPLACE ALL
}#

WITH
}

========== STEP 3 ========== 
Remove unwanted user ID after the username

DELETE (ON LINE 547)
{$forum['lastposteruid']}


Save the file and refresh the page. Problem solved.