UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

"Log In to See Answers"

Kyle Champ · ·
8:25 PM Thursday, 23 July 2015
None
I would like to have it where guests / public users can see the questions but can't see the answers / reply's unless they are logged in. Searching the forums I found this http://stackideas.com/forums/log-in-to-see-answers which seems to be addressing the same question. The issue for me is I'm not 100% sure what the answer means.

Unfortunately there's no such settings currently but I have added some tweaks in the file /components/com_easydiscuss/themes/simplistic/post.php at line 57,


	<?php if ($system->my->guest) { ?>

<?php } else { ?>
<?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 } ?>



You just need to fill in the first "if" statement with your html codes for guests.


The part I don't understand is the last part"You just need to fill in the first "if" statement with your html codes for guests". Can anyone be a little more descriptive of what exactly I need to put here please.

Thanks so much
The replies under this section are restricted to logged in users or users with an active subscription with us