3.2 & 3.3 Extensions Database 3.2 / 3.3 ⇒ Ultimate Points Extension
-
SupplyNDemand
- Users

- Posts: 2
- Joined: 9 years ago
Re: Ultimate Points Extension
Its def worth the wait thanks for the reply
-
simplejiro
- Users

- Posts: 7
- Joined: 9 years ago
Re: Ultimate Points Extension
Hi, possible to remove the .00 for the points? I prefer to show it as 10 points instead of 10.00 points.
-
v1rtu0so
- Users

- Posts: 15
- Joined: 10 years ago
Re: Ultimate Points Extension
Hey dmzx, you had helped me on the previous version of phpbb and extension 3.1.x of this mod. I am hoping I might get your help once more. I am looking to add a couple of custom user fields to my points_list.html. I would also like to directly modify the users coin balances from within this list as well. Here are snippets of the old code you helped me with
controller/userlist.php
styles/.../template/points/points_list.html
I would love to get this working again. I have the custom user fields in my ACP both set as text fields with the names/ids of: ark_ingamename and ark_specimenid
Thank you so much!
controller/userlist.php
Code: Select all
$sql = 'SELECT *
FROM ' . USERS_TABLE . '
WHERE user_points > 0
ORDER BY user_points DESC';
$result = $this->db->sql_query_limit($sql, $limit, $start);
while ($row = $this->db->sql_fetchrow($result))
{
$grab = $phpbb_container->get('profilefields.manager');
$profile_fields = $grab->grab_profile_fields_data($row['user_id']);
$ark_name = $profile_fields[$row['user_id']]['ark_ingamename']['value'];
$ark_id = $profile_fields[$row['user_id']]['ark_specimenid']['value'];
$this->template->assign_block_vars('ultimatelist', array(
'USERNAME' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']),
'AVATAR' => phpbb_get_user_avatar($row),
'POINT' => sprintf($this->functions_points->number_format_points($row['user_points'])),
'U_ARK_NAME' => $ark_name ? $ark_name : false,
'U_ARK_ID' => $ark_id ? $ark_id : false,
'L_DONATE' => ($auth->acl_get('a_') || $auth->acl_get('m_chg_points')) ? sprintf($this->user->lang['POINTS_DONATE']) : '',
'U_POINTS_DONATE' => ($auth->acl_get('a_') || $auth->acl_get('m_chg_points')) ? $this->helper->route('dmzx_ultimatepoints_controller', array('mode' => 'transfer', 'i' => $row['user_id'], 'adm_points' => '1')) : '',
'L_MOD_USER_POINTS' => ($auth->acl_get('a_') || $auth->acl_get('m_chg_points')) ? sprintf($this->user->lang['POINTS_MODIFY']) : '',
'U_POINTS_MODIFY' => ($auth->acl_get('a_') || $auth->acl_get('m_chg_points')) ? $this->helper->route('dmzx_ultimatepoints_controller', array('mode' => 'points_edit', 'user_id' => $row['user_id'], 'adm_points' => '1')) : '',
)
);
}
Code: Select all
<div class="forumbg forumbg-table">
<div class="inner">
<table class="table2">
<thead>
<tr>
<th class="name">{L_USERNAME}</th>
<th class="joined">{L_COIN_BALANCE}</th>
<th class="joined">{L_ARK_NAME}</th>
<th class="joined">{L_ARK_ID}</th>
<!-- IF MODIFY --><th class="joined">modify</th><!-- ENDIF -->
</tr>
</thead>
<tbody>
<!-- BEGIN ultimatelist -->
<tr class="<!-- IF ultimatelist.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
<td><!-- Comment out Avatar
<div class="rich-user-avatar">
<!-- IF ultimatelist.AVATAR -->{ultimatelist.AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" width="60px;" height="60px;" alt="" /><!-- ENDIF -->
</div> -->
<b>{ultimatelist.USERNAME}</b>
</td>
<td>{ultimatelist.POINT}</td>
<td>{ultimatelist.U_ARK_NAME}</td>
<td>{ultimatelist.U_ARK_ID}</td>
<!-- IF MODIFY --><td><a href="{ultimatelist.U_POINTS_DONATE}" style="font-size:0.875em; font-weight:500;">{ultimatelist.L_DONATE}</a> <a href="{ultimatelist.U_POINTS_MODIFY}" style="font-size:0.875em; font-weight:500;">{ultimatelist.L_MOD_USER_POINTS}</a></td><!-- ENDIF -->
</tr>
<!-- BEGINELSE -->
<tr class="bg1">
<td colspan="4">{L_POINTS_LIST_NO_USER}</td>
</tr>
<!-- END ultimatelist -->
</tbody>
</table>
</div>
</div>
Thank you so much!
-
JustAlpha
- Users

- Posts: 1
- Joined: 9 years ago
Re: Ultimate Points Extension
Hey, is it Possible to Change the Language of this extension?
-
martin
- Admin

- Posts: 5138
- Joined: 12 years ago
Re: Ultimate Points Extension
Create a new lang file in the lang you need and it should detect it within your browser.
(hate this ext
)
(hate this ext

-
Vito875
- Users

- Posts: 3
- Joined: 9 years ago
Re: Ultimate Points Extension
Hi, first sorry for my really bad english!
I´ve have found a bug in this extension.
In my forum, guests can create and reply to posts.
If a guest writes something and the extension is activated, the group "Anonymous" gets some points.
I´ve have found a bug in this extension.
In my forum, guests can create and reply to posts.
If a guest writes something and the extension is activated, the group "Anonymous" gets some points.
-
martin
- Admin

- Posts: 5138
- Joined: 12 years ago
Re: Ultimate Points Extension
Disallow guests in the points ext settings.
-
martin
- Admin

- Posts: 5138
- Joined: 12 years ago
Re: Ultimate Points Extension
I shall install it and take a look at i cant read the images you have posted.
Your right guests are involved in the points system i'l see if there is a simple and fast fix like kill the user id 1.
Your right guests are involved in the points system i'l see if there is a simple and fast fix like kill the user id 1.
-
AHartenheer
Re: Ultimate Points Extension
Vreemd, ik wil het op mijn testforum om het uit te proberen.
Heb geïnstalleerd met ftp zoals het geschreven staan.
Maar zie het nog steeds niet
Strange, I want it on my test forum to try it out.
Have installed with ftp as it is written.
But still do not see it
Heb geïnstalleerd met ftp zoals het geschreven staan.
Maar zie het nog steeds niet
Strange, I want it on my test forum to try it out.
Have installed with ftp as it is written.
But still do not see it
-
Solidjeuh
- Users

- Posts: 348
- Joined: 11 years ago
Re: Ultimate Points Extension
heb je de juiste map structuur?Hartenheer wrote: 9 years ago Vreemd, ik wil het op mijn testforum om het uit te proberen.
Heb geïnstalleerd met ftp zoals het geschreven staan.
Maar zie het nog steeds niet
Strange, I want it on my test forum to try it out.
Have installed with ftp as it is written.
But still do not see it
/ext/dmzx/ultimatepoints
Forum voor NL Extensie vertalingen ---> https://www.supportforum.be
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-
AHartenheer
Re: Ultimate Points Extension
Ja, ik snap echt niet wat ik fout doe.Solidjeuh wrote: 9 years agoheb je de juiste map structuur?Hartenheer wrote: 9 years ago Vreemd, ik wil het op mijn testforum om het uit te proberen.
Heb geïnstalleerd met ftp zoals het geschreven staan.
Maar zie het nog steeds niet
Strange, I want it on my test forum to try it out.
Have installed with ftp as it is written.
But still do not see it
/ext/dmzx/ultimatepoints
Heb het nog eens opnieuw gebrobeert, maa helaas zie ik het niet verschijnen.

-
Solidjeuh
- Users

- Posts: 348
- Joined: 11 years ago
Re: Ultimate Points Extension
En ben je zeker dat alles goed geupload is?
Are you sure everything is uploaded correctly?
[ Post made via Android ]
Are you sure everything is uploaded correctly?
[ Post made via Android ]

-
AHartenheer
Re: Ultimate Points Extension
Het enige in je leven is dat je ooit dood gaat.Solidjeuh wrote: 9 years ago En ben je zeker dat alles goed geupload is?
Are you sure everything is uploaded correctly?
[ Post made via Android ]![]()
Zal het nog een keer opnieuw uploaden van deze site, uitpakken en uploaden.
als het dan nog niet lukt geeft ik het op.
-
AHartenheer
Re: Ultimate Points Extension
Helaas hetzelfde, geen resultaat.Hartenheer wrote: 9 years agoHet enige in je leven is dat je ooit dood gaat.Solidjeuh wrote: 9 years ago En ben je zeker dat alles goed geupload is?
Are you sure everything is uploaded correctly?
[ Post made via Android ]![]()
Zal het nog een keer opnieuw uploaden van deze site, uitpakken en uploaden.
als het dan nog niet lukt geeft ik het op.

