By shahryarjb on Friday, 02 January 2015
Posted in General Issues
Replies 7
Likes 0
Views 1K
Votes 0
how can i take off the edit button on our discuss and reply button ?
Hi,

You can disable this in backend > EasyDiscuss > ACL.

If you have anymore question, please don't hesitate to ask us.
·
Friday, 02 January 2015 15:19
·
0 Likes
·
0 Votes
·
0 Comments
·
thanks but users still can remove own attachment and it wasn't in the ACL option for restrict the user..
and how can i take off the quote button from top off posts and reply ?
·
Sunday, 04 January 2015 00:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello shahryarjb,

I am really sorry for the delay of this reply as it is a weekend for us here.
Try modify on this file JoomlaFolder\administrator\components\com_easydiscuss\tables\attachments.php

//LINE 137
if( $my->id &&
( DiscussHelper::isSiteAdmin()
|| $acl->allowed( 'delete_attachment')
|| $deleteOwn
|| $isModerator
)
)
{
return true;
}


Replace with

if( $my->id && ($acl->allowed( 'delete_attachment') && $deleteOwn) || DiscussHelper::isSiteAdmin() || $isModerator)
{
return true;
}


Regarding with your second question :
Unfortunately that was not possible to remove it, because as long as you allow user reply in your discussion post, then "quote" button will be existing. But you can modify on this file for remove this.
JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.actions.php

//LINE 145 - 152
<?php if( $access->canReply() && $post->isReply()){ ?>

<a href="javascript:void(0);" class="btn btn-mini quotePost" rel="ed-tooltip" data-original-title="<?php echo JText::_( 'COM_EASYDISCUSS_QUOTE' , true );?>">
<i class="icon-share-alt"></i>
<input type="hidden" class="raw_message" value="<?php echo $this->escape( $post->content_raw );?>" />
<input type="hidden" class="raw_author" value="<?php echo $this->escape( $post->getOwner()->name );?>" />
</a>
<?php } ?>
·
Sunday, 04 January 2015 11:26
·
0 Likes
·
0 Votes
·
0 Comments
·
thanks a lot for your response my problem has been solved.
I have just another question about the image attachment . I want to set watermark automatically under the images attached . how can i do that?
·
Tuesday, 06 January 2015 19:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I'm glad to hear your issue has been resolved.
As for your latest question, if you wish to put the watermark on the attached image, I believe this cannot be done in the current system. I am really sorry about this.

Hope this will help.
Thanks.
·
Wednesday, 07 January 2015 00:31
·
0 Likes
·
0 Votes
·
0 Comments
·
my question about report system . I want too see which answers reported in the back-end but it shows just the link of the post.

is there any way to see which answers reported with permalink?
·
Saturday, 10 January 2015 03:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Shahryarjb,

I am really sorry for the delay of this reply as it is a weekend for us here.
Can you try add this few code in this few file and see how it goes?
#1. Add this language string in JoomlaFolder\administrator\language\en-GB\en-GB.com_easydiscuss.ini
COM_EASYDISCUSS_REPORT_REPLY_PERMALINK="reply"


#2. Modify this file JoomlaFolder\administrator\components\com_easydiscuss\views\reports\tmpl\default.php
LINE 163

$viewLink = JURI::root() . 'index.php?option=com_easydiscuss&view=post&id=' . $row->parent_id;

//Replace with

$viewLink = JURI::root() . 'index.php?option=com_easydiscuss&view=post&id=' . $row->parent_id . '#' . JText::_('COM_EASYDISCUSS_REPORT_REPLY_PERMALINK') . '-' . $row->id;

And see how it goes.
·
Saturday, 10 January 2015 15:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post