The points details page looks like this using the latest version (2.11):
-------------------------------
%Points for
%Points Approved? Datesort icon Event Description
No %Points earned

Overall Total %points: 0
Unapproved %points: 0

Net %points Balance: 0
-------------------------------
Apparently the variables need a '!' instead of the '%'.

Regards,
.

CommentFileSizeAuthor
#2 userpoints_2.patch3.69 KBd0t101101

Comments

kbahey’s picture

Can you create a patch? See http://drupal.org/patch

d0t101101’s picture

Status: Active » Needs work
StatusFileSize
new3.69 KB

Sure, I just finished determining the problem was in userpoints_transaction_tools.module. Patch is attached.

Best regards,
.

d0t101101’s picture

BTW, I don't have any points issued on my site yet (still in development), so this is somewhat untested. It does however fix the interface issues in the 'userpoints/myuserpoints' page, and hopefully doesn't introduce any new problems :)

.

kbahey’s picture

Component: Code » Code: userpoints_transaction_tools.module
Status: Needs work » Fixed

Committed to 5.x development and HEAD.

Thanks

jredding’s picture

I just wanted to comment that t() function has changed slightly in Drupal 5 so it now accepts 3 types of
* !variable: inserted as is
* : escape plain text to HTML (check_plain)
* %variable: escape text and theme as a placeholder for user-submitted content (check_plain + theme_placeholder)
Read more: http://api.drupal.org/api/5/function/t

The patch is correct in its usage, I'm just commenting.

Anonymous’s picture

Status: Fixed » Closed (fixed)