11
andersa
Re: Bugs in newbb, edit forum
  • 2006/2/14 17:21

  • andersa

  • Just popping in

  • Posts: 45

  • Since: 2004/5/27


I am also confused because a while back it seemed like all modules where being moved to dev.xoops.org, and now it seems some are being moved back?

What is going on? Please decide where the module repository should be.
...

12
bluenova
Re: Bugs in newbb, edit forum

Quote:

andersa wrote:
I am also confused because a while back it seemed like all modules where being moved to dev.xoops.org, and now it seems some are being moved back?

What is going on? Please decide where the module repository should be.

Modules are developed on dev.xoops.org where you can find all versions of a module. The latest stable version is held on sf.net for quick download all over the world. These are accessable through www.xoops.org

As David said a new repository is being developed to make things like which versions of XOOPS a module works with, much clearer.

13
MDB655
Re: Bugs in newbb, edit forum
  • 2006/10/9 10:53

  • MDB655

  • Just popping in

  • Posts: 1

  • Since: 2005/12/14


Quote:

andersa wrote:
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.


So is there no workaround for this then? I have exactly the same problem, using NewBB 2.0 and XOOPS 2.0.13.1. Do I have to change to CBB?

Any suggestions much appreciated...

14
Manik007
Re: Bugs in newbb, edit forum
  • 2006/10/16 12:28

  • Manik007

  • Just popping in

  • Posts: 1

  • Since: 2006/10/16


So far this seems to be working (minimally it brings up the forum and lets me change the moderators):

1. Change the user selection mechanism:

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

should be changed to

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

2. Comment out the addOptionArray call (not needed in 2.2.4.):

$this->addOptionArray($member_handler->getUserList($criteria));

should be changed to

//$this->addOptionArray($member_handler->getUserList($criteria));

I haven't done much testing yet, but it does seem to load the forum and the associated moderator permissions and general access rights so it is a good start if nothing else.

**Update: tested the hell out of it now and yup, it works just fine.

Login

Who's Online

136 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 136


more...

Donat-O-Meter

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

Latest GitHub Commits