Ultimate Points Extension
-
- Users
- Posts: 4
- Joined: 03 Mar 2024, 11:09
Re: Ultimate Points Extension
Great extension. Right now trying out on localhost and works perfectly on version 3.3.11.
I have a question : How do I hide THE RICHEST BANKER in user's Points control panel under Bank Name option ?
I have a question : How do I hide THE RICHEST BANKER in user's Points control panel under Bank Name option ?
-
- Users
- Posts: 4
- Joined: 03 Mar 2024, 11:09
Re: Ultimate Points Extension
Another question : how do you hide bank name balance on user profile shown on forum topics ?
-
- New user
- Posts: 1
- Joined: 27 Mar 2024, 11:10
Re: Ultimate Points Extension
is it possible for a user to pay (points) to join a group? autogroup accept the user automatically when you reach a certain number of points, but the points will remain, I would like users to be able to pay for a group .. so that I can set which groups and which points in acp
I hope you understand what I mean, sorry for my english
I hope you understand what I mean, sorry for my english
-
- Users
- Posts: 4
- Joined: 15 Apr 2023, 20:22
Re: Ultimate Points Extension
Dear users, in case you desire to have the GLOBAL TOTAL NUMBER OF POINTS IN HAND HELD BY your members, use the following code:
Open: .../points_main.php
Find: // Generate richest users
Add Before:
Find: 'POINTS_MOST_RICH_USERS' => sprintf($this->user->lang['POINTS_MOST_RICH_USERS'], $points_values['number_show_top_points']),
Add After (New line):
And finally, in your html template, you can insert {{ TOTAL_USERS_POINTS }} anywhere to display the global total points in hand.
Cheers.
Open: .../points_main.php
Find: // Generate richest users
Add Before:
Code: Select all
// Generate total users points - CUSTOM
$sql_array = [
'SELECT' => 'SUM(user_points) AS total_users_points',
'FROM' => [
USERS_TABLE => 'u',
],
'WHERE' => 'user_points > 0',
];
$sql = $this->db->sql_build_query('SELECT', $sql_array);
$result = $this->db->sql_query_limit($sql, $limit);
$total_users_points = (int) $this->db->sql_fetchfield('total_users_points');
$this->db->sql_freeresult($result);
Find: 'POINTS_MOST_RICH_USERS' => sprintf($this->user->lang['POINTS_MOST_RICH_USERS'], $points_values['number_show_top_points']),
Add After (New line):
Code: Select all
'TOTAL_USERS_POINTS' => sprintf($this->functions_points->number_format_points($total_users_points)),
Cheers.
-
- Users
- Posts: 4
- Joined: 15 Apr 2023, 20:22
Re: Ultimate Points Extension
SOLVED"miri4ever wrote: 18 Jul 2021, 23:12Those changes seems first to be working fine and all the display was correct and working. But now we reset everything and needed to open new bank accounts. And with the orginal 1.26 Version all is fine if we overlook this wrong display of money inside the bank. But if those modifications inside it's not possbiel to open new Bank Accounts.picaron wrote: 22 Apr 2021, 03:11 Hello, there are several errors that prevent users from viewing the bank balance.
/core/points_bank.php (Lines 211 and 212)Fixed by replacing withCode: 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)Fixed by replacing withCode: 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)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']),
![]()
![]()
I just got a ! display if wanted to open new accountsa and nothing is done. I could reproduce this error on two boards and with the original files all was working normal.
Do not do the edit for line 274. Not necessary. It is whats blocking account creation.
Ignore or undo this edit:
You will be able to create new bank accounts while still displaying bank balances./core/points_bank.php (Lines 274)
CODE: SELECT ALL
$holding = (is_array($row) && $row['holding']);
Fixed by replacing with
CODE: SELECT ALL
$holding = (is_array($row) && $row['holding']) ? $row['holding'] : 0;
Cheers
-
- Users
- Posts: 20
- Joined: 17 Sep 2019, 19:10
Re: Ultimate Points Extension
I'm updating this message a little, and I'm taking advantage of it because I have another problem and it may be related to permissions, administrators lose points when they post in all the forums, but not membersfastgil.com wrote: 01 Mar 2024, 16:16 Good morning,
I have the points that are taken away from all forum administrators instead of giving them.
For members it works correctly.
But in my ACP even if I have the Fr language file, it appears like this, see below
edit
I corrected the bug of the points which are withdrawn from the administrators, it was a bad configuration because of the misunderstanding of the forum ACP file
Paramètres généraux du forum
FORUM_POINT_SETTINGS
FORUM_POINT_SETTINGS_EXPLAIN
FORUM_PERTOPIC :
FORUM_PERTOPIC_EXPLAIN
FORUM_PERPOST :
FORUM_PERPOST_EXPLAIN
FORUM_PEREDIT :
FORUM_PEREDIT_EXPLAIN
FORUM_COST :
FORUM_COST_EXPLAIN
FORUM_COST_TOPIC :
FORUM_COST_TOPIC_EXPLAIN
FORUM_COST_POST :
FORUM_COST_POST_EXPLAIN
Thank you for your help
forum phpbb 3.3.11
extension 1.2.7
Thanks for your help
-
- Users
- Posts: 20
- Joined: 17 Sep 2019, 19:10
Re: Ultimate Points Extension
Thank you so much

