What template would I look in, to customize the text on a profile tab? I want to change the one that says 'Infractions' to 'Reminders'. Tx
How to change the text on a profile tab?
Collapse
X
-
I was not able to edit through any templates/phrases and found it only in file: member.php, as this seems to be hard coded.
# edit file though host side or using wordpad, then upload and replace.
# find and edit phrase to 'Reminders'
Code:'infractions' => array( 'class' => 'Infractions', 'title' => [B][COLOR=red]$vbphrase['infractions'][/COLOR][/B], 'options' => array( 'pagenumber' => $vbulletin->GPC['pagenumber'], 'tab' => $vbulletin->GPC['tab'], ), ),
-
# edit file though host side or using wordpad, then upload and replace.
# find and edit phrase to 'Reminders'
Code:'infractions' => array( 'class' => 'Infractions', 'title' => [B][COLOR=red]$vbphrase['infractions'][/COLOR][/B], 'options' => array( 'pagenumber' => $vbulletin->GPC['pagenumber'], 'tab' => $vbulletin->GPC['tab'], ), ),
Comment
-
No, it is not hardcoded!
Do not do this. A file edit is not needed.
The code you highlighted in red calls a phrase! It's the phrase "infractions", and this phrase can be edited through AdminCP. But beware: This phrase is not only for the tab in profile, but is very likely used in other places, too (it's a global phrase). So if you change that phrase, it will change in other places, too.Comment
-
I found the phrases in admincp already, and changed it - I changed the phrases to 'reminder' (instead of warning) and 'second reminder', (instead of infraction) but the tab on the profile calls the 'infractions' phrase, so the tab on the profile says 'Second Reminder' - and I'd like to change just that tab to say "Reminders". Because it won't only contain 'second reminders', it will also contain first reminders
We need gentler words at my site, ppl just get too upset at warning and infraction.Comment
-
I found the phrases in admincp already, and changed it - I changed the phrases to 'reminder' (instead of warning) and 'second reminder', (instead of infraction) but the tab on the profile calls the 'infractions' phrase, so the tab on the profile says 'Second Reminder' - and I'd like to change just that tab to say "Reminders". Because it won't only contain 'second reminders', it will also contain first reminders
We need gentler words at my site, ppl just get too upset at warning and infraction.
Another is to hide infractions after time period has ran out, but keep it only in something like history and only be viewable if selected, else display eg: 'no infractions at this time'Comment
Related Topics
Collapse
-
by ndoktoruserHi all,
When I go to the option "AdminCP" -> "Languages & Phrases" -> "Phrase Manager" and I press to edit a phrase, I go to the page of edition, but...-
Channel: Support Issues & Questions
Tue 14 Jun '16, 4:45am -
Comment