The forum is in read only mode.
Hello, I wonder how I can remove from the activity stream the lines: Hide this post Ignore this user Delete this post Thank you very much,
Hi BV, You can edit this file components/com_community/templates/actvities.stream.actions.php, remove this code :
<?php if($permission->hideStream){ ?> <li> <a href="#" data-action="hide" data-user-id="<?php echo $act->actor; ?>" data-stream-id="<?php echo $act->id; ?>" data-stream-type="<?php echo $appName; ?>"> <i class="joms-icon-eye"></i><span><?php echo JText::_('COM_COMMUNITY_HIDE_ACTIVITY')?></span> </a> </li> <?php if($permission->ignoreStream){?> <li> <a href="#" data-action="ignore" data-user-id="<?php echo $act->actor; ?>" data-stream-id="<?php echo $act->id; ?>" data-stream-type="<?php echo $appName; ?>"> <i class="joms-icon-minus-sign"></i><span><?php echo JText::_('COM_COMMUNITY_IGNORE_ACTIVITY')?></span> </a> </li> <?php } ?> <?php if($permission->editPost || $permission->deletePost){?> <li class="divider"></li> <?php }?> <?php }?>
<?php if( $permission->deletePost ) { ?> <li> <a href="#" data-action="delete" data-stream-id="<?php echo $act->id; ?>" data-stream-type="<?php echo $appName; ?>"> <i class="joms-icon-remove"></i><span><?php echo JText::_('COM_COMMUNITY_ACTIVITY_DELETE_POST')?></span> </a> </li> <?php } ?>
Hello Dimas, Thank you, it worked. I think you meant: activities.stream.options.php rather than activities.stream.actions.php Regards,
oh yeah, glad to know that !
JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a full -fledged, social networking site
TRY NOW BUY NOW