•  · 3 friends

Credits Module Question

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


💓0 😆0 😲0 😥0 😠0 0
  • 664
  • More
Replies (9)
    • Hello Mmspires !

      You may add the block "All credits" via Studio->Pages->Add block->Credits area to any page.

      💓0 😆0 😲0 😥0 😠0 0
      • thank you

        💓0 😆0 😲0 😥0 😠0 0
        • but I need the current balance total


          💓0 😆0 😲0 😥0 😠0 0
          • there is no "All Credits" in my Studio->Pages->Add Blocks->Credits area

            💓0 😆0 😲0 😥0 😠0 0
            • Hi Mmspires !

              Sorry, but the block with total info doesn't exist. Under "All credits" I meant "Credits" and "All history" blocks - both show stat for the current logged user.

              💓0 😆0 😲0 😥0 😠0 0
              • but none of the blocks show current credit balance, I need to be able to show credit balance like it does on the 'Site Navigation' menu

                💓0 😆0 😲0 😥0 😠0 0
                • This is the part of the account menu and to be placed as block it will require a custom mod.

                  💓0 😆0 😲0 😥0 😠0 0
                  • how can I just show text on a page that gives credit balance total

                    💓0 😆0 😲0 😥0 😠0 0
                    • 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.

                      💓0 😆0 😲0 😥0 😠0 0
                      Not logged in users can't 'Comments Post'.
                      6
                      4
                      Labels:
                      Added:
                      Category:

                      UNA - Network Infrastructure for Communities

                      Close