MyBB-Plugins Forums
NewPoints 1.9.9 - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.6.x (http://forums.mybb-plugins.com/Forum-MyBB-1-6-x)
+---- Forum: NewPoints (http://forums.mybb-plugins.com/Forum-NewPoints)
+---- Thread: NewPoints 1.9.9 (/Thread-NewPoints-1-9-9)



RE: NewPoints 1.4 - Minnemann - 06-02-2010

I understand you correctly? You mean you can not do uprade beta to final release?


RE: NewPoints 1.4 - Diogo Parrinha - 06-02-2010

@Minnemann yeap you can't

Those who had downloaded already, re-download please and re-upload.
Deactivate Bank 1.1 (1.0 for those who haven't downloaded yet) and Activate it back. (Deactivate is not Uninstall!) Do this to fix the bank issue.


RE: NewPoints 1.4 - Andra┼ż Rihtar - 06-02-2010

(06-02-2010, 02:57 AM)Pirata Nervo Wrote: @Minnemann yeap you can't

Those who had downloaded already, re-download please and re-upload.
Deactivate Bank 1.1 (1.0 for those who haven't downloaded yet) and Activate it back. (Deactivate is not Uninstall!) Do this to fix the bank issue.
Is this procedure necesarry if I don't use Bank system at all, because I've already upgraded Newpoints and I don't even need upgrade for Bank, so basicly I'm asking if this new update is only for the bank? Tongue

Hope you get it xD


RE: NewPoints 1.4 - Diogo Parrinha - 06-02-2010

If you don't have the bank installed you can skip that Smile


RE: NewPoints 1.4 - Seeker - 06-03-2010

Thanks for the new updates PN.


RE: NewPoints 1.4 - Seeker - 06-10-2010

Sorry to bug you, but this issue is important to make Newpoints easier for end-users.
Usability issue:
The bank could use regular expressions on the input form, to strip out the prefix/sufix & commas:

End-user = Copy/paste number -->
$1,499.00
Withdraw = 0

8,500
Withdraw = 8

1,498.00
Withdraw = 1

My$1,998,500.00
Withdraw= 0

1,998,500.00
Withdraw = 1

The proper number formatting is a big improvement, but the commas cause problems if people use them.
Thank you.


RE: NewPoints 1.4 - Diogo Parrinha - 06-10-2010

Using regular expressions would be stupid because commas and points may vary from region to region.
It will stay as it is right now, with round()


Usability is very important - Seeker - 06-11-2010

Usability is very important, sorry you think my effort was stupid. Have a nice day anyway. Smile


RE: NewPoints 1.4 - Diogo Parrinha - 06-11-2010

(06-11-2010, 03:19 AM)Seeker Wrote: Usability is very important, sorry you think my effort was stupid. Have a nice day anyway. Smile

I guess I've explained why in PM


RE: NewPoints 1.4 - Seeker - 06-11-2010

Pirata Nervo Wrote:[quote=Seeker]
Removing every comma and points would make 9,003.005 90003005

Good point, will this help?
((example 'code' version Alpha 0.01))
PHP Code:
switch ($decimal_setting) {
    case 
0 decimals
      
//  ..regex does cool stuff here..
        
echo "Now people can copy / paste the number or type in any format";
        break;
    case 
1 decimal:
      
//  ..regex does more cool stuff here..
        
echo "Now people can copy / paste the number...";
        break;
    case 
2 decimals:
      
//  ..regex ...
        
echo "Now people can still copy / paste the number or type in any format";
        break;
    case 
3 decimals:
      
//  ..regex lives on... 
        
echo "Now more people can copy / paste the number...";
        break;
    case 
4 decimals:
      
//  ..regex lives on still...
        
echo "Now people can copy / paste the number";
        break;
    case 
5 decimals:
        echo 
"5 decimals: What country do you live in!?";
        break;


Regex can fix any possible format
$1,499.00
8,500My$
1,498.0034
My$1,998,500.00
1,998,500.00My$

Maybe you need just two sets of switch statements one for each possible number of places after the decimal (like above)
...and then switch statements for prefix / suffix setting --> adjustments based on that setting

Usability is really important on the Net, and this can be done, IMO.