MyBB-Plugins Forums
Shop Question - show balance. - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.6.x (http://forums.mybb-plugins.com/Forum-MyBB-1-6-x)
+---- Forum: NewPoints (http://forums.mybb-plugins.com/Forum-NewPoints)
+---- Thread: Shop Question - show balance. (/Thread-Shop-Question-show-balance)



Shop Question - show balance. - Bangles_AU - 07-07-2014

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.


RE: Shop Question - show balance. - Ikerepc - 07-07-2014

"On top of the page" you mean like when new pm is here, but just on shop or like it's part of shop?


RE: Shop Question - show balance. - Bangles_AU - 07-07-2014

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.


RE: Shop Question - show balance. - Bangles_AU - 07-09-2014

I don't think I should need a plugin to do that?


RE: Shop Question - show balance. - supernova - 07-09-2014

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


RE: Shop Question - show balance. - Ohnoto - 07-23-2014

The following code will display points:

Code:
{$mybb->user['newpoints']}



RE: Shop Question - show balance. - Diogo Parrinha - 07-23-2014

{$mypoints} shows them formatted