1
andersa
Bugs in newbb, edit forum
  • 2006/2/12 13:08

  • andersa

  • Just popping in

  • Posts: 45

  • Since: 2004/5/27


It seems there are at least a couple of bugs in newbb2.0.2 when you use the edit forum page on the admin side.

I mentioned this in the newbb2 help forum as well on dev.xoops.org, but no response so far.

First of all I get this error:

Fatal error: Call to undefined function: xoopsformselect() in /home/kms/public_html/modules/newbb/class/formselectuser.php on line 34

I think I have a fix for this though:

Change

$this->XoopsFormSelect($caption, $name, $value, $size, $multiple);

to

$this->XoopsFormSelectUser($caption, $name, $value, $size, $multiple);

in the file that has the error. This reveals further problems though:

Fatal error: Call to undefined function: addoptionarray() in /home/kms/public_html/modules/newbb/class/formselectuser.php on line 47

Which seems to be caused by:
$this->addOptionArray($member_handler->getUserList($criteria));

So I am stuck here for now.
...

2
iHackCode
Re: Bugs in newbb, edit forum

mine seems to be working..

Xoops 2.13.x
Newbb 2.02

My newbb/class/formselectuser.php file has this in it.
include_once XOOPS_ROOT_PATH "/class/xoopsform/formselectuser.php";

class 
NewbbFormSelectUser extends XoopsFormSelectUser
{
    function 
NewbbFormSelectUser($caption$name$start 0$limit 200$value null$include_anon false$size 10$multiple true)
    {
        
$this->XoopsFormSelect($caption$name$value$size$multiple);

        
$criteria = new CriteriaCompo();
        
$criteria->setSort('uname');
        
$criteria->setOrder('ASC');
        
$criteria->setLimit($limit);
        
$criteria->setStart($start);

        
$member_handler = &xoops_gethandler('member');
        if (
$include_anon) {
            global 
$xoopsConfig;
            
$this->addOption(0$xoopsConfig['anonymous']);
        } 
        
$this->addOptionArray($member_handler->getUserList($criteria));
    } 

}
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
andersa
Re: Bugs in newbb, edit forum
  • 2006/2/13 7:22

  • andersa

  • Just popping in

  • Posts: 45

  • Since: 2004/5/27


I think I had that as well.

I am using XOOPS 2.2.4. And I am pretty sure it showed up after I upgraded to 2.2.x.

So.. Does anyone know what changes has happened in XOOPS so that this file will not work with 2.2.x?
...

4
deram
Re: Bugs in newbb, edit forum
  • 2006/2/13 8:38

  • deram

  • Just popping in

  • Posts: 87

  • Since: 2006/2/10


I use 2.0.13.02 and newBB ver. 1.0

and it is absolutely without bugs. (that I have found)

5
andersa
Re: Bugs in newbb, edit forum
  • 2006/2/13 16:37

  • andersa

  • Just popping in

  • Posts: 45

  • Since: 2004/5/27


Yeah. This is a problem with XOOPS 2.2.x and Newbb 2.0.2. Let's focus on those releases.
...

6
Herko
Re: Bugs in newbb, edit forum
  • 2006/2/13 16:43

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


It's simple: in XOOPS 2.2.x the user tables have moved (because of the dynamic profiles), and this makes Newbb 2.0.2 incompatible with XOOPS 2.2.x.

Herko

7
davidl2
Re: Bugs in newbb, edit forum
  • 2006/2/13 16:54

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


You would be better updating to CBB 2.32 which has been coded particularly for 2.2.x

(Don't forget - the usual advise for full backup applies before any updates! )

8
andersa
Re: Bugs in newbb, edit forum
  • 2006/2/14 7:23

  • andersa

  • Just popping in

  • Posts: 45

  • Since: 2004/5/27


There could be some message somewhere on dev.xoops.org that you shouldn't use newbb2 with xoops2.2.x.

That could have spared me some time..
...

9
Dave_L
Re: Bugs in newbb, edit forum
  • 2006/2/14 10:30

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


You're right. It would be nice if the XOOPS core / module compatibility information were published in a central place. I rely on searching posts to determine that. Development of NewBB 2 stopped quite a while ago, before XOOPS 2.2 was released. CBB is considered to be NewBB's replacement.

10
davidl2
Re: Bugs in newbb, edit forum
  • 2006/2/14 10:33

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


I believe that for modules on the main XOOPS site, this will come in the not-so-distant future.

Login

Who's Online

438 user(s) are online (375 user(s) are browsing Support Forums)


Members: 0


Guests: 438


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits