Jump to content

[BUG] which answer was the most helpful


Recommended Posts

Since the topic author cannot mark his first post as solved, this code below should not show if there is no reply in the topic.

{{if $topic->canSolve() AND ! $topic->isSolved() AND $topic->isNotModeratorButCanSolve()}}
<div class='cContentMessage cContentMessage_color ipsMessage_success ipsMargin_vertical' data-controller='forums.front.topic.solved'>
    <h3 class='cContentMessage__header'>{lang="solved_did_it_tho_title" sprintf="\IPS\Member::loggedIn()->name"}</h3>
    <div class='ipsPadding'>
        {lang="solved_did_it_tho_desc"}
        {{if member.members_bitoptions['no_solved_reenage']}}
			<div class='ipsMargin_top'>
				<a href="#" data-action="mailSolvedReminders" class="ipsButton ipsButton_verySmall"><i class="fa fa-envelope"></i>&nbsp; {lang="solved_reengage_on"}</a>
			</div>
        {{endif}}
    </div>
</div>
{{endif}}

FIX:

$topic->posts > 1 
Edited by SeNioR-
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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