1
darkstag
Newbb2 problems Unable to edit forum for permissions
  • 2005/9/23 3:54

  • darkstag

  • Just popping in

  • Posts: 6

  • Since: 2004/6/12


I recently upgraded to newbb2 and even upgraded again to cbb I am getting the same error. Whenever I try to edit a forum to grant appropriate permissions. I get the following debug error

Fatal error: Call to undefined method NewbbFormSelectUser::XoopsFormSelect() in /var/www/html/modules/newbb/class/formselectuser.php on line 34
Notice [PHP]: Constant _MI_TEXT already defined in file modules/newbb/language/english/modinfo.php line 94

Really dont know what to do about this. but no one but I can read the forums because the permissions cant be changed. Please, any help would really be appreciated

2
jdseymour
Re: Newbb2 problems Unable to edit forum for permissions

What version of XOOPS? And what version of CBB did you upgrade too?

Edit: I noticed from a visit to your site you are using XOOPS 2.2x. Make sure that you are using CBB 2.2 as it is the only version compatible with XOOPS 2.2x.

3
darkstag
Re: Newbb2 problems Unable to edit forum for permissions
  • 2005/9/23 6:20

  • darkstag

  • Just popping in

  • Posts: 6

  • Since: 2004/6/12


my apologies that was not correct. i upgraded cbb to version 1.13 and XOOPS is currently at the most recent release candidate. which is 2.2.3 RC1

Thank you so much for your response

Additional. I actually downloaded the 2.2 version but the mod shows 1.3

I will reupload the files to see if it changes

thanks

4
darkstag
Re: Newbb2 problems Unable to edit forum for permissions
  • 2005/9/23 7:06

  • darkstag

  • Just popping in

  • Posts: 6

  • Since: 2004/6/12


Well I guess I will chalk that up to dumb user error. Thank you very much. Its not totally done yet. but That at least allowed me to edit permissions.

Thanks again that was really a great catch

5
jorge
Re: Newbb2 problems Unable to edit forum for permissions
  • 2008/8/22 9:58

  • jorge

  • Just popping in

  • Posts: 23

  • Since: 2004/5/17


If you don't want to update all the module to:
https://xoops.org/modules/repository/singlefile.php?cid=20&lid=1643

You can update only the 'formselectuser.php' file to:
require_once XOOPS_ROOT_PATH . "/class/xoopsform/formselect.php";

class NewbbFormSelectUser extends XoopsFormSelect
{
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));
}
}

Regards!

Login

Who's Online

263 user(s) are online (200 user(s) are browsing Support Forums)


Members: 0


Guests: 263


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