[Extension] Bbii Forum

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.

Someone else’s messages visible is in the moderator personal inbox!

they see this message user_id 123 (in pm outbox), user_id 552( in pm inbox), and user_id 1 (moderator, in pm outbox)


`bbi_message` (`id`, `sendfrom`, `sendto`, `subject`, `content`, `create_time`, `read_indicator`, `type`, `inbox`, `outbox`, `ip`, `post_id`) VALUES

(54, 123, 552, 'test', 'testtesttest', '2015-03-20 11:53:52', 0, 0, 1, 1, '*.*.*.*', NULL);

No idea what you could have done that could cause that.

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

a small error, in your demo site it is also repeated

only on this pages

forum/moderator/sendmail

forum/moderator/report

forum/moderator/admin

bbii-wrapper moves down

The views belonging to these actions were accidently save in UTF-8 with BOM instead of without BOM.

yes, it solved the problem. thank you

Hi,

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

If you are using Yii2 checkout https://github.com/hosannahighertech/yii2-yiiboard

Its not yet for production as it is undergoing some big changes. But I use it in my forum (see my signature).

Else using Bbii and add Bootstrap should not be that hard!

Sorry, I have no plans to make the forum responsive.

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

Thanks,

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.

how to install Russian language ru

and in frontend/www/forum/forum/index

Error

Error 500

Trying to get property of non-object

You save the file "bbii.php" with the translation array in the directory .\protected\modules\bbii\messages\ru\

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

Stack trace:

#0 E:\OpenServer\domains\aaa\common\lib\vendor\yiisoft\yii\framework\base\CComponent.php(561): CHttpRequest->validateCsrfToken(Object(CEvent))

#1 E:\OpenServer\domains\aaa\common\lib\vendor\yiisoft\yii\framework\base\CApplication.php(207): CComponent->raiseEvent(‘onBeginRequest’, Object(CEvent))

#2 E:\OpenServer\domains\aaa\common\lib\vendor\yiisoft\yii\framework\base\CApplication.php(178): CApplication->onBeginRequest(Object(CEvent))

#3 E:\OpenServer\domains\aaa\frontend\www\index.php(62): CApplication->run()

#4 {main}

REQUEST_URI=/forum/setting/deleteForum

HTTP_REFERER=h ttp://aaa/forum/setting/layout

Best bet is that you disabled the use of cookies in your browser.