By Nuno Francisco on Wednesday, 18 June 2014
Posted in General Issues
Likes 0
Views 720
Votes 0
Hi,

By default in ED to write a question users must be registered.

If we allow in ACL Registered group to edit question status:
Mark Answered
On hold
Accepted
Reject
... than there's a moderate button displays in front when user registered.

The problem is, because we allow Registered group, everyone who is registered will be able to moderate every question. That means every registered user will be able to moderate others questions status.

How to enable ONLY the author question to moderate HIS OWN question status?

Thanks,
Hello Manuel,

Sorry for late reply to this,
Actually that was solved when you replace the file i given you last night.
Yes, you should set disallow the public user to create a new question is because the system do not know the guest id which is under which their post, because all the guest id is 0, which means that guestUser1 submitted a discussion post, then the guestUser2 can reply on this discussion.

Yes, you should backup this 3 file in your site :
JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.reply.form.php
JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.actions.php
JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.qna.php


Or you can do the template override this 3 file. You can follow this similar documentation http://stackideas.com/docs/easyblog/customizations/template-overriding

//put this 3 file in this location file for prevent future update.
JoomlaFolder/templates/mytemplate/html/com_easydiscuss/post.reply.form.php
JoomlaFolder/templates/mytemplate/html/com_easydiscuss/post.actions.php
JoomlaFolder/templates/mytemplate/html/com_easydiscuss/post.qna.php


Hope this help.
·
Wednesday, 03 September 2014 12:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Nuno,

Sorry for late reply to this,

I have applied some hack in this file -> JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.actions.php

Please have a check is it meet your requirement here? Please advise.
·
Thursday, 19 June 2014 00:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Unfortunately your hack doesn’t fix the problems.

As I told you before, moderate a question or mark a status question should be features only available for the author question registered user.

Also, if a single user his assigned to reply to a SINGLE particular category, he should NOT be able to reply others categories, moderate others categories questions, mark the status of others categories questions.

After your hack, this is what I get:

When user registered logged in his own questions:
- button mark as resolved OK
- button accept de answer OK
- button send report OK
- button moderate MISSING

When user registered logged in others questions:
- button accept de answer: display (should be hide)
- button send report: display (should be hide)

When user manager registered logged in his own category assigned answers allowed:
- button accept de answer: display (should be hide)
- button send report OK

When user manager registered logged in one category NOT assigned to answers allowed:
- button accept de answer: display (should be hide)
- button send report: display (should be hide)

Hope you can help me fix this issues because it is not normal that users registered can moderate or change status from others users questions.
Also if a user is assigned to a single category to only reply to that category, it is not normal that he can moderate or send reports from others categories questions.

Thanks,
·
Thursday, 19 June 2014 01:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Nuno Francisco,

Sorry for late reply to this,
Can you please have a check. The registered user should be only have permission to view the moderator button in their own question post.
Keep us updated if i still missing something here.
·
Thursday, 19 June 2014 10:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Ok, the button moderate question only display for the author question when logged in. This is done. Thanks.

However the button ACCEPT THE ANSWER and SEND REPORT is still displaying in NON author discussions when user logged in. A non author discussion shouldn’t be able to accept answers that were not intended for himself neither send reports in others discussions or answers.

When user manager registered logged in his own single category assigned and allowed:
- button moderate question hide (should be display with on hold, working on, rejected options)

When user manager registered logged in one category NOT assigned and NOT allowed:
- button send report: display (should be hide)

If a single user manager is assigned to a single category to only reply to that category, it is not normal that he can send reports to others categories discussions that he is not allowed.

Please check my ACL Manager group and Categories in EasyDiscuss to have a better understanding about who can reply discussion in this category. You will see one single user per category + Admin + Super User.

Thanks,
·
Thursday, 19 June 2014 15:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Nuno Francisco,

Sorry for late reply to this,
I have applied some hack in this file -> JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.qna.php
for the ACCEPT THE ANSWER only available for the discussion post owner.
Regarding with the SEND REPORT, by default the report will appear when the post is not owner.

I am really sorry but unfortunately another part customization takes quite a bit of time and unfortunately we would not be able to further assist you with this as per our support policy, http://stackideas.com/support
Hope you understand.
·
Friday, 20 June 2014 15:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello, first excuse my English. I am Spanish.

I need the same as Nuno. I need:

- Users who register will create a question.
- Moderator or Administrator will answer the question.
- If the user wants to respond in the same discussion after the response of the administration, he can do it. But only in your question, not on another question from another user.

You say you've made ​​changes to the file post.qna.php but no specific changes.

Can you help me?

I hope you can understand me. Thank you.

Regards.
Manuel
·
Tuesday, 02 September 2014 01:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Manuel,
I can help you.
Please send me a private message and can check that for you.
My private mail address nuno.francisco329(at)gmail.com
You can write me in Spanish, no problem.
Regards,
·
Tuesday, 02 September 2014 03:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nuno.

I write to your email. My email is manuel@cnsconsultores.net. Is posible that you have my email on spam folder. Sametimes I have this problem, I do not why...Thanks so much.

Regards.
Manuel.
·
Tuesday, 02 September 2014 04:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manuel,

I'm really sorry that delayed of this reply,
If you guys need some technical support help regarding with the EasyDiscuss extension, please let us know.
·
Tuesday, 02 September 2014 12:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex.

Yes, I need help with my problem...

