SMF Shop

SMFShop => Bugs => Topic started by: Joker Grafix on July 03, 2007, 05:56:12 pm

Title: Not Showing Credits
Post by: Joker Grafix on July 03, 2007, 05:56:12 pm
Okay when checking another members profile where it says "Credits" it just shows the word "Tokens" which is what I put in the suffix to show behind the money amount.

Now in the shop itself, and in post it shows how much they have just doesn't show it in the profile. I've looked on other forums that use SMFShop and it indeed shows their credit amount in the profile but not in mine.

Anyway to fix this without uninstalling it?

Thanks in advance.

-Joker
Title: Re: Not Showing Credits
Post by: inkstains on July 31, 2007, 09:52:10 am

In file $themedir/Profile.template.php

Find:

 
            
Code: [Select]
<tr>
<td><b>', $txt[86], ': </b></td>
<td>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</td>



Add after:

 
            
Code: [Select]
<!-- Begin SMFShop MOD New version -->
</tr><tr>
<td><b>Credits:</b></td>
<td>', $modSettings['shopCurrencyPrefix'], $context['member']['money'], $modSettings['shopCurrencySuffix'], '</td>
<!-- End SMFShop MOD -->