Hook for AuthorInfo
I'm using Yaga with Rank, Badgets, and Reactions. For now I want to show user rank as title similar vanillaforums.org used, through research, I do it well on User header for Discussion, I am use DiscussionController_AuthorInfo_Handler function with:
$AuthorInfo = $Sender->EventArguments['Author']; $RankModel = Yaga::RankModel(); $Rank = $RankModel->GetByID($AuthorInfo->RankID); echo Wrap('·', 'span', array('class' => 'Bullet')); echo Wrap($Rank->Name, 'span', array('class' => 'MItem RankName'));
Now, I want do this on User Profile profile, But I'm not found what is the right hook function for User Controller to overwrite it. It should on !