Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-09-29 16:03:30

vickilh
Member
Registered: 2007-10-30
Posts: 96

How do comments work?? And list of discussion threads?

How on earth do folks use TXP comments? Out of the box, it seems practically useless.
- I turn on comments in admin.
- Click “on” for comments in a test article.
- I submit a comment and make it visible.

Now on the article page, it lists my name (linked to my email address!), followed by the time stamp and a linked “#”. The linked “#” just goes to the comment form. Where is the actual comment?? What about people that don’t want to share their email address with the world? How many visitors will know what “Textile help” is about??

I’ve perused the forum and looked at various plugins. All is fairly baffling. It looks like I would need to install multiple plugins and hack the textile comments code?? Does Textpattern really handle comments this poorly, or am I missing something?

Many thanks for any help! Vicki

Offline

#2 2012-09-29 17:24:05

etc
Developer
Registered: 2010-11-11
Posts: 5,397
Website GitHub

Re: How do comments work?? And list of discussion threads?

vickilh wrote:

It looks like I would need to install multiple plugins and hack the textile comments code??

It looks like you need to RTFM and edit your comments form. :) If the comment message is missing, chances are you have migrated from some obsolete version that used the now depreciated <txp:message /> tag.

Other than that, Textpattern handles comments rather poorly indeed.

Offline

#3 2012-09-29 17:36:25

vickilh
Member
Registered: 2007-10-30
Posts: 96

Re: How do comments work?? And list of discussion threads?

I’d looked at the docs, but that didn’t help. Right now, I’ve got this in the “comments_display” form:

<txp:comments />
<txp:comment_message />
<txp:if_comments_allowed>
<txp:comments_form />
</txp:if_comments_allowed>

Offline

#4 2012-09-29 17:51:48

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,340
Website GitHub Mastodon

Re: How do comments work?? And list of discussion threads?

vickilh wrote:

What about people that don’t want to share their email address with the world?

In Preferences > Advanced, you may set “Require user’s e-mail address?” to “Yes” or “No”. This is our help text for this preference setting which is available from the (?) popup help link.

Right below this preference you may find another one titled “Hide e-mail address?”. This preference setting controls whether the e-mail address is either hidden, or shared with the world.

Last edited by wet (2012-09-29 17:55:13)

Offline

#5 2012-09-29 17:51:55

etc
Developer
Registered: 2010-11-11
Posts: 5,397
Website GitHub

Re: How do comments work?? And list of discussion threads?

I’d say, <txp:comment_message /> should be in comments form.

Offline

#6 2012-09-29 22:20:19

vickilh
Member
Registered: 2007-10-30
Posts: 96

Re: How do comments work?? And list of discussion threads?

<txp:comment_message /> is in the 2nd line of the form.
Ah, forgot about the Advanced settings! — But the message comment still isn’t showing up. Just the “#”, linked to the form.

Offline

#7 2012-09-29 23:42:02

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: How do comments work?? And list of discussion threads?

vickilh wrote:

<txp:comment_message /> is in the 2nd line of the form.

etc means a form named “comments”, not “comments_display”.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#8 2012-09-30 09:52:08

etc
Developer
Registered: 2010-11-11
Posts: 5,397
Website GitHub

Re: How do comments work?? And list of discussion threads?

It looks like someone has well messed up your txp install (I do not blame her/him), these are not out of the box forms. Then your frustration is understandable, sorry for having been a little abrupt. The (more or less) defaults in txp 4.4 were

<h2 id="<txp:text item="comment" />"><txp:comments_invite textonly="1" showalways="1" showcount="0" /></h2>

<txp:comments />

<txp:if_comments_preview>
<div id="cpreview">
<txp:comments_preview form="comments_preview" />
</div>
</txp:if_comments_preview>

<txp:if_comments_allowed>
<txp:comments_form isize="25" msgcols="45" msgrows="15" />
<txp:else />
<p><txp:text item="comments_closed" /></p>
</txp:if_comments_allowed>

for comments_display, and

<txp:comment_message />
<p class="small">— <txp:comment_name /> · <txp:comment_time /> · <txp:comment_permlink>#</txp:comment_permlink></p>

for comments form. As you see, <txp:comment_message /> should be in the comments form, otherwise it displays nothing. You can also get rid of # link, which is there mainly for bookmarking purpose.

Offline

#9 2012-09-30 15:08:04

vickilh
Member
Registered: 2007-10-30
Posts: 96

Re: How do comments work?? And list of discussion threads?

Fantastic! – My comments still weren’t showing up until I removed the permalink tags. (?) Once those were gone, poof – there were the comments.

Thank you! Vicki

(Yes, I had inherited a very out of date txp – back at version 1.x. This is the first time we’re thinking about using comments.)

Offline

Board footer

Powered by FluxBB