Trying to integrate a forum into an existing site with its own login already has been a challenging task. I’m getting a good understanding of the layout of phpBB though.
One thing I didn’t find much information about was changing the welcome message in the User Control Panel. It reads like this:
Welcome to the User Control Panel. From here you can monitor, view and update your profile, preferences, subscribed forums and topics. You can also send messages to other users (if permitted). Please ensure you read any announcements before continuing.
One problem, I’m integrating with an existing system which has its own account management built in along with custom private messaging, so the user won’t be able to change their email, password, or message others. So the message needs to be changed.
In your theme templates folder, this is found in the file ucp_main_front.html. Near the top it looks like this:
But the definition is a long way from there. I find these definitions to be scattered all over, with many found in the functions.php file, but in this case the L_ prefix denotes it is a language define. That means you’ll find the definition in the language/en/ucp.php file. EN if you are using English language that is.
BUT, if you have some nice editing software that can find definitions throughout the whole project directory, you’ll be disappointed when you couldn’t find L_UCP_WELCOME. That’s because you’ll find it under UCP_WELCOME instead. Confusing? Open the file listed above and you’ll find it is ONE great big array bearing the name $lang. Somewhere down the list you’ll find:
'UCP_WELCOME' => 'Welcome to the User Control Panel. From here you can monitor, view and update your profile, preferences, subscribed forums and topics. You can also send messages to other users (if permitted). Please ensure you read any announcements before continuing.',
Just change it to whatever you like.
Personally I don’t like having to update the language file manually after an update, but that’s the current level of ability with this software. Change UCP_WELCOME to something you like and it will show up in place of the L_UCP_WELCOME placeholder in the template when the page is loaded. The other alternative, if you are editing the style template files for customization already, is to just hard code it in HTML, as long as you don’t plan on using other languages.