2
What version of XOOPS and PHP do you use? This should had nothing to do with NewBB, but more with XOOPS. I would suggest to download the latest
XOOPS Code and the
NewBB 5.1 Beta 5 and have a fresh installation. I suspect, it has something to do with your local language file. The class XoopsLocalAbstract is located in /class/xoopslocal.php, and is being called in /language/english/locale.php
if (!class_exists('XoopsLocalAbstract')) {
include_once XOOPS_ROOT_PATH . '/class/xoopslocal.php';
}
/**
* A Xoops Local
*
* @package kernel
* @subpackage Language
*
* @author Taiwen Jiang
* @copyright (c) 2000-2016 XOOPS Project (http://www.xoops.org)
*/
class XoopsLocal extends XoopsLocalAbstract
{
/**
* Number Formats
*
* @param unknown_type $number
* @return mixed
*/
public function number_format($number)
{
return number_format($number, 2, '.', ',');
}
/**
* Money Format
*
* @param string $format
* @param string $number
* @return money format
*/
public function money_format($format, $number)
{
setlocale(LC_MONETARY, 'en_US');
return money_format($format, $number);
}
}
Once you download the latest XOOPS code, you might compare your /language/spanish/locale.php to the /language/english/locale.php and see if there is any difference.