I have the same question as simplejirosimplejiro wrote: 13 May 2017, 16:17 Hi, possible to remove the .00 for the points? I prefer to show it as 10 points instead of 10.00 points.
3.2 & 3.3 Extensions Database 3.2 / 3.3 ⇒ Ultimate Points Extension
-
Joost
- Users

- Posts: 25
- Joined: 20 Feb 2015, 11:21
Re: Ultimate Points Extension
-
Joost
- Users

- Posts: 25
- Joined: 20 Feb 2015, 11:21
Re: Ultimate Points Extension
I have found the solution for this question.simplejiro wrote: 13 May 2017, 16:17 Hi, possible to remove the .00 for the points? I prefer to show it as 10 points instead of 10.00 points.
Go to the folder:
ext/dmzx/ultimatepoints/core
And open the file:
functions_points.php
Search for:
$decimals = 2;
Replace this with:
$decimals = 0;
-
dmzx
- Founder

- Posts: 6491
- Joined: 13 Jan 2014, 21:45
Re: Ultimate Points Extension
First post updated.
-
dmzx
- Founder

- Posts: 6491
- Joined: 13 Jan 2014, 21:45
Re: Ultimate Points Extension
First post updated.
-
Brunchs
- Users

- Posts: 16
- Joined: 30 Jan 2021, 10:57
Re: Ultimate Points Extension
Fatal error: Cannot declare class p_master, because the name is already in use in /home/clients/04bba139eb5e41020ef875068f42a5f4/web/includes/functions_module.php on line 25
When I click on the points I can no longer access the lottery or the robbery at all points what
When I click on the points I can no longer access the lottery or the robbery at all points what
-
picaron
- Users

- Posts: 10
- Joined: 19 Jul 2016, 15:27
Re: Ultimate Points Extension
Hello, there are several errors that prevent users from viewing the bank balance.
/core/points_bank.php (Lines 211 and 212)
Fixed by replacing with
/core/points_bank.php (Lines 274)
Fixed by replacing with
/core/points_main.php (Lines 167)
Fixed by replacing with

/core/points_bank.php (Lines 211 and 212)
Code: Select all
$fees = (is_array($row) && $row['fees']);
$holding = (is_array($row) && $row['holding']);Code: Select all
$fees = (is_array($row) && $row['fees']) ? $row['fees'] : 0;
$holding = (is_array($row) && $row['holding']) ? $row['holding'] : 0;/core/points_bank.php (Lines 274)
Code: Select all
$holding = (is_array($row) && $row['holding']);Code: Select all
$holding = (is_array($row) && $row['holding']) ? $row['holding'] : 0;/core/points_main.php (Lines 167)
Code: Select all
'L_MAIN_BANK_HAVE' => sprintf($this->user->lang['MAIN_BANK_HAVE'], $this->functions_points->number_format_points(is_array($row) && $row['holding']), $this->config['points_name']),Code: Select all
'L_MAIN_BANK_HAVE' => sprintf($this->user->lang['MAIN_BANK_HAVE'], $this->functions_points->number_format_points($row['holding']), $this->config['points_name']),-
Brunchs
- Users

- Posts: 16
- Joined: 30 Jan 2021, 10:57
Re: Ultimate Points Extension
He does not respond to this error 
-
Brunchs
- Users

- Posts: 16
- Joined: 30 Jan 2021, 10:57
Re: Ultimate Points Extension
I had to remove an extension for my part to correct now it's better you must have an extension conflict
-
faroud
- Users

- Posts: 141
- Joined: 11 Jul 2015, 11:08
Re: Ultimate Points Extension
your php version may be too highBrunchs wrote: 22 Apr 2021, 11:42 I had to remove an extension for my part to correct now it's better you must have an extension conflict
set it to 7.4.10
-
NAPWR
- Donator

- Posts: 47
- Joined: 21 May 2017, 14:30
Re: Ultimate Points Extension
Hi DM,
any chance, we can allow Admin to play Lotto, but cannot win lotto
any chance, we can allow Admin to play Lotto, but cannot win lotto
My name is Dave I, and all things are out there, and we are in here 
-
SpIdErPiGgY
- Users

- Posts: 123
- Joined: 04 Feb 2021, 23:54
Re: Ultimate Points Extension
When you set the Interest payment time for the bank setting in ACP on 30 days or more, you see this: Period for payout of interests: 1 Array on the /ultimatepoints?mode=bank page. 29 days shows: 4 weeks 1 Array
Also I see Bank information: 1.00 Coins
That's not correct, I have 125.00 Coins on the bank...
Same at the withdraw function, should be "125.00"

Would you please take a look that?
Also I see Bank information: 1.00 Coins
That's not correct, I have 125.00 Coins on the bank...
Same at the withdraw function, should be "125.00"

Would you please take a look that?
✦ 🌐 phpBB Extensions in Dutch
✦ Free translations, updates, support and practical tutorials for phpBB.
✦ 💚 Support this project on Ko-fi
✦ Free translations, updates, support and practical tutorials for phpBB.
✦ 💚 Support this project on Ko-fi
-
SpIdErPiGgY
- Users

- Posts: 123
- Joined: 04 Feb 2021, 23:54
Re: Ultimate Points Extension
I changed:
Into:
That fixed the "withdraw" issue on /ultimatepoints?mode=bank
Now it just needs to be fixed on /ultimatepoints.
I don't know how to fix it there... seems to be this code: <p>{% for has_bank_account in loops.has_bank_account %}{{ has_bank_account.L_MAIN_BANK_HAVE }}{% endfor %}<p>
Code: Select all
<dd><input type="text" tabindex="3" maxlength="10" class="inputbox autowidth" title="{{ lang('POINTS_NUMBER_FORMAT_EXPLAIN') }}" name="withdraw" size="20" value="{{ USER_WITHDRAW }}" /> {{ POINTS_NAME }}{{ S_FORM_TOKEN }}</dd>Code: Select all
<dd><input type="text" tabindex="3" maxlength="10" class="inputbox autowidth" title="{{ lang('POINTS_NUMBER_FORMAT_EXPLAIN') }}" name="withdraw" size="20" value="{{ BANK_HOLDINGS }}" /> {{ POINTS_NAME }}{{ S_FORM_TOKEN }}</dd>Now it just needs to be fixed on /ultimatepoints.
I don't know how to fix it there... seems to be this code: <p>{% for has_bank_account in loops.has_bank_account %}{{ has_bank_account.L_MAIN_BANK_HAVE }}{% endfor %}<p>
-
picaron
- Users

- Posts: 10
- Joined: 19 Jul 2016, 15:27
Re: Ultimate Points Extension
You need to read here -->>Onnozel Manneke wrote: 05 May 2021, 03:49 When you set the Interest payment time for the bank setting in ACP on 30 days or more, you see this: Period for payout of interests: 1 Array on the /ultimatepoints?mode=bank page. 29 days shows: 4 weeks 1 Array
Also I see Bank information: 1.00 Coins
That's not correct, I have 125.00 Coins on the bank...
Same at the withdraw function, should be "125.00"
Would you please take a look that?
That is, five messages before yours.
-
SpIdErPiGgY
- Users

- Posts: 123
- Joined: 04 Feb 2021, 23:54
Re: Ultimate Points Extension
F*ck I missed that... Thank you Picaron!
Then there is just this:
Then there is just this:
Onnozel Manneke wrote: 05 May 2021, 03:49 When you set the Interest payment time for the bank setting in ACP on 30 days or more, you see this: Period for payout of interests: 1 Array on the /ultimatepoints?mode=bank page. 29 days shows: 4 weeks 1 Array
-
SpIdErPiGgY
- Users

- Posts: 123
- Joined: 04 Feb 2021, 23:54
Re: Ultimate Points Extension
picaron wrote: 22 Apr 2021, 03:11 /core/points_main.php (Lines 167)Fixed by replacing withCode: Select all
'L_MAIN_BANK_HAVE' => sprintf($this->user->lang['MAIN_BANK_HAVE'], $this->functions_points->number_format_points(is_array($row) && $row['holding']), $this->config['points_name']),Code: Select all
'L_MAIN_BANK_HAVE' => sprintf($this->user->lang['MAIN_BANK_HAVE'], $this->functions_points->number_format_points($row['holding']), $this->config['points_name']),
Code: Select all
phpBB Debug] PHP Warning: in file [ROOT]/ext/dmzx/ultimatepoints/core/points_main.php on line 167: Trying to access array offset on value of type bool