Mmspires

  •  ·  Standard
  • 725 views
Add new...
 
 
·
Added a discussion

I am new to developing in una and would like some help finding where I can find the code variables for me to be able to get logged in users name, age etc. in code

  • 793
    • You can use this sample code:

      $oProfile = BxDolProfile::getInstance();
      $o = BxDolContentInfo::getObjectInstance($oProfile->getModule());
      print_r($o->getContentInfo($oProfile->getContentId()));


      Not logged in users can't 'Comments Post'.
      ·
      Added a discussion

      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


      • 782
        Not logged in users can't 'Comments Post'.
        ·
        Added a discussion

        When you stroll my site profiles the profile shows 2 times..  



        • 751
          Not logged in users can't 'Comments Post'.
          Mmspires Discussions
          Achievements

          Ninja

          Total points: 359

          91.1 point(s) to reach
          Info
          Location:
          Lancaster, OH, United States
          Gender:
          Man
          Friends count:
          Followers count:
          Name:
          Mmspires
          Membership
          Standard