achedd Perhaps you have the other discussion view extension installed?

Please share the output of php flarum info so we can see for sure what the issue is

    IanM ID | Version | Commit |
    +-------------------------------+---------+--------+
    | flarum-flags | v1.0.0 | |
    | flarum-pusher | v1.0.0 | |
    | flarum-nicknames | v1.0.0 | |
    | flarum-approval | v1.0.0 | |
    | flarum-bbcode | v1.0.0 | |
    | flarum-emoji | v1.0.0 | |
    | flarum-lang-english | v1.0.0 | |
    | flarum-likes | v1.0.0 | |
    | flarum-lock | v1.0.0 | |
    | flarum-markdown | v1.0.1 | |
    | flarum-mentions | v1.0.0 | |
    | flarum-statistics | v1.0.0 | |
    | flarum-sticky | v1.0.0 | |
    | flarum-subscriptions | v1.0.0 | |
    | flarum-suspend | v1.0.0 | |
    | flarum-tags | v1.0.2 | |
    | ffans-lang-simplified-chinese | v1.0.1 | |
    | fof-upload | 1.0.1 |

    • IanM replied to this.

      achedd thanks. So you don’t have any discussion view extension installed

      12 days later

      I removed composer require michaelbelgium/flarum-discussion-views by composer and installed this simple discussion views
      but it is showing - Oops! Something went wrong. Please reload the page and try again.
      I tried to uninstall composer remove flarumite/simple-discussion-views:"*" but it is showing this -

      flarumite/simple-discussion-views:* is not required in your composer.json and has not been removed
      ./composer.json has been updated
      Running composer update flarumite/simple-discussion-views:*
      Loading composer repositories with package information
      Updating dependencies
      Pattern "flarumite/simple-discussion-views:*" listed for update does not match any locked packages.
      Nothing to modify in lock file
      Installing dependencies from lock file (including require-dev)
      Nothing to install, update or remove
      Generating autoload files
      92 packages you are using are looking for funding.
      Use the composer fund command to find out more!

      I want tried to install this again composer require michaelbelgium/flarum-discussion-views

      How can i solve this ?

        xasharma

        "Something went wrong" => Check your Flarum log file or browser javascript console for the error message

        Cannot uninstall => do not add :"*" at the end. Just composer remove <package/name> without any version. It's the require command that can be provided with a version.

          clarkwinkelmann

          Thank you
          i have removed the simple one and installed composer require michaelbelgium/flarum-discussion-views

          12 days later

          I installed the plugin and the site gave 500 error help please

          we have the button to select "Abbreviate view numbers" on or not ? 😃

          2 months later

          hi ianm, i've noticed that if i add some items to DiscussionListItem.infoItems and after that some widget (that are completely into another position) i get some css view bug caused (i think) from discussion views (disabled this extension seems to solve)

          can you help me to fix that?

            Justoverclock I've seen this happen before, but I can't remember the solution right now. I'll take a look as time allows 🙂

            4 months later

            1.0.6

            1.1.0

            This version requires flarum/core 1.2 or above

            • Recompile JS using webpack 5

            No other changes

            Updating
            composer require flarumite/simple-discussion-views:"*"
            php flarum cache:clear

            I noticed a background color behind the view counter. I would like to know if this is normal?

            Anyway, thanks for the update 🙂

            • IanM replied to this.

              bryx I noticed a background color behind the view counter

              Hmm, can you please share a screenshot of this?

                bryx ah, yes sorry about that, seems I didn't clear my cache properly locally when testing this 🙈

                I'll fix this now

                1.1.2

                • Fix background color of view count (should only display on mobile) bryx
                Updating
                composer require flarumite/simple-discussion-views:"*"
                php flarum cache:clear

                Is this a dumb idea for an alternative mobile layout? Tap the number of replies, then see views in a tooltip.

                I had views on my forum, then removed it because I like the mobile layout to be minimal. I don’t know. A thought.

                Edit: Never mind, forgot you tap there to mark post as read. Well then, you swipe to follow, in the same menu could be views? Probably not on the road map for this. This is meant to be a minimal views extension.

                12 days later
                • [deleted]

                • Edited

                How can I make view count inline with post number?