Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




too many users showing in author override dropdown

UserPost

2:04 pm
January 15, 2011


george

Member

posts 11

1

Hi

I have a large number of users in my wordpress installation (> 17000). 

When role scoper is activated the author override field in the edit page/post screen contains a lot of users. Obviously, this makes the form unusable. When it is de-activated, it just shows the admin user, so role scoper is clearly doing something to this list.

My question is can this be changed somehow to not show all the users, maybe just those with edit ability?

In roles > options I have seen a checkbox for 'Filter users dropdown' which I have tried turning on and off however, it doesn't seem to have any effect.

Any ideas?

Thanks

10:37 am
January 17, 2011


george

Member

posts 11

2

Can anyone give me some clue as to where in the role scoper code base this would be being handled? Then I can investigate it further myself..

10:52 am
January 17, 2011


Kevin

Admin

posts 2503

3

I just finished reviewing this, and can't confirm any filtering of the Author dropdown when that RS option is disabled.

All pertinent filtering is applied by code in role-scoper/hardway/hardway-users_rs.php, which is included (via require_once) statement by hardway-admin_rs.php:

if ( in_array( $GLOBALS['pagenow'], array( 'post.php', 'post-new.php' ) ) ) {
	if ( scoper_get_option( 'filter_users_dropdown') )
		require_once( 'hardway-users_rs.php' );
}

Are you sure the option is disabled, and you're not getting browser-cached html for the edit form?

1:25 pm
January 17, 2011


george

Member

posts 11

4

Ok, so I obviously can't see the wood for the trees.

I have disabled the option and removed all the general roles and this seems to have fixed it.

Thanks for the help!


About the Agapetry forum

Currently Online:

14 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1249

Posts: 5659

Members:

There are 1261 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin