Member
Member
ahoglund   2005-09-22, 16:13
#1

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

Member
Member
ahoglund   2005-09-22, 16:19
#2

nevermind.

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

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

Developer
Developer
trisweb   2005-09-22, 20:58
#3

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

Member
Member
Castro   2005-10-15, 17:45
#4

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

Member
Member
nathan   2005-10-16, 00:45
#5

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)

Member
Member
nathan   2005-10-16, 01:13
#6

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:
Member
Member
Castro   2005-10-16, 08:03
#7

Oh! Yeah that does the trick!

Thanks a lot!!!

Castro

Member
Member
Castro   2005-10-16, 08:04
#8

Oh! Yeah that does the trick!

Thanks a lot!!!

Castro

Member
Member
nathan   2005-10-16, 09:51
#9

Not a problem.

Member
Member
sonicparke   2007-01-25, 20:17
#10

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:
Member
Member
lovenara   2008-11-21, 08:41
#11

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

Member
Member
sbillard   2008-11-22, 00:39
#12

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.