Got this working in 3.8.3:
After installing, create a new plugin:
Product: Username Management Addon - History in Profile
Hook location: member_profileblock_fetch_unwrapped
Title: Put username history in stats tabs
Plugin PHP:
PHP Code:
// Include the function library
require_once(DIR . '/includes/functions_mh_unm.php');
// Retrieve the history, please note that if called multiple times, also info of other users might be returned
// New user request is added tointernal cache, and full cache is returned
$mh_unm_uph_hist = mh_unm_fetch_username_history($userinfo['userid'], true, true, true);
// Retrieve info about current member from the returned array
$user_hist = $mh_unm_uph_hist[$userinfo['userid']];
// If we have found any history, process
if ($user_hist)
{
// Process each history row for this user
foreach ($user_hist AS $key=>$user_history)
{
eval('$mh_unm_uph_historybits .= "' . fetch_template('mh_unm_uph_historybit') . '";');
}
// Spit out the results
eval('$template_hook[profile_stats_pregeneral] .= "' . fetch_template('mh_unm_uph_history') . '";');
}
Enable this and disable the plugin "Add Username History to Public Profile", since this replaces it. Username history will show up in the stats tab, and will still respect the "Can View Username Histroy" permission.
As far as I know, there's quite a bit of slowdown from the queries that make username history show up mouseover in a thread. If you want to just have it show up in the profile, just disable the plugin "Add Username history to postbit(legacy)" from the Username Management product.
Cheers!