MyBB-Plugins Forums

Full Version: Displaying a user's points count?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I display a user's point count in a custom page I created?
I tried {$points} but it didn't work (Obviously because the custom page doesn't know where to put the value from.)
Do you want to display the amount of points the user who's visiting the page has?
If that's it, you can use {$mybb->settings['newpoints_main_curprefix']}{$mybb->user['newpoints']}{$mybb->settings['newpoints_main_cursuffix']} however it's not rounded

Thank you! I will try that and see what happens Smile
EDIT: That worked, thanks, Pirata Smile
Great Smile
I'm sorry for reviveing this topic, but I didn't want to create a seperate one, since this one already exsists.

I'm just wondering if there is any way to remove the decimals in this view and yes, I've removed decimals in settings, but decimals are still shown with this code Sad

No, as I said, money is not rounded
(05-10-2010, 07:15 AM)Pirata Nervo Wrote: [ -> ]No, as I said, money is not rounded
Oh sorry, I missed that in your post :S
Ok thanks for telling me...again Smile
Great! It's worked! Thanks Pirate Nervo Big Grin