Author Filter

License Latest Stable Version Total Downloads

A Flarum extension. Filter discussion lists by discussion author.

Usage

This extension adds a search-as-you-type filter box to the discussion list, enabling filtering by discussion author (OP)

Installation

Install with composer:

composer require blomstra/user-filter:"*"

Updating

composer update blomstra/user-filter
php flarum cache:clear

Sponsored

The initial implementation of this extension was sponsored by Kagi Search and is released as open source for the wider Flarum community to benefit.

Blomstra offers highly available managed Flarum hosting and custom extension development. Contact our helpdesk for further information

Nice, will be wonderful if this can work with Mass Actions 🙂
Will be useful be able to list all discussion of an author and with Mass Actions be able to select and delete or do other mass actions 🙂

    Great extension Ianm!

    Any chance of seeing how does it workin in any Flarum forum?

      Nice extension once again 🚀

      I just wonder: wouldn't "Filter by author" be more accurate than "Filter by user"? One could expect a user filter to show any discussion where the searched user is involved to.

      • IanM replied to this.

        ornanovitch I just wonder: wouldn't "Filter by author" be more accurate than "Filter by user"?

        That's a very good point. I'll update the default translation for this soon, but it's also possible to change this immediately on your site by using fof/linguist, should you wish to

        Great, thank you! Can you add more sort options?

        A quick question is running in my head, we can directly visit user profile page and find all his discussions right, what is the need of making a separate extension for the same 🤔

        0.1.1

        • Rename "search by user" to "search by author" ornanovitch
        Updating
        composer require blomstra/user-filter:"*"
        php flarum cache:clear

        clarkwinkelmann oh I have not tested but maybe I'm misunderstanding...
        I was hoping to be able to list all discussion from an user.
        I think this is just possible opening a user profile and going on discussion tab but, Mass Action never work there, only on index page as you said.

        Also this extension search by author is not for list all post by an author but to do search on the author post.
        I'm sorry 🙂 Maybe I need to wait with time a tool will be introduced to delete all discussion just from a specific user than delete the account ;D I read this will be implemented in the future and I was hoping to do the same with this two extensions.

        2 months later

        I just installed this extension, and from my test result. If user doesn't logged in, they won't be able to use this author filter function. Is this correct?

        • Hari replied to this.

          ash3T i think you have some cache issue, go through this screenshot Hari i have tested in a private window and it was working

            Hari Thanks for your help.

            Yes. I see your shotscreen. By cache issue, do you mean it will reslove by run php flarum cache:clear or clear the cache in the admin panel, I did both just now, which doesn't make any difference.

            Hari Testing in flarum.it with private window and same error for me, not working right now if no logged in. Said this error: "Non hai il permesso di farlo."

            • IanM replied to this.

              I'm assuming the actor needs to have the "Search users" permission. It can be set to guests.

                Yes. clarkwinkelmann is right about it. I just changed the permission, then all visitors can search user.

                @IanM after I click "Filter by author" then the cursor won't automatically goes to the input box, on the other hand, the text below the input box, says "start typing", yet the text I type won't appear in the input box.

                Excuse me for raising such a picky issue. 😅 Thanks very much for working on this extension. 😄