Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Solution Adriano Faria Posted March 20, 2023 Solution Posted March 20, 2023 This post was recognized by Marc! 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
My Sharona Posted March 20, 2023 Author 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
Adriano Faria Posted March 20, 2023 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
Recommended Posts