Member
Member
fungifred   2006-01-06, 19:17
#1

Is there any easy way to disable commenting without going into the template and removing the comment box code? (that is fine, it just doesn't seem like an elegant solution.

Member
Member
Rob   2006-01-06, 20:43
#2

For now that's the only solution to it, you'll be sorry to hear

Member
Member
ayush   2006-01-27, 15:10
#3

You could hide it, if not really disable it.

Open themes/default/zen.css, go to the part that reads:
/ Comments
------------------------------
/

comments {


    clear: both;

}

and add one line so it reads:

comments {


    clear: both;
    [b]display: none;[/b]

}

Member
Member
Nnyan   2006-02-17, 01:31
#4

hiding it doesn't seem to work in the latest version. adding this to the zen.css file of the theme you're using doesn't do anything.

Member
Member
peh   2006-02-17, 13:32
#5

I'm running 1.0.1beta and for me it's works just fine.

Member
Member
DirtyX   2006-02-19, 14:48
#6

Yes, it works! Thanks ayush

Developer
Developer
trisweb   2006-02-22, 22:05
#7

You'll eventually have the ability to turn off comments for individual images, albums, or the whole gallery through the control panel. Someday. ;-)

Member
Member
nastyvideo   2006-04-16, 23:44
#8

I put it under .comment, it works but you still get the comment count.

.comment {
display: none;

Member
Member
mandyrc   2007-04-20, 04:16
#9

I edit my zen.css file:

comments {


clear: both;
display: none;

And works fine with the last version of ZenPhoto

Member
Member
shrubbysteve   2007-12-28, 18:50
#10

i have the stoppeddesign theme and i can't seem to get any of this to work. i'll be updating to the latest zen and probably changing the theme as well but would like a temporary fix to keep my sanity! only about a couple days ago i started getting spam and of course its progressively getting worse.

anyway i've edited out the comment box from my theme/stoppeddesign/css/photo.css but the add comment box still appears! it's different than what was there when i didn't mess with the photo.css so i'm assuming i'm editing out the wrong file. i tried finding the zen.css but don't have one in this theme. please please please please help me asap!! thanks...

Member
Member
shrubbysteve   2007-12-28, 18:59
#11

*for now i've just deleted the commentblock from my image.php. anyone know if the update tackles the spam comment problem really well? also is there an option to disable comments in the control panel yet? thanks...

UPDATE:
its so weird cause i still keep getting comments even though there is no comment box to type anything!

Member
Member
sbillard   2007-12-29, 01:37
#12

The distributed themes with the current release of zenphoto all have an option for disaabling comments. Suggest you use the nightly build as there have been some bugs vis comments fixed in it.

Are the comments you are getting SPAM? Even without a comment block zenphoto will handle posts which fill in the required items. If this is the case, I suggest you modify the spam filter plugin none.php so that it returns 0 in all cases. This will reject as spam any comment postings.

Member
Member
sbillard   2007-12-29, 02:17
#13

On thinking more about this, I have decided to update the none.php spam filter to have three possible actions: pass, moderate, and reject. Comming soon to a nightly release near you.

If you don't want comments at all, set your filter to none and your action to reject.

Member
Member
lovenara   2008-11-21, 07:45
#14

hi
iwonder where to paste that code since it's now not zen.css,it's rss-comments.
I also wanna try delete commentbox too but dont know where to delete it.
thn

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