ZenphotoCMS Forum
Remove Comments Functionality - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Remove Comments Functionality (/thread-30.html)



Remove Comments Functionality - ahoglund - 2005-09-22

I have been looking for a way to remove the option for people to comment. Is there an easy way to do this?




Remove Comments Functionality - ahoglund - 2005-09-22

nevermind.

i just deleted the code from the image.php file in my theme. is that sufficient?

this program rocks!!! thank you soooo much!!!




Remove Comments Functionality - trisweb - 2005-09-22

Yep, that'll work for now. In the future, a switch (for the entire gallery and per album) will be in the control panel.




Remove Comments Functionality - Castro - 2005-10-15

Hi, I want to disable the comments to but I can't find the image.php ?

And what's the code I need to remove exaclty ?

Thanks for your help!!

Castro




Remove Comments Functionality - nathan - 2005-10-16

The image.php file is in the theme folder of the theme you are using.

I am not sure of what code to remove, but that should be a start.

(I'll post exactly what to remove in about 20 mins)




Remove Comments Functionality - nathan - 2005-10-16

Assuming you are using hte default theme, delete or 'comment out' the following code from the image.php file within the default theme folder.

`

                 says: 













                ,















            Add a comment:







      There was an error submitting your comment. Name, a valid e-mail address, and a comment are required.





                        Name:



Remove Comments Functionality - Castro - 2005-10-16

Oh! Yeah that does the trick!

Thanks a lot!!!

Castro




Remove Comments Functionality - Castro - 2005-10-16

Oh! Yeah that does the trick!

Thanks a lot!!!

Castro




Remove Comments Functionality - nathan - 2005-10-16

Not a problem.




Remove Comments Functionality - sonicparke - 2007-01-25

This was helpful. I just commented it out but I used php & css comments (maybe c++ too).

`

                 says:













                ,















            Add a comment:







      There was an error submitting your comment. Name, a valid e-mail address, and a comment are required.





                        Name:



Remove Comments Functionality - lovenara - 2008-11-21

Hi
i deleted it and it didnt work maybe it's old now for the present version?
"sonicpark"I wonder wherer to put your code in the image.php
thn




Remove Comments Functionality - sbillard - 2008-11-22

You might pay attention to the date on postings. You have posted to two threads which are quite old. The current zenphoto distributed themes all have an allow comments option. When that is not set you get no comments block.