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

#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: 157
  • 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: 157
  • 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: 157
  • 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

#89 User is offline   yasir509 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 02-February 12

Posted 29 June 2015 - 01:15 PM

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
0

#90 User is offline   Stefano Mtangoo 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 334
  • Joined: 02-January 12
  • Location:Dar es Salaam, Tanzania

Posted 29 June 2015 - 02:56 PM

View Postyasir509, on 29 June 2015 - 01:15 PM, said:

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/h...h/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!
And God said, Let there be science...and it was so! Forum coded in Yii2 here, and its github repo here
0

#91 User is offline   Ronald van Belzen 

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

Posted 30 June 2015 - 03:30 PM

View Postyasir509, on 29 June 2015 - 01:15 PM, said:

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


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

#92 User is offline   Trio A. Fajar 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 19-July 15

Posted 19 July 2015 - 02:27 PM

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

#93 User is offline   Ronald van Belzen 

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

Posted 20 July 2015 - 02:08 PM

View PostTrio A. Fajar, on 19 July 2015 - 02:27 PM, said:

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