username") && !elgg_is_admin_logged_in()){ register_error(elgg_echo('AU_anonymous_comments:profile_view')); forward(REFERRER); } // they are admin and viewing anon_user - show warning about deletion if (elgg_is_admin_logged_in() && $speakfreelywarningcount != 1 && strpos($_SERVER['REQUEST_URI'], "profile/$user->username")){ //counter to prevent more than one display of this view - have to track down that bug $speakfreelywarningcount = 1; ?>