Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-14 06:48:02

mmcfarlane
New Member
Registered: 2007-12-14
Posts: 4

Opening Comments

For some reason, all articles on my blog are closed for comments as soon as I post on them. I went into Admin->Preferences and made sure that comments are on by default. Does anyone know why it’s doing that? Also, is there a way to open all the closed articles on my blog?

Offline

#2 2007-12-14 07:15:01

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Opening Comments

mmcfarlane

On the admin > prefs > basic page, under the comments section, what is your Disabled after field set to? That controls date-based closure of articles for comments.


Steve

Offline

#3 2007-12-14 07:18:31

mmcfarlane
New Member
Registered: 2007-12-14
Posts: 4

Re: Opening Comments

Yeah, I thought that might be the problem as well. But it is set to “never.”

Offline

#4 2007-12-14 09:46:13

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Opening Comments

Also you have to have admin > prefs > basic > On by default? set to yes


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2007-12-14 14:06:50

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Opening Comments

colak

I think the answer to that is “yes” if I’m reading the head post correctly.

mmcfarlane

all articles on my blog are closed for comments as soon as I post on them

Could you explain what you mean when you say; “as soon as I post on them”? I don’t understand that bit.


Steve

Offline

#6 2007-12-14 15:29:51

draganbabic
Member
From: Novi Sad, Serbia
Registered: 2006-09-27
Posts: 118
Website

Re: Opening Comments

I am by no means trying to hijack a thread – but this is somewhat related to the author’s question. Is there a way to retroactively enable comments on all articles within a section? I am working on a site that used to not accept comments, but now we are adding features and we’re supposed to reopen comments on some 200+ articles.

Offline

#7 2007-12-14 15:34:06

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Opening Comments

dragonbabic

Are those 200+ articles all in the same section?


Steve

Offline

#8 2007-12-14 21:47:22

mmcfarlane
New Member
Registered: 2007-12-14
Posts: 4

Re: Opening Comments

When I say “post them” I’m referring to writing a new article and saving it.

Yes, the admin > prefs > basic > On by default is set to “yes.”
My “disabled after” field is set to “never.”

I would also like to know how to open an already closed post. Is there a way to do that in textpattern?

Offline

#9 2007-12-14 23:13:49

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Opening Comments

mmcfarlane

You can open already closed comments for an article in the ‘Write’ screen, click the ‘More’ link, set Comments to ‘On’. If you need to do that for a lot of articles, read on:

draganbabic

A MySQL query (using phpMyAdmin or rss_admin_db_manager) should be able to do it:

UPDATE textpattern SET Annotate = REPLACE(Annotate, '0', '1') WHERE Section = 'article';

Offline

#10 2007-12-14 23:35:35

mmcfarlane
New Member
Registered: 2007-12-14
Posts: 4

Re: Opening Comments

That worked perfectly, thanks!

Offline

#11 2007-12-16 10:20:25

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Opening Comments

Don’t forget about the mass-editing feature.

Offline

#12 2007-12-16 16:58:15

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Opening Comments

Mary wrote:

Don’t forget about the mass-editing feature.

Doh!

Offline

Board footer

Powered by FluxBB