Gateway

[loginform redirect=”http://chatmeup.com/activity”]
[insert_php] global $current_user; get_currentuserinfo(); echo ‘ ‘ . ‘ ‘ . “\n”; if ($current_user->ID != 0) { echo ‘You are already logged in and will be redirected to the activity page.’ ; wp_redirect( ‘http://chatmeup.com/activity’, 301 ); exit; } if ($current_user->ID == 0) { echo ” ; } [/insert_php]