Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

No photos displaying in photo module

9 years 7 months ago
  • Jay's Avatar
    Topic Author
  • Jay
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired

I have a heavily group driven site that is running Jomsocial. We have images and categories within each group but unfortunately the photo module is not display them. is there a way to adjust the module to display group photos?

9 years 7 months ago
Licenses:

Hi Jay,

please follow this steps:
1. edit /modules/mod_community_photos/mod_community_photos.php
2. at line 21 changing it from

$latestPhotos	    = $model->getAllPhotos( null , PHOTOS_USER_TYPE, $default, 0 , COMMUNITY_ORDER_BY_DESC , COMMUNITY_ORDERING_BY_CREATED );
to
$latestPhotos	    = $model->getAllPhotos( null , PHOTOS_USER_TYPE, $default, 0 , COMMUNITY_ORDER_BY_DESC , COMMUNITY_ORDERING_BY_CREATED , true );

3. edit /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', $group = false) {

and line 277 from
$where = ' WHERE b.`type` = ' . $db->Quote($photoType);
to
if ($group) $where = ' WHERE ( b.`type` = ' . $db->Quote($photoType) . ' OR b.`type` = ' . $db->Quote('group') . ' ) ';
else $where = ' WHERE b.`type` = ' . $db->Quote($photoType);

dont forget to backup the files first.

Regards,
Albert

9 years 6 months ago
  • Jay's Avatar
    Topic Author
  • Jay
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired

Fantastic.

This made them display, but it seems the user's photos are unintentionally set to private, how do i correct that and make all of the previously submitted photos public

9 years 6 months ago
  • Jay's Avatar
    Topic Author
  • Jay
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired

UPDATE:

The photos that give a sign in error seem to be related to the groups. Is there a way to adjust group photo settings?

9 years 6 months ago
  • Jay's Avatar
    Topic Author
  • Jay
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired

I have updated the link in hte original post to show the error message and point that the issue persists

9 years 6 months ago
Licenses:

Hi Jay,

I cant access your site, got forbidden access.



my ip is: 223.164.80.149

please unblock me. and about photos module, that module displayed photos with public privacy only.

Regards,
Albert

Attachments:
9 years 6 months ago
  • Jay's Avatar
    Topic Author
  • Jay
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired

I whitelisted the IP address.

I do get the public image issue, but what I can't figure out fo the life of me is how to get all photos to be public

9 years 6 months ago
Licenses:

Hi Jay,

I still can't find what causing this issue. Please provide me cpanel/phpmyadmin and FTP access detail, by editing your first post at this topic and put it at site info form. I need it for deep debugging purpose.

Regards,
Albert

9 years 6 months ago
  • Jay's Avatar
    Topic Author
  • Jay
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired

I have put the info into the initial post.

Please take note of the info on the username about the secondary password.

Thank you for your help with this

9 years 6 months ago
Licenses:

Hi Jay,

in some reason my IP adderess has been changed to 223.164.80.89
please waitlish my IP again. sorry for this inconvenience

Regards,
Albert

9 years 6 months ago
  • Jay's Avatar
    Topic Author
  • Jay
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired

I shut off the country block and black list while we resolve this. that should make it a bit easier.

9 years 6 months ago
Licenses:

Hi Jay,

that photos belongs to group name: U-17/18 Boys and that group is unpublished or under admin moderation. please goto jomsocial backend and publish that group from groups menu.

group photos privacy will always follow groups it self.

Regards,
Albert

9 years 6 months ago
  • Jay's Avatar
    Topic Author
  • Jay
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired

I thought for sure that would work.

I can view the pics through the group page now, but still not through the photo module, I get a sign in error as attached

Attachments:
9 years 6 months ago
Licenses:

Hi Jay,

Seem this is the issue with 3.2.1.2, could you please upgrade it to latest version 3.2.1.5.
you can get new version at jomsocial.com > "My Account"

next upadate can be found at by using ijoomla installer component (at newest package included)

www.jomsocial.com/blog/new-ijoomla-installer
documentation.jomsocial.com/wiki/IJoomla_Installer_Installation

Regards,
Albert

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW