To Revan: You should check this, I think it's a bug:
Firstly, in global_start plugin for Ucash, this line:
$vbulletin->userinfo['points'] = ucash_number_format($vbulletin->userinfo[$vbulletin->options['ucash_pointsfield']], true);
will make $vbulletin->userinfo['points'] become point which has "," , that can't be use to compare in this:
PHP Code:
if ($cost > $vbulletin->userinfo['points'] && $cost > 0) {
If I change to (second param to false)
PHP Code:
$vbulletin->userinfo['points'] = ucash_number_format($vbulletin->userinfo[$vbulletin->options['ucash_pointsfield']], false);
I will not receive the "do not have enough point message" anymore, because that time my point is calculated correctly.
BUT, if I enter the bank, I will get the 30s maximun execution time. On the contrary I set to "true", I can enter the bank but I get the "do not have enough point message".
Could you check that please ?