Jump to content

[This site] "Solutions" in the Avatar container not present in all subs


Go to solution Solved by Adriano Faria,

Recommended Posts

Jim M
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.

Excited Golden Retriever GIF by MOODMAN

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.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...