Hey everyone,
I'm trying to duplicate the below functionality on the Extended Search people page. Below is what i've done so far by modifying /templates/base/scripts/BxBaseSearchProfile.php
I want to be able to have possibly the action buttons from a users profile there? If not, icons I can place there myself that Link to it. The actions for these buttons are View Profile, Send Message, Chat (Initiate Popup?), Add as Friend.
How can i do this? Code i used below from BxBaseSearchProfile.php:
$sProfileNickname = '' . getNickName($aProfileInfo['ID']) . ''; $sProfileNickname .= " (".age($aProfileInfo['DateOfBirth']).")"; // Age $sProfileInfo = ''.$GLOBALS['oFunctions']->getUserInfo($aProfileInfo['ID']).''; // Headline $sProfileDesc = strmaxtextlen($aProfileInfo['DescriptionMe'], 130) . "
"; $sProfileDesc .= $aProfileInfo['City'] . ", " . $aProfileInfo['Country']. "
Seeking: " . $aProfileInfo['LookingFor']; // City, Country, LookingFor $sProfileDesc .= "
Last Login: " . _format_when($aProfileInfo['DateLastLogin']); // Last Login Date