Author Topic: Is posiblre this?  (Read 4015 times)

Offline jesusjesus

Is posiblre this?
« on: December 15, 2007, 08:42:56 am »
How do you leave for the balance of money next to the avatar nickname


Like Karma but with the money from the store



THANKS?

Offline jesusjesus

Re: Is posiblre this?
« Reply #1 on: December 15, 2007, 08:45:12 am »
This is posible?

Nick Jesus
location: UK
SMF ver: SMF 1.1.4
Posts: 661
Credit shop: 452

Offline JMV290

Re: Is posiblre this?
« Reply #2 on: December 15, 2007, 05:01:43 pm »
Yes, it's possible.


I'm not the one who installed the shop, so I'm not sure how to enable it, or if it's on by default. I know that when I tested it on another forum the amounts showed up automatically.

Offline jesusjesus

Re: Is posiblre this?
« Reply #3 on: December 15, 2007, 08:41:02 pm »
please help

Offline JMV290

Re: Is posiblre this?
« Reply #4 on: December 16, 2007, 12:20:11 pm »
Alright, here is a snippet of code from the Display.Template.php file in one of the themes( an edit of SAF Multicolor)
Code: [Select]
  // BEGIN SMFShop MOD New Version Code
echo 'Lüts: ', $message['member']['money'], '<br />
<a href="', $scripturl, '?action=shop;do=invother2;member=', $message['member']['username'], '">[Inventory]</a>
<a href="', $scripturl, '?action=shop;do=sendmoney;member=', $message['member']['username'], '">[Send Lüts]', '</a><br /><br />';
  //END SMFShop code

All you should need is
Code: [Select]
echo 'Lüts: ', $message['member']['money'], '<br />Change "Lüts" to whatever the credits on your forum are called.  We have the section placed right after the karma section.  I'm not sure if there's a way to add it without manually adding the code since I wasn't the one who did the SMF and SMFShop installation.


If it doesn't work, let me know.


Offline jesusjesus

Re: Is posiblre this?
« Reply #5 on: December 19, 2007, 10:36:39 pm »
Thx!!!!

Offline JMV290

Re: Is posiblre this?
« Reply #6 on: December 22, 2007, 12:44:34 pm »