Thanks! that answer helped me narrow down an issue I was having. To be exact, my site is on Godaddy and hosted in a subdomain(not subdirectory). In case anyone else runs into this issue, You must use $_SERVER instead of $_SERVER to get the pathing to resolve correctly.
A few “?”s .
1.) Does the functions.php need to be in the root folder for your current bbpress templates? or do you just leave it in (/bb-templates/kakumei-blue)?
2.) Can the path to avatars folder be “http://mydomain.com/wp-content/uploads/avatars/’. $author_id;”?
Thanks in advance