vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Decimal Points (https://vborg.vbsupport.ru/showthread.php?t=240016)

NickyNet 04-07-2010 08:40 PM

Decimal Points
 
Hi,

hope some1 can help me in this matter..

in games_scores i see that scores will be saved with decimals:

saw that there is decimal mentioned in lang files and same in the settings table..

Code:

acp_main_decimal_amount    => "Amount of decimal places to show for scores<dfn>Example: 2 places will show as 3.23</dfn>",
Code:

acp_game_decimal    => "Decimal Points?<dfn>Leave at 0 for no decimal points.</dfn>",
but this option is not visible in ACP..

i tried to update games_settings table field "dec_amount" with 2 or more... but this does not have any effect on enduser pages..

any clue, what i'm doing wrong?

using vb 4.0.2 pl4 and ibProArcade v2.7.0+

War.Frog 04-07-2010 09:22 PM

Quote:

Originally Posted by NickyNet (Post 2017622)
Hi,

hope some1 can help me in this matter..

in games_scores i see that scores will be saved with decimals:

saw that there is decimal mentioned in lang files and same in the settings table..

Code:

acp_main_decimal_amount    => "Amount of decimal places to show for scores<dfn>Example: 2 places will show as 3.23</dfn>",
Code:

acp_game_decimal    => "Decimal Points?<dfn>Leave at 0 for no decimal points.</dfn>",
but this option is not visible in ACP..

i tried to update games_settings table field "dec_amount" with 2 or more... but this does not have any effect on enduser pages..

any clue, what i'm doing wrong?

using vb 4.0.2 pl4 and ibProArcade v2.7.0+

You have to change it per game, and can be done in ACP. Go to:

ACP>Arcade>Games List>All

Then click "Edit" on the game(s) you want to change the decimal displays.

NickyNet 04-07-2010 09:34 PM

Quote:

Originally Posted by War.Frog (Post 2017634)
You have to change it per game, and can be done in ACP. Go to:

ACP>Arcade>Games List>All

Then click "Edit" on the game(s) you want to change the decimal displays.

Perfect!

thank you for this!


All times are GMT. The time now is 07:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00958 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete