Forum Replies Created

Viewing 4 Topics - 1 through 4 (of 4 total)
Author Posts
May 7, 2015 at 7:12 pm in reply to: Form Fields Disappearing in WP User Frontend Pro 43361
springboard springboard

Giving a screenshot won’t help; it just looks normal, but when I save the form, fields disappear from the bottom, the save button disappears from the actual front end and the “Enable Saving as Draft” becomes unchecked; If there’s no limitation, then it might be a memory allocation error with the website itself. I’m looking into it today and I’ll check back in.

July 1, 2013 at 3:42 pm in reply to: "Admin" Edit All Posts? 5456
springboard springboard

Should I put that into the theme’s functions.php file, so the plugin can still be updated in the future?

July 1, 2013 at 2:38 pm in reply to: "Admin" Edit All Posts? 5451
springboard springboard

I’ve discovered where to edit the plugin to make it do what I want. Starting at line 70 of frontend-dashboard.php I get the user’s role with a function I’ve define in my functions.php file, checked it with the role that I would like to allow see all posts, and define the authors to display in the query. It looks something like this:

	//find user role to display all or just current user posts
	$role = get_user_role();
		
	if ($role == 'administrator') {
		$author = -0;
	} else {
		$author = get_current_user_id();
	}

        $args = array(
            'author' => $author,
            'post_status' => array('draft', 'future', 'pending', 'publish', 'private' ),
            'post_type' => $post_type,
            'posts_per_page' => wpuf_get_option( 'per_page', 'wpuf_dashboard', 10 ),
            'paged' => $pagenum
        );

It’s probably not a functionality that is requested often, but it would still be a nice addition to a future update for this plugin.

Either way, great plugin! It works great and exceeded my expectations. Thanks guys!

July 1, 2013 at 4:50 am in reply to: "Admin" Edit All Posts? 5439
springboard springboard

I agree with that logic but my client sees otherwise. They want their board members to not see the WordPress admin if possible. If that’s not possible I understand but it would make our lives easier if we could give them the ability to approve/deny from the front end. I already know how to deal with the field that approves or denies their application, but I’m stuck on the option to give their board members the Ability to see all applications from the front end of the site.

I’ve looked through all the options to see if its possible and I don’t see anything that implies that. If I need to do custom edits to the plugin code I can, but I would like to be pointed in the right direction. Where should I look in the files?

Viewing 4 Topics - 1 through 4 (of 4 total)