Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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.