I want to put a greeting on the main page that says something like "Hello, <username>!" for logged in users and "Hello! Log in or register" for logged out users. How can I do this. I want it to display this on the same page, too.
Topic on Project:Support desk
extension:userFunctions might help.
May have performance implications (since it cannot reuse page text across users)