By Pavel Kurfürst on Wednesday, 18 June 2014
Posted in General Issues
Replies 13
Likes 0
Views 680
Votes 0
Hello, i did not know, wheter it is task or feature request.

I would like to know, if it is possible to set somehow (propably in source code), to have a possibility to choose user for assigning a post from group of users who can reply discussion in particular category.

It is due to special ACL I need to have set. Moderators can have all access as it is set in EasyDiscuss. nut I need to assign question to someone, who is bellow moderators - in a group of users who can reply question, not moderate question.

And if you could help me - how can I achieve to send automaticali email notification to user who is assigned to answer the question?

Thank you very much

Best regards
Pavel
Hello Pavel,

We are sorry but it is not possible yet in Easydiscuss to assign the question. We will discuss this with our developer and we'll see how it goes. Thanks for the suggestion.
·
Wednesday, 18 June 2014 11:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Nick, thank you for quick response.

I know, there is no possibility do "assign" question yet, but I use "Moderate" question (discussion) instead. So, moderator of topis is something like assigned user:-)

But, I would like to notify that user via email when I make him moderator. Is that possible, please?

And also, If I set user group as moderators in category setting (Who can moderate category), it ovverride settings of such group in ACL settings, I am right?
Because, I have set for example for one user group they are not approved to mark question as no status, but when I set this user group as moderators, they can do this action.

Best regards
Pavel
·
Wednesday, 18 June 2014 12:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Pavel,

Regarding
I would like to notify that user via email when I make him moderator. Is that possible, please?
I believe the current system is unable to do this. But there is settings for notify moderator for new post and reply in category. We will discuss this feature with our developer and we'll see how it goes. Thanks for the suggestion though.

If you set the user group to moderate the category even if the ACL settings are disable, the user group will inherit the moderator settings.

If you have anymore question, please don't hesitate to ask us.
Hope this will help.
Thanks.
·
Thursday, 19 June 2014 00:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello mohdyasseribz,

yes, I know about that option - but when I set moderator to NO (to not getting any notification), then they will not get any notification at all.

Thats a pitty, I would like to set it somewhere in source code if it was possible - as it could be very handy to notify assigned user.

In the front-end, in tool bar, there is live notification so the system recognize this action. So, maybe if you knew where to edit rules for emails sendig I would try to find that out.

There are a lot email templates in EasyDiscuss administration, but just so small option to set rules when and which and to whom email is send.

In connection with ACL - yes, I see.. so that is almost the same strategy as core Joomla ACL system has. Default group has almost no-right, but when you create new child group, it inherits all not-allowed in default and you can allow some actions if needed. Maybe it would be the way, to have a option to set particular administrator settings to each user group. I know, you do not know in advance which groups users will make, but as I notice, it takes just IDs of assigned user group, so there is a possibility in the future;)

Thank you for your time.

Best regards
Pavel
·
Thursday, 19 June 2014 06:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Pavel,

Thanks for the heads up on this, we'll consider this feature in the future However, right now we don't actually have plans to add this yet.
·
Saturday, 21 June 2014 15:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

thank you for information.

Please, could you advise me, where I can manually code to send email notification to the user who is assigned as moderator?

I suppose Easy Discuss somehow knows user actions (as it is able to show live notification in toolbar and send emails when new question or reply is added), and there should be some file, where email sending is configured (in according to these action).

I will hire some coders, as this is only one function I miss to fulfill my client needs, and If I knew where to navigate my coder it could save me some money.

So I just would like to know, where to find functions (notifications or events, and rules for email sending) to quickly edit these files.

Thank you in advance

Best regards
Pavel
·
Saturday, 21 June 2014 15:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Pavel,

If you need to add your own set of hacks, you'll want to edit the file /components/com_easydiscuss/views/post/view.ajax.php under the method ajaxModeratorAssign . This is where the code is when you assign someone to a post.
·
Saturday, 21 June 2014 18:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

