Unregistered
Unregistered
Guest   2010-05-06, 20:55
#1

Can anyone tell me how I can have 'Private comment' checked by default. What do I need to edit?

Thanks for your help!

Member
Member
sbillard   2010-05-07, 00:01
#2

place $_zp_comment_stored[5]=1 just before you call printCommentForm()

Unregistered
Unregistered
Guest   2010-05-07, 05:58
#3

Thanks, appreciated!!!

Unregistered
Unregistered
Guest   2010-05-07, 09:36
#4

One more question. I keep getting errors, where would you place that line:

Administrator
Administrator
acrylian   2010-05-07, 10:50
#5

If you haven't I suggest to read the theming tutorial and look at the standard themes.

Unregistered
Unregistered
Guest   2010-05-07, 11:57
#6

I have actually but I have no php knowledge. Is going to take me a lot of time to figure out what's going on that's why I thought i'd ask I was hoping it would be easy for you to point out where exactly to place the ' $_zp_comment_stored[5]=1'

Administrator
Administrator
acrylian   2010-05-07, 12:32
#7

sbillard already told you where to place that above...

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