3.2 & 3.3 Extensions Database 3.2 / 3.3Ultimate Points Extension

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
Previous topicNext topic
User avatar

Hareon
Users
Users
Posts: 4
Joined: 2 years ago
Status: Offline
User theme: Dark
    Windows 10 Chrome

Re: Ultimate Points Extension

Post by Hareon »

This is an awesome feature. I'll try to translate this extension to brazilian portuguese.

I I also gave some ideas for the shop on the extension's github. I would love to see this extension evolve more and more. It's the feature I always wanted in a forum. I hope you continue to develop, I would really appreciate it!

Edit: Will be nice an integration with Profile Flair. So, at shop, we would buy some flairs as Items too.

PS.: I already translated UPE to pt_BR, but I don't know where can I post it.
Last edited by Hareon 2 years ago, edited 1 time in total.

User avatar

Sniper_E
VIP
VIP
Posts: 1164
Joined: 11 years ago
Status: Offline
User theme: Dark
    Windows 10 Firefox

Re: Ultimate Points Extension

Post by Sniper_E »

You post your translation in this topic like this guy did. viewtopic.php?p=18332#p18332
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

Lonson
New user
New user
Posts: 1
Joined: 2 years ago
Status: Offline
User theme: Dark
    Windows 10 Chrome

Re: Ultimate Points Extension

Post by Lonson »

Good afternoon.
Version 1.2.7 on phpbb 3.3.8

My conference requires points to be awarded (for creating a topic and for creating a message) in all topics except one. In it they should be taken away (for creating a topic and for creating a message).

Points are successfully added according to the settings, but are not subtracted according to the same settings.

Can you help me fix it?


Later:

The issue was resolved through the settings in the forum group rights :thumbup:
Last edited by Lonson 2 years ago, edited 1 time in total.

User avatar

Hareon
Users
Users
Posts: 4
Joined: 2 years ago
Status: Offline
User theme: Dark
    Windows 10 Chrome

Re: Ultimate Points Extension

Post by Hareon »

Brazilian Portuguese for the lastest version 1.2.7

When the extension updates, I'll update the translation too.

hareon-ultimate-points-extension-translation-pt-br.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Last edited by Hareon 2 years ago, edited 1 time in total.

User avatar

fastgil.com
Users
Users
Posts: 20
Joined: 6 years ago
Status: Offline
User theme: Dark
    Windows 7 Firefox

Re: Ultimate Points Extension

Post by fastgil.com »

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

User avatar

exemplary
Users
Users
Posts: 4
Joined: 2 years ago
Status: Offline
User theme: Dark
    Windows 8.1 Firefox

Re: Ultimate Points Extension

Post by exemplary »

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 ?

User avatar

exemplary
Users
Users
Posts: 4
Joined: 2 years ago
Status: Offline
User theme: Dark
    Windows 8.1 Firefox

Re: Ultimate Points Extension

Post by exemplary »

Another question : how do you hide bank name balance on user profile shown on forum topics ?

User avatar

schupacek
New user
New user
Posts: 1
Joined: 2 years ago
Status: Offline
User theme: Dark
    Windows 10 Chrome

Re: Ultimate Points Extension

Post by schupacek »

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

User avatar

Azaman
Users
Users
Posts: 4
Joined: 3 years ago
Status: Offline
User theme: Dark
    Windows 10 Chrome

Re: Ultimate Points Extension

Post by Azaman »

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:

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)),
And finally, in your html template, you can insert {{ TOTAL_USERS_POINTS }} anywhere to display the global total points in hand.

Cheers.

User avatar

Azaman
Users
Users
Posts: 4
Joined: 3 years ago
Status: Offline
User theme: Dark
    Windows 10 Chrome

Re: Ultimate Points Extension

Post by Azaman »

miri4ever wrote: 5 years ago
picaron wrote: 5 years ago Hello, there are several errors that prevent users from viewing the bank balance.

/core/points_bank.php (Lines 211 and 212)

Code: Select all

$fees = (is_array($row) && $row['fees']);
$holding = (is_array($row) && $row['holding']);
Fixed by replacing with

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']);
Fixed by replacing with

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']),
Fixed by replacing with

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']),
:beers: :tumbsyes:
Those 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.

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.
SOLVED"

Do not do the edit for line 274. Not necessary. It is whats blocking account creation.

Ignore or undo this edit:
/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;
You will be able to create new bank accounts while still displaying bank balances.

Cheers

User avatar

fastgil.com
Users
Users
Posts: 20
Joined: 6 years ago
Status: Offline
User theme: Dark
    Windows 7 Firefox

Re: Ultimate Points Extension

Post by fastgil.com »

fastgil.com wrote: 2 years ago 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
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 members

Thanks for your help

User avatar

