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.

disable comments on albums

9 years 5 months ago
  • james's Avatar
    Topic Author
  • james
  • Offline
  • Fresh Boarder
  • Posts: 26
  • Thank you received: 1
Licenses:
JomSocial Active Socialize Expired

Hello how can i disable comments that are on albums, i want to keep photo comments but remove them from the actual albums.

9 years 5 months ago
Licenses:

Hi, James.

You can't disable them via administration panel. but you can do that hacking by hacking template.

Copy this file:

ROOT/components/com_community/templates/default/photos.album.php

to:

ROOT/templates/your-template/html/com_community (if you don't have "html" or "com_community" folders, feel free to create them)

Then edit file and look for this code (line 186 to 193):

<div class="cMedia-Comments">
						<a name="comments"></a>
						<div class="cWall-Header"><?php echo JText::_('COM_COMMUNITY_COMMENTS') ?></div>
						<div id="community-walls">
							<div id="wallForm" class="cWall-Form"><?php echo $wallForm; ?></div>
							<div id="wallContent" class="cWall-Content"><?php echo $wallContent; ?></div>
						</div>
					</div>

Just remove that code. This will remove comments on album pages.

Demo file is attached.


- 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

This message has an attachment file.
Please log in or register to see it.

9 years 5 months ago
  • james's Avatar
    Topic Author
  • james
  • Offline
  • Fresh Boarder
  • Posts: 26
  • Thank you received: 1
Licenses:
JomSocial Active Socialize Expired

i actually mean the comments on stream where it says like or comment, i want to remove the commenting bit for albums.

9 years 5 months ago
Licenses:

Hi, James.

Please, be more specific next time - you haven't mentioned STREAM in your initial post.
There is no way to disable album comments on stream.


- 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