In the coming weeks, several upgrades are on the way for comments in ProcessWire thanks to the sponsorship support of update AG. This week we implemented the first one:
Threaded Comments
Previously our comments system supported only a flat/chronological layout. It still supports that, but now you can have the option of enabling threaded comments in your comment field settings. If you are using the current ProcessWire dev branch, you'll see it as the "Reply Depth" option in the comments field configuration.
I made a couple demo threads in the comments section on this page for you to preview. Feel free to reply there if you'd like to test it out. (If we get some real comment threads going, I'll delete the demo ones). If you decide to use this on your own site, please consider the feature in alpha test state and let us know how it works for you. Note that if you've custom styled your existing comments, you may need to tweak a few things after enabling threaded comments… with these new capabilities comes a little bit more markup to account for. The FieldtypeComments core module now includes read-to-go stylesheets and JS files to use directly or as starting points.
What's coming next for the comments Fieldtype?
- Promoted comments and/or likes.
- Support for approval of comments directly from admin notification emails.
- Notification emails for users participating in a comments thread.
- Custom defined text-formatters for comments (using PW Textformatter modules).
- Upgrades to ProcessLatestComments module for comment management.
- More customization options and documentation updates/additions.
Read the next part of this post: More new comments upgrades
Comments
ryan
Ut duis antehabeo interdico distineo ibidem antehabeo suscipere opto caecus lobortis exerci. Opes vel exerci mos in diam ullamcorper letalis illum. Valde regula delenit melior quod nobis adsum nulla minim ille rusticus. Illum indoles probo nisl pala.
Reply
ryan
Abdo refero indoles suscipere. Dignissim feugait in tamen scisco nostrud. Dolor cui ymo suscipit eros persto eu wisi delenit diam paratus accumsan. Duis hendrerit suscipit volutpat luctus vel duis regula amet duis nisl. Ut fatua blandit iusto tum camur odio blandit.
Reply
ryan
Ingenium quibus nulla vero ratis jus ludus vel ideo metuo pertineo suscipit. Iusto esse metuo verto te qui ullamcorper scisco duis enim. Tego ludus vel hos virtus aliquip nisl letatio ventosus similis ne ymo. In quis decet defui occuro abluo. Ingenium plaga in ymo adipiscing vindico illum. Jumentum quod jugis nutus proprius paulatim.
Ullamcorper nostrud diam ex. Iriure wisi validus zelus gilvus delenit immitto utrum nimis vulputate euismod indoles. Aliquip regula pertineo gravis zelus dignissim wisi vulpes usitas distineo vel. Pagus letatio eros cui abdo. Antehabeo vel enim magna eum paulatim.
Reply
Raymond
Nulla vitae elit libero, a pharetra augue. Nullam quis risus eget urna mollis ornare vel eu leo. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Vestibulum id ligula porta felis euismod semper. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam.
Verry nice!
Reply
ryan
Inhibeo regula vulputate antehabeo in. Vulputate decet abbas in nisl huic autem odio facilisi. Minim vulpes valde suscipit quis eu lobortis luptatum at duis occuro. Esse natu usitas probo te. Velit utrum occuro quis esse lenis augue lucidus amet verto dignissim.
Reply
Bob Johnson
Like talking to yourself? Looks like a bunch of gibberish to me. Surprised you don't have any pharma affiliate links for us to click on.
Reply
Beluga
I guess you didn't read the post contents. Ryan said "I made a couple demo threads in the comments section on this page for you to preview."
Reply
Zahari M
Great stuff Ryan!
ProcessWire really is going into overdrive!
Reply
ryan
That's what is already does. For instance, I'm replying to you here and my info is already filled in. Also, comments do maintain a created_users_id field in the table so that one could filter by user from the API side.
Reply
WillyC
can.u makes it linker
to pw forum.profiles
thank. you
Reply
Peter Knight
Great timing. Looking forward to trying this.
Reply
ryan
Good idea. I'll add that. There already is a permalink to each comment, but it's not visible. For instance, permalink to your comment above is https://processwire.com/blog/posts/core-comments-upgrades/#Comment11557
Reply
Tom
Test Test
Reply
Pete
Hi ryan
Is it possible to link this to user accounts in some way? So if a user is logged in to at least auto-fill the details or even tie the comments to the user account so you could find all of a user's comments?
Reply
WillyC
test.reply test. replyreply
Reply
cstevensjr
Very nice!
Reply
ryan
Both dev and master are stable versions right now. Everything that's currently on dev (including these comments upgrades) will likely be pushed to master sometime in May.
Reply
Rjay
Awesome addition.
Reply
Sevarf2
This is a great update, I always wanted threaded comments in pw, I'll try them in a new website and see if i got any issue
Reply
organizedfellow
BRILLIANT!
Reply
organizedfellow
@Ryan
How about a permalink to each comment?
Reply
WillyC
testtesttest
Reply
Art A
Any idea when this is going to be pushed to the stable version?
Reply
totoff
As ever, right when I need it, Processwire has got it. Perfect!
Reply