Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

Shop Question - show balance.
#1

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.
#2

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

Translations for 1.8 will be made after translating MyBB 1.8, and it can take awhile
#3

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.
#4

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

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
#6

The following code will display points:

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

{$mypoints} shows them formatted
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.




Users browsing this thread: 1 Guest(s)