I have one problem, the forum moderator can see in his mailbox all the private messages sent and received by users to other users. Moderator reads them, but can not remove it. If a user deletes a message in his inbox, and the moderator inbox is also deleted.
Why moderator receives them, and how to remove this feature? I do not understand, it’s my fault in the modified code, or so it works correctly?
I suspect that you mean that the pm wind up in the moderator reports mailbox, not the personal inbox of a moderator.
In that case the sendto field of the messages in table bbii_message must contain the value 0. And you will need to find out why no sendto is filled (or filled with 0) when creating a private message.
I did some tests. Additionally, the problem is only the admin, moderator is ok
P.S. the problem was in the user id, observed only with user id = 1, I have created the admin user with id = 2 and everything is OK. I probably did something at a model of the user. I’m sorry for your time
This is Yasir Rehman, I like your forum that is developed in YII, I want to use that application in my website. The name of the website is Rapidmemberpro www.rapidmemeberpro.com.
The only problem in this forum is that its not developed in Bootstrap and Responsive. If you give me a responsive version I am going to pay you.
Here is my Skype id. m.yasir.rehman please contact me asap
Can i ask how to call model from bbii model in my main controller(or outside modules path) so i can send value from Bbiimember table to other controller. If you dont mind you can give a little code example for me
You cannot. The BBii models are specifically written to be used from within the module. You will need to make copies of them that do not extend the BBiiAR class.
Hello, when you delete a category error, how to fix
2017/04/01 13:47:34 [error] [exception.CHttpException.400] exception ‘CHttpException’ with message ‘Невозможно определить CSRF.’ in E:\OpenServer\domains\aaa\common\lib\vendor\yiisoft\yii\framework\web\CHttpRequest.php:1247