View Full Version : How to change forum text
Puppeteer
09-21-2008, 02:02 AM
I want to change some text on the forum - for example:
Logout [username] -> Logout
User Control Panel -> Control Panel
I can't find this text anywhere in the themes or templates - they refer to {L_LOGIN_LOGOUT} and {L_PROFILE} respectively.
Is it possible to change this text, and where do I need to go to do it?
Thanks :)
Costa
09-21-2008, 04:23 AM
Hi
You don't say which software you are using, but there is usually a "languages" file where these things are defined and can be edited.
HTH
Costa
Puppeteer
09-21-2008, 06:06 AM
Thanks Costa.
Sorry - I'm using phpBB.
I downloaded all the language files and did a search through them, but I couldn't find those terms anywhere. I'll take another look.
Puppeteer
09-21-2008, 06:10 AM
You're right. Both are sitting right there in the language pack.
My method of searching left something to be desired.
Thank you again.
Costa
09-21-2008, 06:25 AM
Glad you got is sorted
Regards
Costa
Puppeteer
09-22-2008, 02:40 AM
I'm afraid I'm still at this.
I found where I THOUGHT those values needed to be changed, have downloaded, changed and uploaded them. When I look at the files in the language packs, the changes are there. But they're not reflected on the forum.
I'm not convinced I've changed them in the right place.
As mentioned above, the templates use the terms: {L_LOGIN_LOGOUT} and {L_PROFILE}
When viewing the pages, I see Logout [username] and User Control Panel
The only spot in the language files where I can find those terms, the "variables" are called LOGOUT_USER and UCP (these are the ones I changed). There are no L_LOGIN_LOGOUT or L_PROFILE variables.
I'm obviously missing something here, but I can't think what else I'm supposed to do. Do you have any suggestions? I'll just hardcode it if I have to, but would prefer not to start messing it up like that.
Puppeteer
09-22-2008, 03:00 AM
ok - I've found L_PROFILE - it was in common.php and was just called PROFILE. Still at a loss for the other, but I've changed the code to {LOGOUT} which gives me the desired result.