69 views
in Web Develop by

1 Answer

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

142 questions

54 answers

0 comments

1,532 users

close button
2 Online Users
0 Member 2 Guest
Today Visits : 674
Yesterday Visits : 707
Total Visits : 2021014
...