[MODDB] Ultimate Points 1.0.6

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
Locked
User avatar
SAFFLEUR
Registered User
Posts: 323
Joined: Thu Nov 24, 2005 5:56 am
Location: Lenoir NC
Contact:

Re: [RC] Ultimate Points 1.0.1

Post by SAFFLEUR »

CJ1985 wrote:I'm really looking forward to this. :)

Now another question, and first of all thanks for answering my first question. My second question is, will there be a store or anything like that added like with stuff such as name color change, and stuff like that. Hope that makes sense.
I believe Adrian is working on making his Shop MOD work with Ultimate Points.
User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] Ultimate Points 1.0.1

Post by katib »

Hi all
This is a rich featured Mod !!
but I have some stupid questions:
- what is the utility of the points users are collecting ?
- does this Mod allows us to define groups based on total points a users has ?
- does this Mod allows us to make some forums or some extrat hpbb3 functionality only available to some users with a difined points amount ?

Thanks
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: [RC] Ultimate Points 1.0.1

Post by femu »

katib wrote:Hi all
This is a rich featured Mod !!
but I have some stupid questions:
- what is the utility of the points users are collecting ?
- does this Mod allows us to define groups based on total points a users has ?
- does this Mod allows us to make some forums or some extrat hpbb3 functionality only available to some users with a difined points amount ?

Thanks
Hi,

no. It's not planned to make it group based from our side. But anyone is free to use the Ultimate Points to create an addon, which will allow such a thing. So your wish is more like an addon using the points a user might have and then doing something based on the points, like setting groups or whatelse.

regards,
femu
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]
Mircea007
Registered User
Posts: 74
Joined: Mon Jun 15, 2009 9:24 pm

Re: [RC] Ultimate Points 1.0.1

Post by Mircea007 »

Great mod
www.flashjunkies.com/rehab is a proud owner of this mod

hopefully there would be a store feature added to it or something

and a question how do you change how it says points on top to whatever you want...you can change how its called but the little Points on the index doesnt change


thank you
Flash Games like you never seen before
NathanFtw
Registered User
Posts: 247
Joined: Mon Jun 15, 2009 7:59 am

Re: [RC] Ultimate Points 1.0.1

Post by NathanFtw »

femu wrote:
NathanFtw wrote:Installed like a breeze, all features work! The only thing i had to do was change a few language edits and some code edits for my style, other than that this mod is great thanks alot!

Edit: Oh just one thing, how do i remove the decimals from all the currencies for example in the lottery, robbery etc.
As a lot of people requested this, we added the decimals ;)

Open includes/points/functions_points.php and look for:

Code: Select all

/**
* Preformat numbers
*/
function number_format_points($num)
{
	global $user;

		$decimals = 2;
	return number_format($num, $decimals, $user->lang['POINTS_SEPARATOR_DECIMAL'], $user->lang['POINTS_SEPARATOR_THOUSANDS']);
}
Change there the value for $decimals to 0. That should do the job. But be aware ... in the background the calculations are still done with decimals. So the displayed values may not tell the trouth :mrgreen:
They still show up with decimals :(. It also shows the thousands separator example: (500,000) if a user has say 50 cash example: (50,00) how can i make it so that no decimals or thousand seperator is shown (,) for example a user has 50 points and another has 4950 points how can i make it so it shows up like that without decimals and the thousand's separator? Thanks :D.
Mircea007
Registered User
Posts: 74
Joined: Mon Jun 15, 2009 9:24 pm

Re: [RC] Ultimate Points 1.0.1

Post by Mircea007 »

any shop mod that works with this ?
Flash Games like you never seen before
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: [RC] Ultimate Points 1.0.1

Post by femu »

NathanFtw wrote:They still show up with decimals :(.
Sure? I'm pretty sure, we handle every occurance with this function ....
NathanFtw wrote:It also shows the thousands separator example: (500,000) if a user has say 50 cash example: (50,00) how can i make it so that no decimals or thousand seperator is shown (,) for example a user has 50 points and another has 4950 points how can i make it so it shows up like that without decimals and the thousand's separator? Thanks :D.
Try:

Code: Select all

/**
* Preformat numbers
*/
function number_format_points($num)
{
	global $user;

		$decimals = 2;
	return number_format($num, $decimals, $user->lang['POINTS_SEPARATOR_DECIMAL'], $user->lang['POINTS_SEPARATOR_THOUSANDS']);
}
replacing with:

Code: Select all

/**
* Preformat numbers
*/
/*
function number_format_points($num)
{
	global $user;

		$decimals = 2;
	return number_format($num, $decimals, $user->lang['POINTS_SEPARATOR_DECIMAL'], $user->lang['POINTS_SEPARATOR_THOUSANDS']);
}
*/
function number_format_points($num)
{
	global $user;

	return number_format($num, 0, '', '');
}
regards,
femu
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: [RC] Ultimate Points 1.0.1

Post by femu »

Mircea007 wrote:any shop mod that works with this ?
As soon as Adrian is ready with his Shop Mod ;) He planned to integrate UPS too. Just check here the announcement.

regards,
femu
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]
NathanFtw
Registered User
Posts: 247
Joined: Mon Jun 15, 2009 7:59 am

