Quote:
Originally Posted by dapellegrini
INSTALLED and working great with 3.7.3 PL1.
One questions though. I have some custom logic in the postbit_legacy that will display your Real Name instead of your Username, if you so choose (using some custom profile fields). Problem is that awards stop appearing because they are jammed into musername before my template can get to them, so if I elect to display Real Name instead I cannot show awards.
Where can I either put my branching logic in to change musername, or better, how can I add awards to the end of a different variable (in my case, Real Name)?
Thanks
|
I figured this one out. Basically created my own Plugin on the fetch_musername hook. I set the execution order to 1 to make sure to fires before this mod and then entered this code:
Code:
if ($user['field5'] && $user['field8'] == 'Yes')
{
$user['musername'] = $user['field5'];
}
that fixed it for me...