2 personman Nov 23, 2005 21:27

This worked well, how would 'is not logged in' look?
markfaulkner wrote:
This worked well, how would 'is not logged in' look?
if youre impatient (for an answer), thats not really necessary. you can work from the premise that they are logged in, and go from there:
if( is_logged_in() ) {x=1} else {x!=1}
use the else :)
That would work. Or if you don't want to do anything for logged in users, you could do it like this:
if ( ! ( is_logged_in ) ) {
// stuff to do for non-members
}
This isn't exactly what you're asking for, but the code will work the same way:
http://forums.b2evolution.net/viewtopic.php?t=4896&highlight=greet+name
The key is right here: