By Christian van Laarhoven on Tuesday, 21 February 2017
Posted in General Issues
Replies 1
Likes 0
Views 343
Votes 0
Hi,

I can't seem to find those settings.

I would like to remove the quote button but I can't seem to find the settings, and removing it with Javascript isn't the best option.

And I also can't find the maximum length for replies on a discussion. Now it's on unlimited letters and could go wrong if someone tries to be funny.

Thanks!

Regards!
Hello Christian,

There is currently no settings for this because generally if a user can reply, they would be able to still quote from another person. However, if you want to disable the button altogether, you could:

1. Create a template override for /components/com_easydiscuss/themes/wireframe/post/default.actions.php

2. Remove the codes below:

[gist]
<?php if ($post->canReply()) { ?>
<div class="btn-group">
<a href="javascript:void(0);" class="btn btn-default btn-xs" rel="ed-tooltip" data-ed-post-quote
data-original-title="<?php echo JText::_('COM_EASYDISCUSS_QUOTE', true);?>"><i class="fa fa-quote-left"></i>
<input type="hidden" class="raw_message" value="<?php echo $this->escape($post->content);?>" />
<input type="hidden" class="raw_author" value="<?php echo $this->escape($post->getOwner()->getName());?>" /></a>
</div>
<?php } ?>
[/gist]
·
Wednesday, 22 February 2017 00:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post