Linking to member's friends

I'm trying to add a link to a member's friends list in a php block (custom menu). Linking to viewFriends.php?iUser={profileID} doesn't seem to do it.

Is there another way?

Many thanks for any advice in advance.

Quote · 25 Nov 2012

viewFriends.php?iUser={memberID}     
tried that ?

Quote · 25 Nov 2012

I have tried that but unfortunately that doesn't work either.

The code I'm putting into the php block looks like this:

<ul class="metro"><li class="small-tile-image scale10 videohive"><a class="tile" href="viewFriends.php?iUser={memberID}"><span>Your language friends</span><img src="images/contacts-icon.png" alt=""></a>

Quote · 26 Nov 2012

Try this
$iId = getLoggedId();

viewFriends.php?iUser=$iId

not sure how you putting this in a php block

so much to do....
Quote · 26 Nov 2012

Thanks Prashank.

Here's a stupid question: Where do I put the $iId = getLoggedId(); bit?

Quote · 26 Nov 2012

Don't worry.

viewFriends.php?ID=memberID worked in the end. Thanks.

Quote · 26 Nov 2012
 
 
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.