By James on Friday, 10 June 2016
Posted in Technical Issues
Likes 0
Views 739
Votes 0
When disabling photos in a user profile type ACL it also disabled photos in the event category ACL.
This contradicts the functionality of how Profile and Group ACL functions.

The EVENT ACL should be the master for EVENTS and override the profile type ACL as it should be specific to itself.

Thanks,
James
Having a similar issue with Event Videos.

The Application is enabled for Events but the bar is not being displayed in the stream.
See here: http://screencast.com/t/Z92xau9BIYKa

Thanks,
James
·
Friday, 10 June 2016 14:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello there,

Sorry for the delay of this reply.

Did you mean when we disable Upload Photos as shown http://screencast.com/t/wPOYqo4MISEq at Backend>Components>Profiles Types>ACL>Photos ?

If yes, we have tried in our local and yours and we can upload picture into event as shown :
http://screencast.com/t/wZkSP25b84Uc

regards
·
Friday, 10 June 2016 15:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Abdul, here is the problem....

- We want Photo Uploads disabled for user profiles (other than Avatar and Cover)
- We want Photo Uploads enabled for Events and Groups

So, if you disable it in Profiles like should be you CAN upload photos in groups but not in events.

James
·
Saturday, 11 June 2016 02:37
·
0 Likes
·
0 Votes
·
0 Comments
·
The same issue is happening with Groups, users are not able to upload photos to the stream.

The group photo app is enabled and the acl privileges for each category are setup to allow photos, videos and files.

Please help,
James
·
Saturday, 11 June 2016 12:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello there,

Sorry for the delay of the reply because it is weekend for us here.

The Profiles Type>ACL --> upload function is set for all site. If we disable it, all site including events and group sites will be disable, but if you want to enable photo upload on events and group, you can replace those file that i attach based on link below:

1.for events replace photos.php with photos_1.php and rename it to photos.php
...\JoomlaES\media\com_easysocial\apps\event\photos\photos.php

2.for groups replace photos.php with photos_2.php and rename it to photos.php
...\JoomlaES\media\com_easysocial\apps\group\photos\photos.php

Hope this help
·
Monday, 13 June 2016 13:30
·
0 Likes
·
0 Votes
·
0 Comments
·
I am going to test this now.

I will report back in a few moments.

Thank you,
James
·
Monday, 13 June 2016 21:32
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome, Please keep us updated and let us know if you require any further assistance.
·
Tuesday, 14 June 2016 11:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Abdul and Muhammed, I tried the files provided but I don't see any change.

In groups the user is still not able to post photos but videos does work (videos has worked).
My site details are included in the master forum setting for reference.

See the following screenshots:
Profile (Advanced Member) Photo ACL - http://screencast.com/t/n2jT4VP6ZsM
Profile (Advanced Member) Video ACL - http://screencast.com/t/123sWchtgcT
Photo and Video Application (Groups) - http://screencast.com/t/D9zKH4824E
Group Preview - http://screencast.com/t/INL9FHTU

As you can see the ACL settings aren't working even with the override file.
Also, this is exactly what was happening before which dictates contradicting ACL settings between applications.

The way it should work:
- Profile ACL - Independent
- Group ACL - Independent
- Event ACL - Independent

If you want Profile ACL to be GOD/MASTER you should have a setting in the General Configuration that allows the user to specify this. Otherwise they should all be independent of one another.

Thanks,
James
·
Tuesday, 14 June 2016 13:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello there,

I have tried to login into James L Helms account. This user cannot upload picture as show in this screenshot http://screencast.com/t/MpzvfzGoSm.
I also checked on John tom "Bo" Woods memorials using James L Helms account, and it seem works perfectly as shown.
http://screencast.com/t/RVBgvwcz
I also checked on Test Event James L Helms account, and it also seem to work as you asked for as shown http://screencast.com/t/H5T290IvmV

Maybe you can provide us credentials of the profile that you use to test this problem, so we can have better perspective of this problems. thanks for understandings.

regards.
·
Tuesday, 14 June 2016 15:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Abdul, I have update my original post (private information) with a test account for you.
The James Helms account is a super admin account, that's why it is working I would imagine.

Thanks,
James
·
Tuesday, 14 June 2016 21:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello there,

Sorry for the delay of this reply.

The problems still occurs because you have disable Create Albums at Backends>Components>EasySocial>Profiles Types>ACL>Albums as shown http://screencast.com/t/176jhLXzWS . I oversee this option as it does play a part for enabling photo upload.

I have made some modification into your code and it seems to work perfectly. Please give it a try .

As for
If you want Profile ACL to be GOD/MASTER you should have a setting in the General Configuration that allows the user to specify this. Otherwise they should all be independent of one another.


I will consult with my team if it is possible and see how it goes
·
Wednesday, 15 June 2016 12:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Abdul, I can confirm now that it is working as expected.

Will these changes be committed to the next official release or should I override the files you modified with template overrides? I would assume they would be included in the next release.

I also want to make a point to what I was saying in one of my previous post. The Video Plugin for Users, Groups and Events was working as expected. Photos was not. This was a contradiction to how the ACL should work so to be consistent now we are in good shape.

Thanks,
James
·
Wednesday, 15 June 2016 20:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Sorry for the delay of this reply.

You are most welcome. Glad to hear that your issue has been resolved now.

Will these changes be committed to the next official release or should I override the files you modified with template overrides? I would assume they would be included in the next release.


I will discuss this with our team and see if they have a better idea. We can’t directly implement to the development without do consultation with the developers.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Thursday, 16 June 2016 12:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post