Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
640 views
in Plugins by

How can I communicate with members who disable their messaging feature?

I want a method other than email

1 Answer

+1 vote
by
edited by
 
Best answer

in qa-include/pages/message.php line 78

if ($toaccount['flags'] & QA_USER_FLAGS_NO_MESSAGES) {  

instead of

if (($toaccount['flags'] & QA_USER_FLAGS_NO_MESSAGES) && qa_get_logged_in_level() < QA_USER_LEVEL_SUPER) {

in qa-include/pages/user-profile.php line 791 

if (qa_opt('allow_private_messages') && isset($loginuserid) && $loginuserid != $userid && !($useraccount['flags'] & QA_USER_FLAGS_NO_MESSAGES) && !$userediting) {

instead of

if ((qa_opt('allow_private_messages') && isset($loginuserid) && $loginuserid != $userid && !($useraccount['flags'] & QA_USER_FLAGS_NO_MESSAGES) && !$userediting) || qa_get_logged_in_level() >= QA_USER_LEVEL_SUPER) {

by
You are amazing
It really works thank you
by
In my case it does not work..
Help please..
by
@Aman
There is a difference in the line numbers
You should look for similar words
...