GithubHelp home page GithubHelp logo

Comments (11)

pblahman avatar pblahman commented on July 20, 2024 1

from plugin-discussion.

pblahman avatar pblahman commented on July 20, 2024 1

from plugin-discussion.

luffah avatar luffah commented on July 20, 2024 1

@Basskrapfen there is a simple editing error in action.php:956 .

The condition is inverted.

        if (empty($comment['replies'])) {
            return;
        }

from plugin-discussion.

pblahman avatar pblahman commented on July 20, 2024

I also have this issue with PHP 7.4 or PHP 8.2 and Release 2024-02-06a "Kaos". However deprecation log indicates lots of this:
2024-02-25 09:11:12ptln() is deprecated. It was called from admin_plugin_discussion::html() in /home/sctxcompclubora/sctxcompclub.net/lib/plugins/discussion/admin.php:74 echo should be used instead!
I have been "looking" for ptln documentation. Which "might" give me a clue about how to change ptln to echo.

from plugin-discussion.

tomnbw avatar tomnbw commented on July 20, 2024

Hello,

I'd like to bring to your attention a bug that has emerged after the recent update of the Discussion plugin. Following the update, replies to comments are no longer visible on the page. While these replies can still be seen in the pending comments section for review, they aren't being publicly displayed. This issue has arisen recently and wasn't present in another wiki where the Discussion plugin was installed quite some time ago. Interestingly, after reinstalling the Discussion plugin, the same issue occurred in the other wiki as well.

Additionally, I have a small request. Could you kindly consider either removing the ability for regular users to edit, hide, or delete their own comments, or making these permissions optional? Your assistance is greatly appreciated, and I extend my gratitude for your efforts.

Best regards

from plugin-discussion.

tomnbw avatar tomnbw commented on July 20, 2024

Hi,

when I reply to a discussion post, the reply is not shown on the page. On the admin (moderation) page, the reply is visible though.

Any ideas how I could fix this?

DokuWiki version is "Jack Jackrum", threads are enabled, installed plugin is "2021-12-31" which is the latest which is available via the extension manager.

I couldn't find any messages/errors in the dokuwiki log file.

Thanks a lot!

Excuse me, have you found a solution to the problem with the report?

from plugin-discussion.

KanenasPL avatar KanenasPL commented on July 20, 2024

Same here.
image
vs.
https://2051.tepewu.pl/2051:formy_i_narzedzia:pieniadz_i_gospodarka:ekonomia_karmy

from plugin-discussion.

Basskrapfen avatar Basskrapfen commented on July 20, 2024

Hi,
when I reply to a discussion post, the reply is not shown on the page. On the admin (moderation) page, the reply is visible though.
Any ideas how I could fix this?
DokuWiki version is "Jack Jackrum", threads are enabled, installed plugin is "2021-12-31" which is the latest which is available via the extension manager.
I couldn't find any messages/errors in the dokuwiki log file.
Thanks a lot!

Excuse me, have you found a solution to the problem with the report?

Sorry, I couldn't find any solution or workaround yet.

from plugin-discussion.

wlfram avatar wlfram commented on July 20, 2024

are there any news on this topic?

from plugin-discussion.

sataix avatar sataix commented on July 20, 2024

luffah is right, this immediately fixed the issue on my instance of DokuWiki. For ones who experience the same issue: change action.php:956 from if (!empty($comment['replies'])) to if (empty($comment['replies'])).

from plugin-discussion.

mosely1 avatar mosely1 commented on July 20, 2024

Confirmed this works. Unsure how it will affect future updates to the plugin. I'd make a pull request, but it seems they are not accepted. Simple fix, in case you need it.

from plugin-discussion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.