MyBB-Plugins Forums

Full Version: Shop Question - show balance.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry if this has been asked before.

I want to be able to have a users balance visible when they are in the shop.

Just a little message that appears on the top of the page when you enter the shop, something like

Welcome "username" you have "points" to spend.
"On top of the page" you mean like when new pm is here, but just on shop or like it's part of shop?
Oh sorry I wasn't very clear there, just on the shop page so you can see what your balance is while/before you shop, I know that items that you cannot buy show with a different colour but it would be nice to be able to see how much of your currency you do have without having to leave the shop page.
I don't think I should need a plugin to do that?
You can probably add it to the language file.

Use {$mycredits} to show the users points, and then just write in a message on the home page Smile
The following code will display points:

{$mypoints} shows them formatted