Forum Replies Created
-
Author
-
knuhklesParticipant
Here guys… this is my snippet… it works
add_action( ‘template_redirect’, ‘my_redirect_home’ );
function my_redirect_home()
{
if( is_user_logged_in() && is_front_page() )
{
wp_redirect( site_url( ‘/logged-in’ ) );
exit();
}
}knuhklesParticipantok so the final code should be this…
COPY CODE/* Filter the redirect url for login*/ add_filter("login_redirect","kleo_redirect_to_profile",100,3); function kleo_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user){ /*if no redirect was specified,let us think ,user wants to be in wp-dashboard*/ if(!is_super_admin($user->ID)) return '/my_page_link'; else return $redirect_to_calculated; /*if site admin*/ }
knuhklesParticipantok thank you.. also how do you take compatibility match under buddy press profiles.. since this is a fitness site i don’t need compatibility with hearts on it…:). And how can i add a feature to upload pictures directly into the forums with out it being an attachment in bbpress?
knuhklesParticipantOk…I have the s3 and my wife has the s4 and my friend had the note… all the same
September 12, 2013 at 15:25 in reply to: Log In Button redirects me to Error code: ERR_CONNECTION_RESET #2722knuhklesParticipantOk this how i fixed it.. i tried your solution it didnt work. I contacted my hosting provider and they were running a script to disable it due to security reasons.. So they disabled it. Now it works…
One thing i would like to point out. In your video embed… the power button to close the video doesn’t work on ipad… also the read more link on your posts carousel doesn’t work either when you click on it (Only from a mobile device)
September 11, 2013 at 17:27 in reply to: Log In Button redirects me to Error code: ERR_CONNECTION_RESET #2655knuhklesParticipantNo still didn’t work
September 11, 2013 at 02:53 in reply to: Log In Button redirects me to Error code: ERR_CONNECTION_RESET #2627knuhklesParticipantthe website is fitassets.com
-
AuthorPosts