profile events and blog posts

Hi, does anyone know where to set the number of events, blog posts and friends displayed on the members profile page?

If a member has written many blog posts or participates in a lot of events, the list gets very long.

I would like to limit to for instance latest 5 events and blog posts. And then have a link to all events the member participates in and all blog posts by that member.

I would also like to know where to set number of friends to be displayed on members profile/account page. I'd like to limit to 3.

 

 

Quote · 29 Dec 2008

/inc/profiles.inc.php

around line 85

$id = (int)$id;
$friend_list_query = "SELECT `Profiles`.* FROM `FriendList`
LEFT JOIN `Profiles` ON (`Profiles`.`ID` = `FriendList`.`Profile` AND `FriendList`.`ID` = '$id' OR `Profiles`.`ID` = `FriendList`.`ID` AND `FriendList`.`Profile` = '$id')
WHERE (`FriendList`.`Profile` = '$id' OR `FriendList`.`ID` = '$id') AND `FriendList`.`Check` = '1' ORDER BY `Profiles`.`Picture` DESC LIMIT 10";

change that 10 to whatever how many pic..

hmm any link to your site so we can have a look what's going on with the blogs

Quote · 29 Dec 2008

Great, thanks alot - that worked perfectly ;-)

 

 

 

Cheers ;-)

Quote · 29 Dec 2008
 
 
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.