OK, I guess that does make sense. And if you call print_no_permission() it should display the message you want, and it then returns to the page it was called from. But I'm not sure how you'd use that because if it was part of the page that you're displaying, you'd never see it without being logged in.
I guess you're trying to make a forum block that lets you log in or something like that?
|