Download & Extend

Expand user points integration to allow for branding

Project:Advanced Forum
Version:6.x-1.x-dev
Component:Contrib integration
Category:task
Priority:normal
Assigned:Michelle
Status:closed (fixed)

Issue Summary

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

#1

Category:support request» feature request

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

#2

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

#3

Untested, but should work...

Change:

<?php
print $points;
?>

to:

<?php
print "YOUR LABEL HERE: " . $points_raw;
?>

Michelle

#4

That's great, Michelle - works perfectly.

Thanks a lot.

Mike

#5

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
Category:feature request» task
Assigned to:Anonymous» Michelle

Moving to "to do" list.

Michelle

#6

Status:active» fixed

Branding and categories added.

Michelle

--project followup subject--

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

#7

Status:fixed» closed (fixed)

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