vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Number formatting (https://vborg.vbsupport.ru/showthread.php?t=198997)

scarex80 12-16-2008 09:45 AM

Number formatting
 
I've upgraded forum from 3.6.8 to 3.7.4 but I noted that a bug still survives.

vb_number_format of a number > 999 results in in truncation, so vb_number_format(1024) result is 1. As the forum is Italian, thousand separator is the point, not comma.

Someone knows if there's a solution which does not consist in editing code file?

Lynne 12-16-2008 02:32 PM

Have you posted this as a bug over on vb.com?

scarex80 12-17-2008 04:11 PM

I'm still not abilitated to post there. I'm waiting for my admin to solve the problem.

For the momento I solved with a plugin which rewrite the variable not using the formatting function.

Lynne 12-17-2008 04:28 PM

If you are able to post here, you should be able to post there. Make sure your email address there is the exact same one your are using here.


All times are GMT. The time now is 08:01 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.01166 seconds
  • Memory Usage 1,705KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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