Hello There, Guest! › Register

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

NewPoints var?
#1

Whats the variable for it to like post it? Like in templates and such? Thanks
#2

what do you mean? Smile
Andrew - NewPoints Plugin Developer


[Image: dragonanimated_446370.gif]
#3

The variable to show how many points/money you have. You get me?
#4

ok Smile here it is.. for postbit
Code:
{$post['newpoints_postbit']}
Andrew - NewPoints Plugin Developer


[Image: dragonanimated_446370.gif]
#5

the money for each user is $mybb->user['newpoints']
however NewPoints formats the points with the currency symbol, decimal cases, etc.. before the points are output. So you will need some coding if you want them to be formatted
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#6

sorry i was wrong with my above post Big Grin
Andrew - NewPoints Plugin Developer


[Image: dragonanimated_446370.gif]
#7

You were right actually chonghua
#8

I am trying to put the number of points one has in the header, next to my link to the point system, but neither one of these seem to work...
#9

What are you putting?
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#10

I first tried: {$post['newpoints_postbit']} but that didn't work, probably because It's supposed to be points of the poster, and in the header, there is none Smile
I also tried this: $mybb->user['newpoints'] because I didn't care if it formatted it, but that didn't work, I also tried a couple variations, but couldn't get anything to work...




Users browsing this thread: 1 Guest(s)