SOS !!! About visitors panel

JingChen

Member
Registered
Joined
Feb 23, 2020
Messages
14
Points
13

Reputation:

I'd like to ask how I can add the DB currency variable in the visitors panel. I'm not sure what the variable is.

  • How can I put DB wallet variables into the visitor panel
 
Last edited:

JingChen

Member
Registered
Joined
Feb 23, 2020
Messages
14
Points
13

Reputation:

1630495200429.jpg
 

Soft4Win

Developer
Staff member
Moderator
Collaborate
Registered
Joined
Apr 27, 2019
Messages
370
Points
103

Reputation:

Try this :- $xf.visitor.dbtech_credits_credits

If you have multiple currencies, you can find the column name in admin panel , and replace the dbtech_credits_credits with that column name.

dbtech credits.png
 

JingChen

Member
Registered
Joined
Feb 23, 2020
Messages
14
Points
13

Reputation:

1630595981249.png
I want to get rid of the decimal point. I tried a lot of things. Can you help me
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

View attachment 25424 I want to get rid of the decimal point. I tried a lot of things. Can you help me
JingChenYou can use a filter: {$var|number} or {$var|number_short}.

Alternatively, you can use a function: {{ number($var) }} or {{ number_short($var) }}

$var should be changed to the variable name you have used.
 
Top