Hi,
I got your FTP from other topic. here the changes:
/public_html/dev/modules/mod_community_photos/mod_community_photos.php
I put new code
// get logged in user id
$loggedID = CFactory::getUser();
and at line 58, I changing it from
$photos = $model->getAllPhotos(null, $photoType, $limit, array(0,10), COMMUNITY_ORDER_BY_DESC, $sortBy);
to
$photos = $model->getAllPhotos(null, $photoType, $limit, array(0,10), COMMUNITY_ORDER_BY_DESC, $sortBy, $loggedID->id);
at /public_html/dev/components/com_community/models/photos.php
line 274
from
public function getAllPhotos($albumId = null, $photoType = PHOTOS_USER_TYPE, $limit = null, $permission = null, $orderType = 'DESC', $primaryOrdering = 'ordering') {to
public function getAllPhotos($albumId = null, $photoType = PHOTOS_USER_TYPE, $limit = null, $permission = null, $orderType = 'DESC', $primaryOrdering = 'ordering', $userid = null) {and I put new code at line 292
if ($userid > 0) {
$where .= ' AND b.`creator`'
. '=' . $db->Quote($userid);
}
Regards