Expand user points integration to allow for branding

webnation - April 23, 2008 - 08:39
Project:Advanced Forum
Version:6.x-1.x-dev
Component:Contrib integration
Category:task
Priority:normal
Assigned:Michelle
Status:closed
Description

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,

#1

Michelle - April 23, 2008 - 13:30
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

webnation - April 24, 2008 - 09:08

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

Michelle - April 24, 2008 - 13:16

Untested, but should work...

Change:

<?php
print $points;
?>

to:

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

Michelle

#4

webnation - April 25, 2008 - 06:26

That's great, Michelle - works perfectly.

Thanks a lot.

Mike

#5

Michelle - September 3, 2008 - 15:10
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

Michelle - September 27, 2008 - 05:34
Status:active» fixed

Branding and categories added.

Michelle

--project followup subject--

Anonymous (not verified) - October 11, 2008 - 05:44

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

#7

Anonymous (not verified) - October 11, 2008 - 05:52
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.