BxBaseSearchProfile.php modification, need help

 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
Quote · 31 May 2013

Don't the actions block pop-up when you hover the mouse over a user's photo/avatar?

Geeks, making the world a better place
Quote · 31 May 2013

 

Don't the actions block pop-up when you hover the mouse over a user's photo/avatar?

 

Oh yes they do! But I normally have to hover over it for 3 seconds. How can I change it so the popup is instanteneous or atleast 1 second?

Quote · 31 May 2013

Does anyone know?

Quote · 31 May 2013

There are some forum topics on the speed of the pop-up.  I don't have an answer for placing action icons in the search results.

Geeks, making the world a better place
Quote · 31 May 2013

I look at deanos suggestion here:

http://www.boonex.com/forums/topic/box-that-pop-up-when-you-hover-your-mouse-over-profile-can-we-speed-up.htm

Odd that it's taking that long. The default is normally lower than that. Admin->Settings->Advanced Settings Then expand Profiles. Look for Timeout before displaying profile info(in seconds): Change it to a lower value.

But i don't see that setting in 7.1

Quote · 31 May 2013

Any clue where I can find that setting? Timeout before displaying profile info (in seconds)

Quote · 31 May 2013

I think you are looking for this Click here

Quote · 31 May 2013

 

I think you are looking for this Click here

 

Yes that works! Though the fade-in still happens even though I set the speed to be almost instantenously. Where in the code can I disable the fade-in so it just popups onmouseover?

 

Thanks!

Quote · 31 May 2013

click here this might help with both of your next questions

Quote · 31 May 2013

and this will help with the next question here

Quote · 31 May 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.