Tag Info

New answers tagged

0

Have you looked at the Theme My Login plugin? It will do some of what you want, and you can customize it by writing a theme-my-login-custom.php file (assuming you know enough about PHP and Wordpress to do so).


0

The question should be how many users can php-mysql stack handle instead of WordPress as WP is developed on those 2 principal technologies. Being said that, if you can configure server with advanced server techniques, host WP in a good managed server, optimized database load and queries then WP can handle as many members as you want. If you install ...


0

This one is much easier to add on the functions.php and works like charm : function hide_media_by_other($query) { global $pagenow; if( 'upload.php' != $pagenow || !$query->is_admin ){ return $query; } if( !current_user_can( 'manage_options' ) ) { global $user_ID; $query->set('author', $user_ID ); } return $query; } ...


0

the wordpress user query by default doesn't allow the display_name in search column even it's added in , here is a solution http://manchumahara.com/2014/04/03/search-user-by-display-name-in-wordpress-sitewide/ Example: $args= array( 'search' => 'Display Name', // or login or nicename in this example 'search_fields' => ...


2

Before you begin, you should know that sending mass emails is a delicate subject matter, and your hosting provider or mail provider has certain guidelines about this. Some hosting providers, such as Dreamhost, provide "Announcement Lists", which act as a platform for writing newsletters (or essentially emailing a large group of subscribers). Sending ...


2

You can use a filter to pre_get_posts so that only your posts are listed. Something like this: function my_posts_only( $query ) { global $pagenow; if ( 'edit.php' != $pagenow || ! $query->is_admin ) return $query; if ( ! current_user_can( 'manage_options' ) ) { global $user_ID; $query->set( 'author', $user_ID ); ...


2

I use a plugin called Avatar Manager for that function. The author has also done a tutorial on how to write your own avatar manager plugin, but unfortunately it is also a bit outdated and doesn't work anymore. Although the plugin states it is compatible up to 3.6.1, it is still working in 3.8.1. I know at this stage the plugin is maintained as I just ...


0

Some of the answers given can be fine but I think none of them warranty to do what is asked because none of the answers checkk user roles, just capabilities and capabilities can be assigned to different roles. Also is required to allow access to profile. Here a sample code to allow users to access to profile while only admins will have access (and see) other ...


0

I have created new colums in a SQL table 'wp_users'. Those fields are "giodo", "handel" and "regulamin". Don't add columns to Core tables. There is no guarantee that these won't be destroyed or corrupted on next update. What you should be using is user meta, and in fact that appears to be what you are actually using: add_action('user_register', ...



Top 50 recent answers are included