Yii Framework Forum: [Extension] Bbii Forum - Yii Framework Forum

Jump to content

  • (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

[Extension] Bbii Forum Forum module Rate Topic: ***** 2 Votes

#81 User is offline   Mono 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 18
  • Joined: 21-January 15

Posted 19 March 2015 - 06:02 PM

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?
0

#82 User is offline   Ronald van Belzen 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 146
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 20 March 2015 - 06:28 AM

View PostMono, on 19 March 2015 - 06:02 PM, said:

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.
0

#83 User is offline   Mono 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 18
  • Joined: 21-January 15

Posted 20 March 2015 - 06:49 AM

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

0

#84 User is offline   Ronald van Belzen 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 146
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 20 March 2015 - 07:44 AM

View PostMono, on 20 March 2015 - 06:49 AM, said:

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.
0

#85 User is offline   Mono 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 18
  • Joined: 21-January 15

Posted 20 March 2015 - 07:52 AM

View PostRonald van Belzen, on 20 March 2015 - 07:44 AM, said:

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
0

#86 User is offline   Mono 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 18
  • Joined: 21-January 15

Posted 21 March 2015 - 02:06 PM

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
0

#87 User is offline   Ronald van Belzen 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 146
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 21 March 2015 - 05:56 PM

View PostMono, on 21 March 2015 - 02:06 PM, said:

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.
0

#88 User is offline   Mono 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 18
  • Joined: 21-January 15

Posted 22 March 2015 - 05:34 AM

View PostRonald van Belzen, on 21 March 2015 - 05:56 PM, said:

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
0

Share this topic:


  • (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users