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

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

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

#1 User is offline   Ronald van Belzen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 27 July 2013 - 02:34 PM

This is the support thread for BBii, a module that adds a fully functional forum (a.k.a. bulletin board) to a Yii 1.1 application.

Forum extension page.

On the todo-list of this module are: vote post one up, polls, moderator mail, topic subscription, theming and more configuration options.

Hopefully there will be more translations, but for that I will need your help. When you have made a new translation for this module please share it with this community.
0

#2 User is offline   tomvdp 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 58
  • Joined: 06-November 12

Posted 14 August 2013 - 09:22 AM

Extremely nice extension!
I noticed a small bug: quoting a msg that has a "change reason" copies that change reason too.
1

#3 User is offline   Ronald van Belzen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 14 August 2013 - 04:37 PM

View Posttomvdp, on 14 August 2013 - 09:22 AM, said:

Extremely nice extension!
I noticed a small bug: quoting a msg that has a "change reason" copies that change reason too.

Thanks. I will look into it.

Update: version 0.3a contains a bugfix for this.
0

#4 User is offline   Ronald van Belzen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 01 November 2013 - 02:09 PM

BBii version 0.6 has added post upvoting to the module. B)
Oh, and the manual has been updated.
0

#5 User is offline   Ronald van Belzen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 16 November 2013 - 10:05 AM

BBii version 0.7 has added polls to the module.
0

#6 User is offline   gord007 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 07-October 12

Posted 29 November 2013 - 08:48 AM

Hi, nice extension!

I fixed small bugs in pool..
1) ForumController.php => actionVote => BBiiChoice => BbiiChoice
2) _pollChoise.php => line 9 => choice['.$data->id.'] => choice[]

And problem in to last nav post.. Here:
bbii.doprogramsdream.nl/index.php?r=forum/forum/topic&id=3&nav=last => this is not last page of forum

Thx
1

#7 User is offline   Ronald van Belzen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 29 November 2013 - 10:01 AM

View Postgord007, on 29 November 2013 - 08:48 AM, said:

Hi, nice extension!

I fixed small bugs in pool..
1) ForumController.php => actionVote => BBiiChoice => BbiiChoice
2) _pollChoise.php => line 9 => choice['.$data->id.'] => choice[]

And problem in to last nav post.. Here:
bbii.doprogramsdream.nl/index.php?r=forum/forum/topic&id=3&nav=last => this is not last page of forum

Thx

Thanks for taking the time to report these. I will fix it in the next version ( 0.8 ).
0

#8 User is offline   bodyfarmer 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 22-May 12

Posted 09 January 2014 - 01:28 AM

Has anyone config the forum with YUM (yii user management) module? I can't seem to get it to work
0

#9 User is offline   Tizak 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 11-January 14

Posted 13 January 2014 - 08:51 AM

View Postbodyfarmer, on 09 January 2014 - 01:28 AM, said:

Has anyone config the forum with YUM (yii user management) module? I can't seem to get it to work

I am using them together on my current project without problems. What error are you getting when trying to combine them?
0

#10 User is offline   dommeo 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 10-March 14

Posted 11 March 2014 - 06:23 AM

There's a security flaw where any user can update anyones elses posts/topics/polls as there's no access checks within the action
1

#11 User is offline   Ronald van Belzen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 13 March 2014 - 03:04 PM

View Postdommeo, on 11 March 2014 - 06:23 AM, said:

There's a security flaw where any user can update anyones elses posts/topics/polls as there's no access checks within the action

Thanks for reporting that bug. Version 0.81 solves these problems.
0

#12 User is offline   Ronald van Belzen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 04 April 2014 - 05:20 PM

View Postnicos08, on 04 April 2014 - 06:45 AM, said:

Hello,
Firstly, I'm sorry for my poor english and that I'm newbie with Yii (I've only worked on tutorial from Yii website) :-[

I'm working on a intranet application for managing a cultural association. We would like to have Forums in order to manage projects and share ideas :
- One for Active Members, in which managers can reply to their questions
- One only for managers, which members can't read.

Is there any way to do such things with your extension ?

Thank you


Not yet, but it is not too difficult to add this functionality. I will consider adding this to the next update of the module. In fact, I am sure I will add it to version 0.9, which is scheduled to be released this weekend.
0

#13 User is offline   nicos08 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 04-April 14

Posted 05 April 2014 - 04:33 AM

View PostRonald_, on 04 April 2014 - 05:20 PM, said:

Not yet, but it is not too difficult to add this functionality. I will consider adding this to the next update of the module. In fact, I am sure I will add it to version 0.9, which is scheduled to be released this weekend.

Quote

Wow ! ! !
Thank you very much :)
You'll save me a lot of time coding my own forum system while a good one already exists.
I can spend my time working on very specific development.
Thank you for your great work

0

#14 User is offline   kano 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 23-October 11

Posted 24 April 2014 - 12:10 PM

Hi,
i am using version 0.9.

forum/setting/layout triggers CException: Property BbiiForum.membergroup_id not defined.
According to BbiiForum model file description
* @property integer $membergroup_id

