Closed (fixed)
Project:
Advanced Forum
Version:
6.x-1.x-dev
Component:
Contrib integration
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
23 Apr 2008 at 08:39 UTC
Updated:
14 Jul 2012 at 23:10 UTC
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
Comment #1
michelleYou 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
Comment #2
webnation commentedHi 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
Comment #3
michelleUntested, but should work...
Change:
print $points;to:
print "YOUR LABEL HERE: " . $points_raw;Michelle
Comment #4
webnation commentedThat's great, Michelle - works perfectly.
Thanks a lot.
Mike
Comment #5
michelleMoving to "to do" list.
Michelle
Comment #6
michelleBranding and categories added.
Michelle
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.