Show BitCoin Address Balance with Image from Bitcoinbox.ru


SUBMITTED BY: Guest

DATE: May 20, 2013, 6:36 p.m.

FORMAT: PHP

SIZE: 734 Bytes

HITS: 959

  1. <img src="http://bitcoinbox.ru/display/graph.php?btcaddress=XXXXXXXXXXX"/>
  2. -----xxxxx = your BTC address -----
  3. If you want to display the Balance in Jomsocial 2 Profile:
  4. Edit profile.index.php in folder root/components/com_community/templates/<your template>
  5. ------ADD this on the place you want to display the Balance of the User-----
  6. <img src="http://bitcoinbox.ru/display/graph.php?btcaddress=<?php echo $user->getInfo('BTC'); ?>"/>
  7. ----- Help: -----
  8. <?php echo $user->getInfo('BTC'); ?>
  9. ------This shows the Custom field "BTC" from the users Profile where the user can save his BTC Address (You must add a Field_Code = BTC in your Jomsocial 2 Custom ------Field config.------

comments powered by Disqus