
03-16-2010, 03:05 AM
|
|
|
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Link14716
That has to do with the way reputation is stored in the database (it's an INT which only allows whole numbers). If you want it to accept decimal values like the uCash field can, run this query (adding your table prefix before user if you have one):
[sql] ALTER TABLE user CHANGE reputation reputation DECIMAL(24, 5) NOT NULL DEFAULT '10'[/sql]
I'm not sure what the side effects of doing this are, however. Reputation values might not be "prettied up" everywhere, so you may see people running around with long decimal points at the end of their rep values.
If you want to change it back to vB's default structure for any reason, run this query:
[sql] ALTER TABLE user CHANGE reputation reputation INT(11) NOT NULL DEFAULT '10' [/sql]
|
Hey, it worked!
You freaking rule!
|