5
If you don't want to update all the module to:
https://xoops.org/modules/repository/singlefile.php?cid=20&lid=1643You 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!