$membergroup_id is a column in the database. This is however not the case.

Furthermore the following lines in BbiiModule.php init function break the translation of the rest of my app (menues, etc) as long as i am browsing within the /forum module:
'messages' => array(
	'class'=>'CPhpMessageSource',
	'basePath'=>'protected/modules/bbii/messages',
),


These lines disabled and
Yii::t('bbii' ...

replaced by
Yii::t('BbiiModule.bbii' ...

make translations work again.

Cheers
1

#15 User is offline   Ronald van Belzen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 25 April 2014 - 07:41 AM

View Postkano, on 24 April 2014 - 12:10 PM, said:

Hi,
i am using version 0.9.

forum/setting/layout triggers CException: Property BbiiForum.membergroup_id not defined.
According to BbiiForum model file description
* @property integer $membergroup_id

$membergroup_id is a column in the database. This is however not the case.

Furthermore the following lines in BbiiModule.php init function break the translation of the rest of my app (menues, etc) as long as i am browsing within the /forum module:
'messages' => array(
	'class'=>'CPhpMessageSource',
	'basePath'=>'protected/modules/bbii/messages',
),


These lines disabled and
Yii::t('bbii' ...

replaced by
Yii::t('BbiiModule.bbii' ...

make translations work again.

Cheers


First of all, thanks for reporting these.

About, the membergroup_id. I forgot to add it to the installation. You can run the update to version 0.9 or add the field to your database table by hand. Sorry for that mistake.

I will look into the translation issue and follow your advice.
0

#16 User is offline   Ronald van Belzen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 03 May 2014 - 03:30 AM

View PostMR.omid, on 02 May 2014 - 07:02 AM, said:

i found a little bug on 'message' model. maybe did you mean 'sendfrom' instead of 'sendto'?

public function mailboxFull($attr, $params) {
        $criteria = new CDbCriteria;
        $criteria->condition = 'sendto = '. Yii::app()->user->id;
        if(BbiiMessage::model()->outbox()->count($criteria) >=50) {
            $this->addError('sendto', Yii::t('BbiiModule.bbii', 'Your outbox is full. Please make room before sending new messages.'));
        }
    }


and simple question is, how to add user as moderator?


Thanks for reporting this bug. It should indeed have been 'sendfrom'. Actually the condition should have been:

$criteria->condition = 'outbox = 1 and sendfrom = '. Yii::app()->user->id;


As for your question:
Login as admin. Go to the forum settings and select the Moderators tab.

The BBii Manual (on page 12) tells you:
"Members of the forum can be assigned moderator authorization by setting the moderator checkbox. Members that have moderation authorization by assigning the rbac role moderator to them are highlighted on the list of the Moderators page, but their checkboxes are not necessarily set and they cannot be found by filtering the moderators of the list."

When you use rbac, you can create a "moderator" role and assign it to the user.
1

#17 User is offline   CodenObrian 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 26-May 14

Posted 26 May 2014 - 05:02 PM

Hello thanks for the awesome module.

I have a problem where it is displaying -1 guests and 1 active user ( or -2 guests and 2 active users ect) on the board statistics page. Any idea why its inaccurate?
0

#18 User is offline   Ronald van Belzen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 04-July 13
  • Location:The Netherlands

Posted 27 May 2014 - 05:28 AM

View PostCodenObrian, on 26 May 2014 - 05:02 PM, said:

Hello thanks for the awesome module.

I have a problem where it is displaying -1 guests and 1 active user ( or -2 guests and 2 active users ect) on the board statistics page. Any idea why its inaccurate?

In view forum/_footer.php the number of guests is calculated from:

$present = BbiiSession::model()->present()->count();
$members = BbiiMember::model()->present()->count();


$present should always be greater or equal to $members.

In the function beforeControllerAction() of the script BbiiModule.php the bbii_session record is inserted or last_visit is updated.

My guess is that something goes wrong there. Maybe an MySQL authorisation issue on the table bbii_session?
0

#19 User is offline   CodenObrian 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 26-May 14

Posted 28 May 2014 - 04:53 PM

View PostRonald van Belzen, on 27 May 2014 - 05:28 AM, said:

In view forum/_footer.php the number of guests is calculated from:

$present = BbiiSession::model()->present()->count();
$members = BbiiMember::model()->present()->count();


$present should always be greater or equal to $members.

In the function beforeControllerAction() of the script BbiiModule.php the bbii_session record is inserted or last_visit is updated.

My guess is that something goes wrong there. Maybe an MySQL authorisation issue on the table bbii_session?


After a little of fiddling around I couldn't figure it out. Although my website required a user account to see the forum. So i just edited out the guest part in the footer. Thanks for the quick reply.
0

#20 User is offline   Odin87 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 19-May 14

Posted 05 June 2014 - 07:23 AM

Hi,
I just want to congratulate the Author/s of this plugin ,I am integrating it into a support site for my company and it works well.

I had some minor troubles integrating kcfinder for image uploads ,however that has been sorted.


I cannot think of many feature requests ,however it would be nice if forum categories could minimize/maximize on title select.


Once again however this is a great plugin ,thank you very much.
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • 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