OK, I think this works.....
Open forum/index.php (make a backup copy) and find....
PHP Code:
forumhome_pmloggedin,forumhome_welcometext,
Replace that with....
PHP Code:
forumhome_pmloggedin,forumhome_welcometext,forumhome_newwelcometext,forumhome_newunregmessage,
Find...
PHP Code:
// if user is know, then welcome
if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
Immediately above that add....
PHP Code:
// New Welcometext Addition.
if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
eval("\$newwelcometext = \"".gettemplate('forumhome_newwelcometext')."\";");
} else {
$welcometext = "";
}
Find...
PHP Code:
$unregwelcomemessage='';
if ($bbuserinfo['userid']==0) {
eval("\$unregwelcomemessage = \"".gettemplate('forumhome_unregmessage')."\";");
}
Below that add...
PHP Code:
// New Unregelcometext Addition.
$newunregwelcomemessage='';
if ($bbuserinfo['userid']==0) {
eval("\$newunregwelcomemessage = \"".gettemplate('forumhome_newunregmessage')."\";");
}
Clse and save index.php
Open your templates and add a new template called...
forumhome_newunregmessage
Inside that put....
Add another template caqlled...
forumhome_newwelcometext
Inside that put....
Code:
back, <b>$username</b>
Then go to the forumhome template, locate the "WelcomePanel"
Find where it says Welcome and replace it with...
Code:
Welcome $newwelcometext $newunregwelcomemessage
That should do it.
I must say, it's a lot of trouble for a simple syntax modification.