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.

problem with photos and videos privacy

10 years 4 months ago
  • Saeed's Avatar
    Topic Author
  • Saeed
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,
I have some problem with photos and videos privacy in our website,
If i set my videos or photos privacy to "private" or "me and my friends" other users likewise can see my photos or videos tumbnail in all photos or videos section but when they are clicking on those thumbnail system show them a message that said, "owner of this photo or video privacy do not allow you to open it" .
I think when user set photo or video privacy to "private" or "me and my friends" other users should not see anything about this posts.
if someone who has not any connection with someone else, first person should not see any image of second person until the first one set photos or videos privacy to public.

Cheers.

10 years 4 months ago
Licenses:

Hi.

If you want to hide photo thumbnails just set whole album as "Only me" or "Me & Friends".
Setting privacy to photo only will restrict access photo not a thumbnail in album.

When you change settings in Frontend -> Profile -> Privacy for Photos every activity on stream should have privacy restrictions.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 4 months ago
  • Saeed's Avatar
    Topic Author
  • Saeed
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,
As you said "Setting privacy to photo only will restrict access photo not a thumbnail in album." but if photo's privacy set to private, thumbnails should not be seen in public feeds.
What can we do for this problem?

What if we don't want to have public view? do you know why? because when i choose picture privacy to private or me and my friends, it means i don't want anybody to see my photos, neither thumbnail nor full photo! it's not a good idea to show thumbnails of private photos in public feed.

If i can't change this i prefer to disable public view for all users!

Thanks.

10 years 4 months ago
Licenses:

Hi.

Please provide us with working administrator credentials.
I can't login to your site.
Please, edit your first post and add credentials to corresponding fields.

I need to check your settings.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 4 months ago
  • Saeed's Avatar
    Topic Author
  • Saeed
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

I have edit my first post and you can see a new admin users
but we have close our administrator for public IPs, so you should provide me your Ip, then i will let you in.

Thanks

10 years 4 months ago
Licenses:

Hi.

My IP is: 89.229.66.58.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 4 months ago
  • Saeed's Avatar
    Topic Author
  • Saeed
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,
Sorry for this long delay :)
We had some problem with renewing our subscription.
Now your IP is open and you can login into our administrator
Cheers.

10 years 4 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Saeed,

Let me clarify this issue first..

so you have a private video, and you want to hide the private video thumb inside stream and videos list page?

But I am sorry this is impossible, this behavior cant be done like that. The private only will work when you click the detail video and you cant see it.

thank you

10 years 4 months ago
  • Saeed's Avatar
    Topic Author
  • Saeed
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,
It's so important for us to solve this problem, i can say this is a critical problem in our system!
Is it possible to make changes in codes? and still can update jomsocial in future?
i allready make some changes in template, so if you guide me a little
can it be solved by editing core or template?

10 years 4 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Saeed,

Ok I will give you a pointer, but I only will help you on list video.

1. open this file components/com_community/templates/videos.list.php
2. you should give the if condition for the thumb image, check this code :

<img src="<?php echo $video->getThumbnail(); ?>" width="<?php echo $videoThumbWidth; ?>" height="<?php echo $videoThumbHeight; ?>" alt="" />
3. then replace to :
<?php $my = CFactory::getUser();
$canSee = CPrivacy::isAccessAllowed($my->id,$video->creator,$video->permissions);?>
                            <?php if($canSee):?>
                            <img src="<?php echo $video->getThumbnail(); ?>" width="<?php echo $videoThumbWidth; ?>" height="<?php echo $videoThumbHeight; ?>" alt="" />
                        <?php else:?>
                            <img src="http://YOURIMAGEURL" width="<?php echo $videoThumbWidth; ?>" height="<?php echo $videoThumbHeight; ?>" alt="" />
                        <?php endif?>

this is not tested yet but I hope it will work.

thank you

10 years 4 months ago
  • Saeed's Avatar
    Topic Author
  • Saeed
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,
I have tried it, but this line of your code
"CPrivacy::isAccessAllowed($my->id,$video->creator,$video->permissions);"
Always returns true, no matter what type of access that file has, so the "else" part is not running and in website all video thumbnails still visible to everyone!

10 years 4 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

May I know in which page you test it?

Anyway, by default the privacy video already respected on all videos page, so if you dont have permission to see the video, the video thumb wont be showed there.

10 years 4 months ago
  • Saeed's Avatar
    Topic Author
  • Saeed
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

yes it should not be showed but it shows,
i have test it by two unrelated users but when each of them upload a new video another user can see that video thumbnail in his/her videos,
i have test it by setting the video permissions to "me and my friend" and "only me" but the second user can see that videos whereas there is no any relation between them!

10 years 4 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

HI Saeed,

Please you dont test it with admin user, because admin will avoid the privacy permission, I just check it with guest and go to videos page, and none video can be seen, because guest dont have permission for that



thank you

Attachments:
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