Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2019-06-13 00:54:27

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 583
Website

Using comments as a sort of guestbook?

I’m running a blog with TXP and some of my readers have asked about a comment facility. What I’d like to do first is set up a really basic guestbook, something that’s on a seasonal rotation. So here’s what I’m thinking:

  • Create a new section called blog-community
  • Start a new, themed guestbook (so an article in that section, which allows comments) every new season, and allow people to make comments on that article
  • Lock up the old guestbook (article) for commenting after the new one is started

I’d like to style the page like a guestbook, with a message and a theme at the top, interesting graphics, some rules, etc. I think I can do this just by putting the article ID in a body class attribute or something like that.

My questions are:

  • Does this seem like it would work? Any common problems I am not foreseeing (I haven’t enabled comments before)?
  • Is any kind of basic threading available? Even just a single level?
  • How is spam handled?

I’d like to stay as non-plugin-based as possible, though I’m open to the idea of using plugins.

Thanks!

Offline

#2 2019-06-13 03:39:44

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,211
Website

Re: Using comments as a sort of guestbook?

The only problem I can think of is pagination. If your guestbook receives a lot of comments the page might become too long. Jukka made a plugin which paginated the comments but I don’t know if it works in the latest txp versions.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#3 2019-06-13 06:55:09

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,426
Website

Re: Using comments as a sort of guestbook?

Nested comments is also not built-in to textpattern but there is peg_nested_comments that can help with that…

Let us know how you get on!


TXP Builders – finely-crafted code, design and txp

Offline

#4 2019-06-13 23:04:27

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 583
Website

Re: Using comments as a sort of guestbook?

Thank you both. Regarding pagination I can see maybe using a JS-based paginator, or calling in comments via MySQL and GET variables. So I will think about this when we get there, I suppose :-)

jakob, thank you for the tip on peg_nested_comments. I will check it out.

Offline

Board footer

Powered by FluxBB