Hi and thanks for a really impressive module,

I have used the 'points branding' feature in User Points to to change the name of the user points. They show up everywhere on the site with the new name but in Advanced Forum they are still called 'Points'.

Any idea how I can change this?

Thanks for your help,

Comments

michelle’s picture

Category: support » feature

You can either use locale to change the string because it's in t() or edit advanced_profile_userinfo.tpl.php.

I changed this to a feature request because I might be able to have it pick up on the name rather than hardcoding "points" but I don't have time to look right now.

Michelle

webnation’s picture

Hi Michelle,

Thanks for your prompt response.

Unfortunately my knowledge of php is extremely limited. Can you give me an idea of what to change in advanced_profile_userinfo.tpl.php.

Thanks again,

Mike

michelle’s picture

Untested, but should work...

Change:

print $points;

to:

print "YOUR LABEL HERE: " . $points_raw;

Michelle

webnation’s picture

That's great, Michelle - works perfectly.

Thanks a lot.

Mike

michelle’s picture

Title: User points branding » Expand user points integration to allow for branding
Version: 5.x-1.0-alpha7 » 6.x-1.x-dev
Component: Miscellaneous » Contrib integration
Assigned: Unassigned » michelle
Category: feature » task

Moving to "to do" list.

Michelle

michelle’s picture

Status: Active » Fixed

Branding and categories added.

Michelle

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.