Manuel wrote:

Hello, first excuse my English. I am Spanish.

I need the same as Nuno. I need:

- Users who register will create a question.
- Moderator or Administrator will answer the question.
- If the user wants to respond in the same discussion after the response of the administration, he can do it. But only in your question, not on another question from another user.

You say you've made ​​changes to the file post.qna.php but no specific changes.

Can you help me?

I hope you can understand me. Thank you.

Regards.
Manuel


Nuno wrote me for try help me but is possible he's busy, while I appreciate a lot to wrote me..

Please I need fix this problem urgently, If I can not fix it is possible that lose the customer

Thank you!!

Regards.
Manuel
·
Tuesday, 02 September 2014 12:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manuel,

Can you try download my 2 attachment file and replace in your file
JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.actions.php
JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.qna.php

*Note : Remember backup your original file before you replace.

Actually I'm not sure your current requirement is it match with Nuno requirement. Can you give it a try and see how it goes?
·
Tuesday, 02 September 2014 15:29
·
0 Likes
·
0 Votes
·
0 Comments
·
After replacing the files for yours does not work and has passed me this:

The toolbar editor for writing is gone.
The reply, cancel or post button does not work. Only "Create a Ask"
I still have the same problem as before, it is possible that I have not explained well.

If a user named "Paco" writes a question after login, the administrator answers this question. If a user named "Antonio" is authenticated, he can read Paco's question but can not answer. Only "Paco" can respond again to the administrator because the question has been created by "Paco". Similarly, "Paco" can not answer any questions that make "Antonio", only the administrator can answer.

Is this possible? If not possible, I'm sorry to inform you that Easydiscuss not meet the requirements I need.

My client has a consultancy and want registered users to ask and consultants can only respond, keeping a conversation between user and consultant. Guest users may only read the questions and answers. Registered users can read all the questions but just answer the questions that they have created.

Thanks again.
Manuel
·
Tuesday, 02 September 2014 18:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Manuel,
Sorry to hear that you are still stuck with this issue.
I send you an email this morning.
Hope you get it.
Any questions, don't hesitate asking again.
Regards,
·
Tuesday, 02 September 2014 18:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manuel,

First did you get Nuno email in this morning?

Second is it possible give us a chance to take a look with your site as well and provide us with your Joomla backend and FTP access so we can provide a good solution with this? Please advise.

Thanks Nuno sharing
·
Tuesday, 02 September 2014 18:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex.

Nuno sent me an email this morning but no thanks to him because it does not share the solution. He wants 650€ to fix my problem. I think very unprofessional on his part. I felt bad for thinking it would really help me that I have not wanted or answer your mail.

Arlex, I have no problem to give you access to my ftp and backend. Just that I'd do it privately. How can we do this?

Thanks a million Arlex.
Greetings.

Manuel
·
Tuesday, 02 September 2014 18:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manuel,

Can you try download my attachment file and replace in your file JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.reply.form.php
and see how it goes first?

if still can't, you can provide us with your login credential in Site Details tab, that section only our supporter can view it.
·
Tuesday, 02 September 2014 18:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex.

Thanks for all Arlex, but continue have problems. I give you the details for access to my website on site details tab.

Regards.
Manuel
·
Tuesday, 02 September 2014 19:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manuel,

Sorry for late reply to this,
First I have checked in your test site, it seems like this System - jQuery Easy plugin causing this unable click the button and the editor disappear issues. (I have temporary set to NO - Enable jQuery, check my screenshot below.)

Check your answer below your queries :
- Users who register will create a question.
>> I have help you temporary set the public user do not have the permission to create a discussion post.

- Moderator or Administrator will answer the question.
>> Yes, only the SuperAdmin and moderator can answer the question now.

- If the user wants to respond in the same discussion after the response of the administration, he can do it. But only in your question, not on another question from another user.
>> I have tested using "stackideastestuser" user to create a new discussion, this user only have the permission to reply his own discussion post, he will not have the permission to reply on another discussion post, check my screenshot here : http://screencast.com/t/eYhjBnJsC || http://screencast.com/t/46rCZqgUC

Can you give it a try and see if still have problem here? If yes, can you list down the step how to do the testing?
Example : Which user you try to reply/create a question.
Please advise.
·
Tuesday, 02 September 2014 23:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex.

I'm impressed. Thank you for the speed in solving the problem. Really, I am very grateful.

Now, everything works. But you told me this:

>>> I have help you temporary set the public user do not have the permission to create a discussion post.


I´m not sure that understand you fine. Never I can configure Easydiscuss for the public can create question or is something that I have to do?? Because, I need this also. If your changes not support this option, dont worry. Only I want know if is posible.

Just a last small question. What about future updates? Overwrite all changes you have made in the files? If so, could you tell me which files should I save to keep the changes you made?

Once again ... thank you, thank you so much !!!

Best Regards.
Manuel
·
Wednesday, 03 September 2014 04:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex.

I know that you did work until high hours night. For all the work, thank you!!

Now my client and me are happy!!

Regards.
Manuel
·
Wednesday, 03 September 2014 17:37
·
0 Likes
·
0 Votes
·
0 Comments
·
hello Manuel,

You're welcome
I will mark this thread as resolved and lock it to avoid any confusions in the future, but if you need any help please feel free to start a new thread in our forums.
·
Wednesday, 03 September 2014 18:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post