thank you, I have found that! Could you please advise me also, where rules are stored for sending emails? something like If there is user group / if there is yes to send emails (if there is access to receive emails) to this user group - send this email template.. somethig like this :-) so we could append new ruleset just for assigned moderator (get his id, get post details, etc.)

I thing it will be somewhere in helper file, router maybe..?:-)

I also noticed there are email templates for email.reply.answered and email.reply.marked.answered, could I somehow hack it to sending just the second one?

Thank you!

Have a nice day!

Best regards
Pavel
·
Sunday, 22 June 2014 15:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Pavel,

Hm, sorry but I don't really understand you here.
·
Sunday, 22 June 2014 23:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

I would like to know, where are settings (which file controls these settings) for emails (please, see attached image, there is point 2.), also I would like to know, when is notified user, whose email I put into filed custom email adress (point 1. in image), where I can modify rules for actions (point 3., but it is propably the same question as for point 2.), and finaly, what is difference between files in email templates, e.g. point 4. in image.

Thank you very much.

Best regards
Pavel
·
Wednesday, 25 June 2014 20:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Pavel,

Sorry for late reply to this,
I would like to know, where are settings (which file controls these settings) for emails (please, see attached image, there is point 2.),
>> it will control a lot of place, the keyword is "notify_moderator"
>> example this file JoomlaFolder\components\com_easydiscuss\controllers\posts.php

also I would like to know, when is notified user, whose email I put into filed custom email adress (point 1. in image),
>> Most of the customer also will put their moderator to custom email address, so when a post published, so the moderator will get the email notification.

where I can modify rules for actions (point 3., but it is propably the same question as for point 2.), and finaly,
>> May i know why you would like to modify this some of the option purpose?

what is difference between files in email templates, e.g. point 4. in image.
>> email.post.comment.new.html.php <- this is cover email template in email.post.comment.new.php
>> If you try modify something in this file email.post.comment.new.html.php , you should see the template result.

Hope this help.
·
Thursday, 26 June 2014 01:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex, thank you for you reply.

The main reason for modification of email notification are special requests from my client.

Setings in Easy Discuss are fine for most cases, especialy when you can set easy discuss ACL.
But problem is, in my situation, when client has over 150 moderators and these moderators are grouped to three sublevels. Easy Discuss cannot manage moderators subgroups. There are administrators, moderators and users.

As we do not want to give to moderators administrator access, we had to set three moderators groups. One is like moderator admin (supervisor of all other moderators), second one something like moderator senior and third one something like moderator junior. Last group should have moderator access, but not as complex as moderators senior and moderator admin.

And the reason for email notification modification is, that when I set notify moderators when new question is posted, it will send notification to all moderators. (As I said, it is good in most cases, but not in my individual case, I do not blame you for my client needs:-) ). So, I have to set different rules for different user groups, based on joomla ACL. I am not using your keywords and functions, I just get joomla user group ID, and then I give permission to different actions. (I did it e.g. in situation, when user group is 7, he can set post as private, else he has no access to this function, I am using this filtering with custom fields etc.)

I think, in future, you could make possible to define at least joomla user group ID to make some advanced settings (as you cannot know in advance, which user group other customers are using), because Easy Discuss recognize just admins, moderators and rest of users. (But what if someone needs to set some other permissions for registered users, or for users in different group with subsription etc.)

So, when it is about to set email notification, I need to have different options for different user groups, not just for 3 user groups as it is now:-)
(But I realy do not blame you, it is not your fault, it is just because of special needs and sometimes it cannot by done with component, even it is very complex and I can say very advanced and universal also..)

Fortunately, modifications could be done, just to know, where to edit :-)

Have a nice time!

Best regards
Pavel
·
Thursday, 26 June 2014 02:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Pavel Kurfürst,

Sorry for late reply to this,
Yes, regarding with your client requirement that was not possible can do that in current system.
If you need this customizations, try do post them on our marketing at https://crm.stackideas.com and our marketing department would get back to you with a proper quote.
·
Thursday, 26 June 2014 19:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post