The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have writen my own modification in vbulletin 4.1.3 and It's have an error
My Language setting: Decimal Separator: . Thousands Separator: , Example error: My number: PHP Code:
PHP Code:
But if I use number format in template: Code:
{vb:number {vb:raw mynumber}} What is the problem? Is It a bug of vbulletin?? Sorry, I can't post new issua in tracker.vbulletin.com |
#2
|
|||
|
|||
![]()
Same problem
|
#3
|
||||
|
||||
![]()
This:
Code:
$formated = vb_number_format($mynumber); Should be this if you are using the mynumber in the template. Code:
$mynumber = vb_number_format($mynumber); And make sure you pre-register the mynumber variable for the template you want to use it in. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|