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.

Non-friend can't comment items in stream

6 years 4 months ago
Licenses:
JomSocial Active

Hello.

Problem appear after updating to JS4.5.
I have this settings, so anybody should can comment any posts:
<removed>
Sorry for mistake :( I updated image:



1) login as "demo" user
2) open stream
Result: "demo" user can't comment items from NON-friend
Expexted result: "demo" should can comment any posts because I set it

3) make friend somebody (for example with "slepoy")
4) open stream
Result: now "demo" can comment any item.

Thanks.


Sorry for my English
Attachments:
6 years 4 months ago
Licenses:

Hi, Dmitry.

Thank you for contacting us.
Please, refrain to post disturbing images on our forum in future. You probably posted it by mistake - I removed it.
Please, pay more attention what do you post.

I assign developer to investigate this issue further.
he'll contact you tomorrow.


- 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
6 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

this is valid bug, thank you for reporting..

6 years 4 months ago
Licenses:
JomSocial Active

Hi. Can you please provide hot fix for this problem? Thanks.


Sorry for my English
6 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

- Open this file administrator/components/com_community/views/configuration/tmpl/walls.php find this code

<span class="hasTip" title="::<?php echo JText::_('COM_COMMUNITY_CONFIGURATION_LOCK_PHOTO_WALLS_TO_FRIENDS_TIPS'); ?>">
replace to
<span class="hasTip" title="<?php echo JText::_('COM_COMMUNITY_CONFIGURATION_LOCK_PHOTO_WALLS_TO_FRIENDS_TIPS'); ?>">

- open this file administrator/language/en-GB/en-GB.com_community.ini, add this string
+COM_COMMUNITY_CONFIGURATION_LOCK_PHOTO_WALLS_TO_FRIENDS_TIPS="If enabled, access to a user's photo comments is only accessible by those in his or her friends list."

- open this file components/com_community/helpers/access/activities.php, find this code
}else if(COwnerHelper::isRegisteredUser() && $obj->access == 20) {
replace to
}else if(COwnerHelper::isRegisteredUser() && $obj->access <= 20) {

- open this file components/com_community/templates/jomsocial/layouts/stream/footer.php, add this code after line 51
if ($appName == 'photos') {
         if ($config->get('lockphotoswalls')) {
             $isConnected = CFriendsHelper::isConnected($my->id, $this->act->actor);
             $allowComment = $allowComment && $isConnected;
         }
    }

I hope it will help.

thank you!

6 years 4 months ago
Licenses:
JomSocial Active

Thanks. Seems it helped.


Sorry for my English
6 years 4 months ago
Licenses:

HI, Dmitry.

Great to hear that.
Cheers i na zdarovie! :D


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