Midway
Translators
Translators
Posts: 115
Joined: 11 years ago
Status: Offline
User theme: Dark
    Windows 10 Firefox

Re: Ultimate Points Extension

Post by Midway »


User avatar

fastgil.com
Users
Users
Posts: 20
Joined: 6 years ago
Status: Offline
User theme: Dark
    Windows 10 Chrome

Re: Ultimate Points Extension

Post by fastgil.com »

Midway wrote: 2 years ago see this topic

viewtopic.php?p=31696#p31696
Thank you so much :buigen:

if you can also tell me, why do administrators lose points when they post a message?
Thanks again to you

User avatar

Midway
Translators
Translators
Posts: 115
Joined: 11 years ago
Status: Offline
User theme: Dark
    Windows 10 Firefox

Re: Ultimate Points Extension

Post by Midway »

It depends on your configration in the acp

User avatar

SpIdErPiGgY
Users
Users
Posts: 123
Joined: 5 years ago
Status: Offline
User theme: Dark
    Windows 10 Firefox

Re: Ultimate Points Extension

Post by SpIdErPiGgY »

🌐 phpBB Extensions in Dutch
✦ Free translations, updates, support and practical tutorials for phpBB.
💚 Support this project on Ko-fi

Previous topicNext topic

Subscribers

User avatar
AI Bot
User avatar
AlvoErrado2
User avatar
Anders
User avatar
artplat17
User avatar
Azaman
User avatar
benchess
User avatar
Bingo
User avatar
Brisco
User avatar
Brunchs
User avatar
capalex65
User avatar
cemorhon
User avatar
cgartfactory
User avatar
CharLee
User avatar
chrisc93
User avatar
Coryu
User avatar
Crajkaro
User avatar
cyberpaul
User avatar
dani50
User avatar
darkz
User avatar
dathwerth
User avatar
Dead Man
User avatar
ditch
User avatar
dmzx
User avatar
Dopply
User avatar
EaglesTruth
User avatar
Emmer
User avatar
Encule
User avatar
eunaumtenhoid
User avatar
exemplary
User avatar
faroud
User avatar
fastgil.com
User avatar
Fredisland
User avatar
g0lang
User avatar
gamestnforum
User avatar
Ghost
User avatar
Gratiano
User avatar
Hareon
User avatar
Herman
User avatar
heyokajan
User avatar
hiriu
User avatar
Hitomi
User avatar
hungnhhn
User avatar
Interesting
User avatar
iosis7613
User avatar
ironside
User avatar
ivailo95
User avatar
jan_2017
User avatar
Joost
User avatar
Josephpo
User avatar
JustAlpha
User avatar
Kakagawa
User avatar
Kami-sama
User avatar
kangeroe
User avatar
kaspir
User avatar
kel
User avatar
Ketchup
User avatar
kikuya
User avatar
killfrenzy
User avatar
LegendPH
User avatar
lenz
User avatar
lgmf
User avatar
lichang422
User avatar
limp8976
User avatar
little
User avatar
Lonson
User avatar
luca17000
User avatar
Maclobster
User avatar
martin
User avatar
mati4458
User avatar
Merlino
User avatar
Micha
User avatar
Midway
User avatar
Mike.RO
User avatar
miri4ever
User avatar
mortalites
User avatar
mulano77
User avatar
muzair
User avatar
Naija
User avatar
NAPWR
User avatar
ninouee
User avatar
nncuong
User avatar
odpro
User avatar
oronzocanà
User avatar
Patitoloko
User avatar
petejb
User avatar
picaron
User avatar
ramboagent
User avatar
ramp
User avatar
Red777
User avatar
redragon
User avatar
Restless Rancor
User avatar
riofriz
User avatar
Robbie626
User avatar
roiebh
User avatar
Rootzilla
User avatar
RTI kartname
User avatar
SalyaDarken
User avatar
schupacek
User avatar
scriptman
User avatar
seacoast
User avatar
shaun clark
User avatar
Shyuan
User avatar
simplejiro
User avatar
skuadsco
User avatar
Sniper_E
User avatar
SpIdErPiGgY
User avatar
spiritatbay
User avatar
ssl
User avatar
Stellarfriend
User avatar
Stine
User avatar
SupplyNDemand
User avatar
Tarantino
User avatar
theia
User avatar
tiboo55
User avatar
tnt
User avatar
umi
User avatar
v1rtu0so
User avatar
Venatus Vinco
User avatar
Vito875
User avatar
Voice4Vision
User avatar
weblord
User avatar
WildestDrake
User avatar
WISHEXEC
User avatar
xMaveeeX
User avatar
xvi
User avatar
Yemmy
User avatar
YoOoster
User avatar
zhangla
User avatar
[Mikk]