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.

How to unHide stream activity?

7 years 8 months ago
Licenses:
JomSocial Active

Hi.
1) demo user added photo to default stream album.



2) demo user hided this stream activity item.

Result: everybody can see this activity stream item except demo user.

Demo users asking: is it possible to unHide this stream item for him? Is it possible to find list of hidden items and unHide it? :)

Thanks.


Sorry for my English
Attachments:
7 years 8 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

I am sorry not possible, except you do it from database directly.. look on table #__community_activities_hide

thank you!

7 years 8 months ago
Licenses:
JomSocial Active

Hi. If userA will press "Hide everything from UserB" it will not possible to bring back userB's content too?

Thanks.


Sorry for my English
7 years 8 months ago
Licenses:
JomSocial Active

Or may be it is possible to disallow users "hide" and "hide all from..." items in stream (and at group stream)?

Can't find this option in control access, but may be some file can be customised?

Thanks.


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

Hi,

To hide those options please Open this file components/com_community/templates/jomsocial/layouts/activities.stream.options.php and remove this code :

<?php if ($permission->hideStream) { ?>
        <li>
            <a href="javascript:" data-propagate="1" onclick="joms.api.streamHide('<?php echo $act->id; ?>', '<?php echo $act->actor; ?>');">
                <?php echo JText::_('COM_COMMUNITY_HIDE_ACTIVITY'); ?>
            </a>
        </li>
        <?php if ($permission->ignoreStream  && !$activity->actors && $act->actor && strpos($act->app,'featured') === false) { ?>
        <li>
            <a href="javascript:" data-propagate="1" onclick="joms.api.userIgnore('<?php echo $act->actor; ?>');">
                <?php echo JText::sprintf('COM_COMMUNITY_HIDE_ALL_FROM',CFactory::getUser($activity->actor)->getDisplayName()); ?>
            </a>
        </li>
        <?php } ?>
        <?php } ?>

I suggest you override this template file

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