By Seth Pfaehler on Friday, 16 May 2014
Posted in Technical Issues
Replies 1
Likes 0
Views 0.9K
Votes 0
Hello!

First, I'm LOVING your products!

I wanted to know if there was a way to prevent guests from being able to download attachments? I want them to be able to view the discussion/questions, but have it set up to prevent them from viewing replies or replying as a guest. However, if there is an attachment in the post, is there a way to prevent guests from being able to download it?

Thank you again for a great suite of products and wonderful support!

.:Seth
Hello Seth,

I am sorry but unfortunately there's no way to prevent guests from accessing the attachments unless the discussion is not viewable by them but you can always hack the theme file /components/com_easydiscuss/themes/simplistic/field.output.attachments.php and insert a code block like this,

[code type="php"]
<?php

if (JFactory::getUser()->guest) {
return;
}
?>
·
Friday, 16 May 2014 01:01
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post