Ma Kenny
asked 8 years ago

Hi,
an author created a question. but there is no link show up for the author to edit his own question.
If i enabled the edit permission for Author in DW backend settings, then he can edit ALL questions, which is not ideal.
I thought by default, a user is able to edit his own questions, did i miss something?
I can provide logins if needed, in private way. thanks!

Ma Kenny
replied 8 years ago

i also tried disable all other plugins and use default theme, it still doesnt work.

Ma Kenny
replied 8 years ago

and even the user is an Author, the role label beside question says he is “staff”, seems wrong

3 Answers
Kevin
answered 8 years ago

Hi,

Please provide me your username and password then I’ll help you solve it.

Ma Kenny
answered 8 years ago

Thanks!
@kevin
It seems fixed. could you please tell me how you fix this?
i would need to do the same fix on another site.

Kevin
replied 8 years ago

Hi,

You can copy the code in the file Template.php at wp-content/plugins/dw-question-answer/inc/

Ma Kenny
replied 8 years ago

Thanks Kevin.

is it a bug? would it be fixed in next release? cuz we i modify the Template.php, the change would be overwrited by update next time.

Ma Kenny
answered 8 years ago

Thanks Kevin.
is it a bug? would it be fixed in next release? cuz we i modify the Template.php, the change would be overwrited by update next time.

Kevin
replied 8 years ago

Hi,

I will fix it in the next version of the DW Q&A.

manurajhada
replied 8 years ago

Hi, Can you please provide me the same code and name of file to paste the code? User should be able to edit-delete his own question, answers and comments only. My code is on localhost only and not hosted yet.

manurajhada
replied 8 years ago

@Ma Kenny, @Kevin Can any of you help me? Should I raise new question for this?

Powered by DW Question & Answer Pro