Hello.
I need to not showing answers (and solved) for guests. How can I do this?
Thank you.
I need to not showing answers (and solved) for guests. How can I do this?
Thank you.
<?php if( $answer ){ ?>
<div class="discuss-answer discussAnswer">
<a name="answer"></a>
<?php echo $this->loadTemplate( 'post.reply.item.php' , array( 'question' => $post, 'post' => $answer ) ); ?>
</div>
<?php } ?>
<?php if( $category->canViewReplies() && $answer ){ ?>
<div class="discuss-answer discussAnswer">
<a name="answer"></a>
<?php echo $this->loadTemplate( 'post.reply.item.php' , array( 'question' => $post, 'post' => $answer ) ); ?>
</div>
<?php } ?>
And about how to hidden the "resolve", there is no setting for it but you can hack the code.
<div class="discuss-resolvedbar">
<?php echo JText::_( 'COM_EASYDISCUSS_RESOLVED' ); ?>
</div>