Tareq Hasan
Forum Replies Created
-
You said after deleting all the plugins, you still have the issue. So how come you think that it’s the issue by my plugin, thats ridiculous. Try to fix your theme itself.
To Fix the header already sent message:
Open wpuf-add-post.php and you’ll see this code:
function wpuf_add_post_shorcode() { wpuf_auth_redirect_login(); // if not logged in, redirect to login page nocache_headers(); wpuf_add_post(); add_action('wp_footer', 'wpuf_post_form_style'); }
replace this code with this one
function wpuf_add_post_shorcode() { if ( is_user_logged_in() ) { wpuf_add_post(); add_action('wp_footer', 'wpuf_post_form_style'); } else { printf( __( "This page is restricted. Please %s to view this page.", 'wpuf' ), wp_loginout( get_permalink(), false ) ); } }
wpuf-editprofile.php
replace thewpuf_user_edit_profile()
function with this onefunction wpuf_user_edit_profile() { if ( is_user_logged_in() ) { wpuf_post_form_style(); wpuf_user_edit_profile_form(); } else { printf( __( "This page is restricted. Please %s to view this page.", 'wpuf' ), wp_loginout( get_permalink(), false ) ); } }
wpuf-edit-post.php
replace thewpuf_edit_post_shorcode()
function with this onefunction wpuf_edit_post_shorcode() { if ( is_user_logged_in() ) { wpuf_edit_post(); add_action('wp_footer', 'wpuf_post_form_style'); } else { printf( __( "This page is restricted. Please %s to view this page.", 'wpuf' ), wp_loginout( get_permalink(), false ) ); } }
Sorry, haven’t tried AdsCaptcha. No idea about that.
The plugin has a massive change in it’s future version. A lot of things are new here. I am just having short time to finish the final product. Hope that it’ll be released soon ??
What type of changes you made? Can you mention them?
nope, sorry ??
You don’t need to go this page directly. This page is a placeholder for editing the posts. So if you click “edit” from dashboard, then this page will work.