I have added my listener for core.modify_username_string, and the function is calling and I am then modifying the $event['username_string'] inside the function.
Here is where the issue is: If I use the following code, the everything works perfect when the user's name is displayed, but for the link that wraps around the image it all goes out of whack.
$custom_url = '/profile/view/BBID?=' . $event['user_id'];
$event['username_string'] ='<a href="' . $custom_url .'">' . $event['username'] . '</a>';
I am guessing I am missing something, but if it works for one and not the other, what is going on? See attached images for HTML code that is output. Thanks in advance. I am about ready to just go .htaccess way, but I wanted something that was more upgrade proof...