Been trying to hide a portion of the links under a photo
- Share - Report - Make Profile Photo
> Make Profile Photo
I haven't found the right CSS and couldn't find it in the module CSS.
Just don't want to encourage users to make someone else's photo their avatar
Any tips would be appreciated
It would be a source edit and would be overwritten on upgrades. The following would be at your own risk and not supported by SocialEngine.
Open application/modules/album/views/scripts/photo/view.tpl and make a copy of that before doing anything else.
Edit line 196 to either remove the following or comment it out:
- <?php echo $this->htmlLink(array('route' => 'user_extended', 'controller' => 'edit', 'action' => 'external-photo', 'photo' => $this->photo->getGuid(), 'format' => 'smoothbox'), $this->translate('Make Profile Photo'), array('class' => 'smoothbox')) ?>
It didn't blow up anything to remove it from my dev site. Clear cache when done. Again, this is not supported by SocialEngine.
Thanks so much @Donna I will give it a try
You're welcome. Please update this thread and let us know if it worked for you. In case other clients want to do the same. Thank you!