Php help – Welcome Message
Okay – so I’m trying to change my Welcome MEssage on the home page. Right now it says:
“Welcome back Welcome, USERNAME!”
The code that produces this looks like this:
<?php if ( !in_array( bb_get_location(), array( ‘login-page’, ‘register-page’ ) ) ) login_form(); ?>
That’s utter gobbledy gook as far as I”m concerned. Can anyone decifer it? Why is “welcome” appearing twice? Where are the words coming from? Whay if I wanted it to say “Go away USERNAME”? Where is that php getting it’s information from?
Second line looks like this, which is fine:
“User Options: Admin | Log Out”
Since I’m admin, I assume that’s why I see admin. Other users would just see Log Out? or what? The code producing that is equally cryptic. Where does it come from? What if I wanted to, say, change the p class that gets slapped around that?
- You must be logged in to reply to this topic.