0 like 0 dislike
226 views
in Web Develop by

1 Answer

0 like 0 dislike
by (571 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

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 27, 2021 in Web Develop by Kuddus (571 points)
0 like 0 dislike
0 answers
0 like 0 dislike
0 answers

325 questions

98 answers

7 comments

5,034 users

6 Online Users
0 Member 6 Guest
Today Visits : 5787
Yesterday Visits : 8752
Total Visits : 7233826
...