2,011 views
in Web Develop by
How can I communicate with members who disable their messaging feature?

1 Answer

0 votes
by (423 points)

First  go to your cpanel and from your files you go to the qa-include folder. Then go  to "pages" folder and then message.php file. Just like below 

> qa-include/pages/message.php 

and find the code below.

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

Then replace the following code.

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

After that go to the following file and find the code below.

 qa-include/pages/user-profile.php 

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

Then replace with the code below 

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) {

Related questions

292 questions

75 answers

2 comments

5,034 users

2 Online Users
0 Member 2 Guest
Today Visits : 524
Yesterday Visits : 2560
Total Visits : 6050426
...