![]() |
Change the "Welcome" message? I want to change the "Welcome" message to new users. Where it currently says "Welcome to the [NAME OF GALLERY]!" to new unregistered users at my PhotoPost installation (and then changes to "Welcome, [MEMBER NAME]!" when the member has logged in to the Gallery), is it possible to change the initial unregistered user message? I would prefer it to instead say "Welcome! Register and Login to view the entire Gallery!" instead of the default "Welcome to the [NAME OF GALLERY]!" for all new users to the site. Is this possible..? I'm sure it is, but haven't found it among the templates available in the Admin section of the PhotoPost application. My guess is that I'll need to edit one of the php files, which is fine but I'm not certain which one or which lines. Is anyone able to point me in the right direction, and let me know which file and which lines I should be looking for..? Thanks for any assistance anyone is able to provide on this. :) |
Ok ... maybe this is the place: ... in index.php PHP Code: if ( $User['username'] != "" && $User['username'] != "Unregistered" ) $childnav = "{$Globals['pp_lang']['welcomeuser']} {$User['username']}!"; else $childnav = "{$Globals['pp_lang']['welcome']} {$Globals['galleryname']}!"; ... I'm thinking this is the right area..? Can I simply change the last line here? else $childnav = "{$Globals['pp_lang']['welcome']}!"; ... and then I would have to modify the language tables as well, I'm guessing..? Hmmm ... this may be a larger project than I'd first thought, as I'd need a translation for the phrase into each language used ... correct? |
You would need to change the language files and, for what you want, the code you outlined above where instead of the site name, you would insert the specific wording for an unregistered user. |
| All times are GMT -5. The time now is 08:33 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0