ProcessWire Core Comments Upgrades

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

    ryan

    • 9 years ago
    • 53

    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.

    • ryan

      ryan

      • 9 years ago
      • 33

      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.

      • ryan

        ryan

        • 9 years ago
        • 33

        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.

        • Raymond

          Raymond

          • 9 years ago
          • 53

          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!

  • ryan

    ryan

    • 9 years ago
    • 43

    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.

    • Bob Johnson

      Bob Johnson

      • 9 years ago
      • 34

      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.

      • Beluga

        Beluga

        • 9 years ago
        • 43

        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."

  • Zahari M

    Zahari M

    • 9 years ago
    • 43

    Great stuff Ryan!

    ProcessWire really is going into overdrive!

  • ryan

    ryan

    • 9 years ago
    • 43

    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.

    • WillyC

      WillyC

      • 9 years ago
      • 33

      can.u makes it linker
      to pw forum.profiles
      thank. you

  • ryan

    ryan

    • 9 years ago
    • 54

    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

  • Pete

    Pete

    • 9 years ago
    • 33

    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?

    • WillyC

      WillyC

      • 9 years ago
      • 54

      test.reply test. replyreply

      • ryan

        ryan

        • 9 years ago
        • 33

        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.

      • Rjay

        Rjay

        • 9 years ago
        • 33

        Awesome addition.

      • Sevarf2

        Sevarf2

        • 9 years ago
        • 33

        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

      • organizedfellow

        organizedfellow

        • 9 years ago
        • 33

        BRILLIANT!

      • organizedfellow

        organizedfellow

        • 9 years ago
        • 54

        @Ryan

        How about a permalink to each comment?

          • Art A

            Art A

            • 9 years ago
            • 33

            Any idea when this is going to be pushed to the stable version?

            • totoff

              totoff

              • 9 years ago
              • 12

              As ever, right when I need it, Processwire has got it. Perfect!

             

            NextMore New Comments Upgrades

            15

            More new comments upgrades including admin approval of comments from email, new admin notification email options, new user notification emails and more. More 

            Latest news

            • ProcessWire Weekly #515
              In the 515th issue of ProcessWire Weekly we’ll check out the latest core updates, new modules, and more. Read on!
              Weekly.pw / 23 March 2024
            • Invoices Site Profile
              The new invoices site profile is a free invoicing application developed in ProcessWire. It enables you to create invoices, record payments to them, email invoices to clients, print invoices, and more. This post covers all the details.
              Blog / 15 March 2024
            • Subscribe to weekly ProcessWire news

            “The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani