I am using the credits module, on the dashboard menu it show total number of credits the user has. How can I get that to show the total number of credits in other places of the site. What code do I need to use when making other menus that will also show number of credits
- 895
-
This is the part of the account menu and to be placed as block it will require a custom mod.
-
- · Mmspires
-
·
In reply to LeonidS
- ·
how can I just show text on a page that gives credit balance total
-
-
·
LeonidS
- ·
You need to have a custom mod drawing the block with the following service call code:
BxDolService::call('bx_credits', 'get_profile_balance');
and then add this block to your page.
-
·
LeonidS
When you stroll my site profiles the profile shows 2 times..
- 869
-
-
- · Mmspires
-
·
In reply to LeonidS
- ·
Version 11
13 members
if you look at this profile and scroll down you will see that while scrolling you see the profile twice
findfriends (.) me/ mike
Ninja
Total points: 359
You can use this sample code: