Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
SeNioR- Posted January 16, 2023 Posted January 16, 2023 (edited) 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> {lang="solved_reengage_on"}</a> </div> {{endif}} </div> </div> {{endif}} FIX: $topic->posts > 1 Edited January 16, 2023 by SeNioR- abobader, Adriano Faria, ArashDev and 1 other 3 1
Recommended Posts