browse.php profile thumbnail link

Iwant to change the url for the image icon and name of member on the browse.php page.

I have managed to change the url for the username link within the extended view, but cant get neither of the urls to change in the extended or simple view for the profile image/avatar, nor can i get the link to change in the simple view for the username. Any help would be greatly appreciated.

Info:

Using 7.1.1 beta 1

tried changing to this in BxbaseBrowse.php around line 111:

    function genClientsLink( $sName, $sValue, $sLink, $sIcon, $bImgDetect = true )
    {
        // try to find link's icon

        if ( $bImgDetect )
            $sIcon = getTemplateIcon($sIcon);

        $sValue = ( $sValue ) ? '<span>(' . $sValue . ')</span>' : null;

        return '
            <div class="linkSection">
                <table>
                    <tr>
                        <td>
                            <img src="' . $sIcon . '" alt="' . $sName . '" />
                        </td>
                        <td>
                            <a href="page/client-chart">' . $sName . '</a>
                            ' . $sValue . '
                        </td>
                    </tr>
                </table>
            </div>
        ';
    }

also changed this around line 442:

  function genLinkLocation( $sType, $sTypeValue )
    {
        $sLocation = null;

        foreach( $this -> aParameters AS $sKey => $sValue ) {
            if ( $this -> bPermalinkMode ) {
                if ( $sType == $sKey )
                    $sLocation .= '/page/client-chart/' . $sTypeValue;
                else
                    $sLocation .= ( $sValue ) ? '/page/client-chart/' . $sValue : '/all';
            } else {
                if ( $sType == $sKey )
                    $sLocation .= '&' . $sKey . '=' . $sTypeValue;
                else
                    $sLocation .= ( $sValue ) ? '&' . $sKey . '=' . $sValue : '&' . $sKey . '=all';
            }
        }

and made changes here to BxBaseSearchProfiles.php around line 93 - these changes changed the link of the username in the extended view:

        $sProfileNickname = '<a href="page/client-chart?ID=' . $sClientId  . '">' . getNickName($aProfileInfo['ID']) . '</a>';

and around line 102:

           $sProfile2Nick = '<a href="page/client-chart?ID=' . $sClientId2  . '">' . getNickName($aCoupleInfo['ID']) . '</a>';

caredesign.net
Quote · 9 Mar 2013

OK, I havd tried to spend a few days to try and  get the links to work like I wanted them tobut to no avail. Any suggestions would be greatly appreciated.

 

But, I went ahead and started working on my EHR module, but it kinda depends on figuring out how to change the link for the profile pic. One thing I did do was to start my new module, and I was going to just use the templates from the browse.php and hope that the functionality could be duplicated for the dropdown sort (latest activity, registration date, rate, the online and photos boxes as well as the how many to show per page dropdown). This too has not been working like I would like it to.

 

If anyone could point me in the right direction to either change the link for the profile pic or how to duplicate the browse.php for a module, I would forever be indebted to you.

 

As Always, THanks in advance.

caredesign.net
Quote · 15 Mar 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.