if you can also tell me, why do administrators lose points when they post a message?
Thanks again to you
-
- Translators
- Posts: 115
- Joined: 08 Dec 2014, 10:27
Re: Ultimate Points Extension
it depends on your configration in the acp
-
- Users
- Posts: 12
- Joined: 14 Jan 2018, 10:25
Re: Ultimate Points Extension
Quick question about a setting
Chance to win the Jackpot:
Here you can set the percentage to win the Jackpot. (the higher the value, the bigger the chance to win)
Does this setting mean a user has 50% of winning the base jackpot and 50% of winning the big jackpot based on ticket purchases? If I want to user to win the collective jackpot based on ticket purchases, do I need to set it to 100%? I am not sure if this setting is implying to bonus points higher than the big jackpot.
Chance to win the Jackpot:
Here you can set the percentage to win the Jackpot. (the higher the value, the bigger the chance to win)
Does this setting mean a user has 50% of winning the base jackpot and 50% of winning the big jackpot based on ticket purchases? If I want to user to win the collective jackpot based on ticket purchases, do I need to set it to 100%? I am not sure if this setting is implying to bonus points higher than the big jackpot.
-
- Users
- Posts: 13
- Joined: 24 May 2020, 21:00
Re: Ultimate Points Extension
There's only one jackpot, and the setting is as it says: The higher the percentage, the more likely any one user who purchases at least one ticket will be chosen as the jackpot winner for that round! If set to 100%, every single round will have a jackpot winner! As far as I can tell, buying more than one ticket DOES NOT increase a user's chance of winning! Ticket purchases ONLY add the amount of points spent on those tickets to the progressive jackpot, and give the purchaser a chance of winning the jackpot for the current round, nothing more!
-
- New user
- Posts: 3
- Joined: 04 Nov 2023, 13:44
Re: Ultimate Points Extension
Hello all,
Is there a way to display donation/distribution of points by a user to the post author on the bottom of that post? Assuming the donation/distribution is initiated by clicking on the "Donate" button below the author's profile while viewing the post?
Thanks.
Is there a way to display donation/distribution of points by a user to the post author on the bottom of that post? Assuming the donation/distribution is initiated by clicking on the "Donate" button below the author's profile while viewing the post?
Thanks.
-
- Users
- Posts: 19
- Joined: 07 Jul 2024, 17:08
Re: Ultimate Points Extension
Installed this but I noticed that When one creates a Bank.
The BANK statistics button in the UCP makes that specific PAGE crash.
This is the path that crashes
If you don't create a bank that Bank Option for statistics page works which I am guessing is because there's still no data to try and load.
SORT OF TEMP FIX encase others have same issue. So far only thing I could do was to HIDE the BANK MODULE from displaying in the Users UCP that way they never get the change to Press the Button. This way the BANK still stays enabled.
Path ACP>>SYSTEM>>MODULE MANAGEMENT>> USER CONTROL PANEL
Find the ULTIMATE POINTS module and CLICK IT and you will get this

Next click the GEAR ICON to get to this page

Change this to NO

Now users should no longer have the Button in there UCP settings TAB

The BANK statistics button in the UCP makes that specific PAGE crash.
This is the path that crashes
Code: Select all
ucp.php?i=-dmzx-ultimatepoints-ucp-ucp_ultimatepoints_module&mode=bank
SORT OF TEMP FIX encase others have same issue. So far only thing I could do was to HIDE the BANK MODULE from displaying in the Users UCP that way they never get the change to Press the Button. This way the BANK still stays enabled.
Path ACP>>SYSTEM>>MODULE MANAGEMENT>> USER CONTROL PANEL
Find the ULTIMATE POINTS module and CLICK IT and you will get this

Next click the GEAR ICON to get to this page

Change this to NO

Now users should no longer have the Button in there UCP settings TAB
