My Sharona Posted March 20, 2023 Share Posted March 20, 2023 Is there a reason for it? Link to comment Share on other sites More sharing options...
Solution Adriano Faria Posted March 20, 2023 Solution Share Posted March 20, 2023 This post was recognized by Marc Stridgen! Adriano Faria was awarded the badge 'Helpful' and 5 points. I believe it shows up only in forums where the solved is enabled. My Sharona 1 Link to comment Share on other sites More sharing options...
My Sharona Posted March 20, 2023 Author Share Posted March 20, 2023 5 minutes ago, Adriano Faria said: I believe it shows up only in forums where the solved is enabled. Makes sense. Adriano Faria 1 Link to comment Share on other sites More sharing options...
Adriano Faria Posted March 20, 2023 Share Posted March 20, 2023 This post was recognized by Jim M! "Thorough support. Thanks!" Adriano Faria was awarded the badge 'Helpful' and 1 points. 2 minutes ago, My Sharona said: Makes sense. Yep, just check it out. public function containerAllowsMemberSolvable() { return ( $this->containerAllowsSolvable() AND $this->container()->forums_bitoptions['bw_enable_answers_member'] ); } and if ( method_exists( $this, 'isQuestion' ) and $this->isQuestion() ) { $showSolvedStats = TRUE; } else if ( \IPS\IPS::classUsesTrait( $this, 'IPS\Content\Solvable' ) and ( $this->containerAllowsMemberSolvable() OR $this->containerAllowsSolvable() ) ) { $showSolvedStats = TRUE; } and {{if isset( $comment->author_solved_count )}} Will show only in forums with SOLVED enabled. My Sharona and Jim M 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts