Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

How to display Accepted Answers in Members List?

This discussion is related to the Members List Enhanced addon.

Hi. Thanks @peregrine for sweet plugin!

I have Vanilla 2.2 and Members List Enhanced 6.5 installed. 'Show Answers' option and QnA Plugin are enabled but Accepted Answers don't show up in Members List. >:)

Tagged:

Comments

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    This plugin only calls existing content, it relies on the plugin, Q&A and others to put the data. Make sure Q&A is working.

  • Thank you @vrijvlinder.

    It seems to me the Q&A is working, users can ask questions and accept answers, 'Best answers' are visible...

  • noncenonce Necro-on Forensics
    edited February 2016

    @mirx you say: It seems to me the Q&A is working, users can ask questions and accept answers, 'Best answers' are visible... and show answers is enabled

    I have scannned the discussions, tutorials, and looked the the plugin code and it appears it may be an issue

    qna has Gdn::Structure()
    ->Table('User')
    ->Column('CountAcceptedAnswers', 'int', '0')

    it writes to User ---> CountAcceptedAnswers

    Members List Enhanced uses and echoes User ----> QnACountAcceptance

    there seems to be a mismatch in Members List Enhanced
    replace all qnacountacceptance with countacceptedanswers (case sensitive)
    replace all QnACountAcceptance with CountAcceptedAnswers (case sensitive)

    vrijvlindermirX
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Please Try that out and report if it works, I can't test this at the moment . If it works I will update the plugin.

    Thanks

  • replace all qnacountacceptance with countacceptedanswers (case sensitive)
    replace all QnACountAcceptance with CountAcceptedAnswers (case sensitive)

    It works. After replacement Accepted Answers showing up!

    Many thanks @nonce for your help and brilliant analysis!

    vrijvlinder
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    I updated the plugin, I removed some old code from peregrine's reactions which are no longer available and fixed the layout of the board.

Sign In or Register to comment.