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

    • 10 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

      • 10 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

        • 10 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

          • 10 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

    • 10 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

      • 10 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

        • 10 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

    • 10 years ago
    • 43

    Great stuff Ryan!

    ProcessWire really is going into overdrive!

  • ryan

    ryan

    • 10 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

      • 10 years ago
      • 33

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

  • ryan

    ryan

    • 10 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

    • 10 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

      • 10 years ago
      • 54

      test.reply test. replyreply

      • cstevensjr

        cstevensjr

        • 10 years ago
        • 33

        Very nice!

      • ryan

        ryan

        • 10 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

        • 10 years ago
        • 33

        Awesome addition.

      • Sevarf2

        Sevarf2

        • 10 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

        • 10 years ago
        • 33

        BRILLIANT!

      • organizedfellow

        organizedfellow

        • 10 years ago
        • 54

        @Ryan

        How about a permalink to each comment?

          • Art A

            Art A

            • 10 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 #550
              In the 550th issue of ProcessWire Weekly we're going to check out the latest core updates, introduce a new third party module called PagefileMetadata, and more. Read on!
              Weekly.pw / 23 November 2024
            • Custom Fields Module
              This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
              Blog / 30 August 2024
            • Subscribe to weekly ProcessWire news

            “Indeed, if ProcessWire can be considered as a CMS in its own right, it also offers all the advantages of a CMF (Content Management Framework). Unlike other solutions, the programmer is not forced to follow the proposed model and can integrate his/her ways of doing things.” —Guy Verville, Spiria Digital Inc.