Re: [RC] Ultimate Points 1.0.1

Post by NathanFtw »

It changes it on the homepage under most rich user and in the profile views but not in the nav bar and view topic views, and the points CP shows as "cash on hand: 50,00" (just an example). Any solution? :D.

Edit: I also found another problem im going to have, there's no option to set points per topic and post only characters, i would need per topic and post not characters :S.

Sorry for being a pain.
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: [RC] Ultimate Points 1.0.1

Post by femu »

You set the per topic and per post points in the forum tab in the ACP. Individual for each forum!

For the rest, download the new version. I think there it should work too, with the number_format.
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: [RC] Ultimate Points 1.0.2

Post by femu »

Update to 1.0.2

Changelog:
  • [NEW] Points are now deleted from the user account, if the post or topic is deleted by the user
  • [NEW] You can now set the max percentage of the robbed users cash, which can be robbed at once
  • [NEW] You can now set an user id in the lottery settings, to define who is sending the PM to the lucky winner
  • [NEW] MOD version check from Handyman is supported
  • [FIX] Display of the mod author information was not possible
  • [FIX] German translation in mod authors information was missing
  • [FIX] Comment field in transfer parts are now UTF-8 compatible. Thanks to Dr.Death!
  • [FIX] Edit of polls and attachment were counted again
  • [FIX] The PMs in Lottery and Robbery are now sent in the receivers language
  • [CHG] Changed the display of points link in overall_header
  • [CHG] Users which won't receive PMs, now don't get any PMs from the Ultimate Points
  • [CHG] Users, which are not allowed PNs are now not allowed to fill the comment filed in the transfer option. But the users which receive the points will still get a PM
Download see first post.

Have fun!
femu & Wuerzi
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]
NathanFtw
Registered User
Posts: 247
Joined: Mon Jun 15, 2009 7:59 am

Re: [RC] Ultimate Points 1.0.2

Post by NathanFtw »

So do we just edit the files again and upload the files included replacing the old 1.0.1 ones? No SQL changes required?
User avatar
SAFFLEUR
Registered User
Posts: 323
Joined: Thu Nov 24, 2005 5:56 am
Location: Lenoir NC
Contact:

Re: [RC] Ultimate Points 1.0.2

Post by SAFFLEUR »

NathanFtw wrote:So do we just edit the files again and upload the files included replacing the old 1.0.1 ones? No SQL changes required?
Follow the update in the contrib folder.

ultimate_points_1.0.2\contrib\Update_1.0.1_to_1.0.2
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: [RC] Ultimate Points 1.0.2

Post by femu »

And run install_ultimate_points.php from your web browser. As the update instructions says ;)

regards,
femu
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]
mutank
Registered User
Posts: 158
Joined: Mon Jan 05, 2009 4:47 pm
Location: Toronto, ON
Name: Dominic Struczynski
Contact:

Re: [RC] Ultimate Points 1.0.2

Post by mutank »

Should I delete the install_ultimate_points.php after everything is installed and working?

Also, how do you change how many credits someone gets when they post normally?

Example: For Enable points per topic:

and

Enable points per post:
Locked

Return to “[3.0.x] MODs in Development”