• Extensions
  • Only Starter(只看楼主) - Only show the topic starter's replies

好耶,这个方便啊。🥳
Wow, It's very convenient.

    SZSZ 确实,用了一阵子发现flarum竟然没有只看楼主,而且没有相关扩展,有点麻 😅
    Yep, I was confused when I noticed that flarum didn't have something feature like this.

      SwaggyMacro
      请问只看楼主状态可以包括主楼吗

      Can the topic starter only feature includes the first post ?

        SwaggyMacro

        Hi Swaggy.

        Two question:
        Can be removed the "topic starter" label from the first message? Appear in all replies by OP but not in the first message.
        Have possibility to edit directly in the extension option, the label name for other ?

        thanks!

          SwaggyMacro 要怎么弄呀?我现在只看楼主默认不显示主楼

          How to do that? It’s showing the first post in topic starter only mode by default

            Teddan
            之前上传错误的版本了,我后面修改后就正常了,试试更新下?
            I pushed the wrong version code, can you try to update it now?
            It works well on my site.

            composer update swaggymacro/only-starter

            Walys
            remove the "topic starter" label from the first message?
            I think it is not a good choice, But I will update an option on the admin panel sometime.
            And the label name for others? Sorry, I didn't catch your meaning...

              There is another bug, the editor will disappear when only starter mode is on.
              I will fix it tomorrow(maybe... I'm not sure)

                SwaggyMacro Yes, I think that have the possibility to remove the "topic" starter" for first message is good. Only remove for first message because I think not neccesary, all the people in the thread said that the initial message is for OP. I think no need any label in the first topic text.

                Then, when the OP reply... YES, the label is good for all replies by OP.
                And if have and option in the admin to change the name label for any other text, its perfect!
                Only, i think..
                THanks!
                .

                a month later

                SwaggyMacro I think it somehow effected the composer in admin panel, as what the console shows.

                管理台的搜索没法儿跳转了:

                mount-redraw.js:15 TypeError: Cannot read properties of undefined (reading 'toUpperCase')
                at admin.js:114:86
                at Array.map (<anonymous>)
                at admin.js:110:45
                at Array.map (<anonymous>)
                at e.<anonymous> (admin.js:105:46)
                at Yn.forEach.t.<computed> [as extensionItems] (extend.ts:86:24)
                at n.view (AdminNav.js:20:45)
                at Function.s (render.js:30:16)
                at render.js:482:45
                at p (render.js:419:9)
                s @ mount-redraw.js:15
                (匿名) @ mount-redraw.js:25
                requestAnimationFrame(异步)
                l @ mount-redraw.js:23
                L.handleEvent @ render.js:890

                  Teddan
                  Maybe It's not caused by Only Starter?
                  The Only Starter will not affect the admin panel.
                  可能不是只看楼主引起的,我这里是正常的,插件没有对后台面板操作,仅仅只是在后台添加了插件设置。

                    SwaggyMacro

                    打开这个插件后确实会导致回复栏消失,复现:进入帖子,点击下方回复栏->点击只看楼主->关闭回复栏,然后回复栏就会消失了。

                    I also noticed there is a bug that cause the reply editor disappear. How to reproduce: inside a post, click the reply editor-> click the "Only Show OP" button-> close the reply editor, and you'll find the editor disappeared completely from the bottom

                    7 days later

                    SwaggyMacro
                    确实,关掉之后又console又显示了别的插件的error,不是这个插件导致的。

                    That's ture, console reported other errors when this is disabled. But this extensin seems also have problem of topic-starter's replies

                    但是这个插件打开后确实会让 楼主回复(引用)别人的不能被展开()@"SwaggyMacro"#p199638 就是这种回复,一般鼠标移动到上方会自动展开内容,开了这个插件之后,楼主回复别人的内容时就不能这样看。

                      2 months later

                      Thank you for that!

                      6 months later

                      Teddan
                      我关闭了插件后仍然不会悬浮显示回复内容,可能是别的插件导致的

                      Teddan
                      This site: https://ecnu.im/ works well with only-starter.
                      And I tried to disable extensions one by one, still caused that problem.
                      So, I think it was caused by an option from some extensions.
                      这个站点的回复功能是正常的。
                      我尝试过逐步把每一个扩展禁用,但还是不会有悬浮显示回复内容(偶尔会有 但刷新后就不行了),我想可能是某个扩展的某个选项导致的。