Fixes a nonglobalized variable

$mybb wasn't globalized when rendering myprofile_headerinclude template.  As a result 404 errors were encountered.  This fixes that.