Share user table from WP with Drupal
Share user table from WP with Drupal
Share user table from WP with Drupal
WordPress Multisite prevent direct access to subdomain
Limit users by custom taxonomy and user roles
Custom post type capabilities require “create_posts” to access the edit posts list page
Problem solved. Updating the plugin doesn’t seem to produce the required table structure in the database. The structure has changed between versions. You have to remove the old plugin and tables and then install the new version. This seems to work. Will report any other errors caused by the update here.
To login a user progrmaticly you can use: //Login the user $creds = array(); $creds[‘user_login’] = $login; $creds[‘user_password’] = $password; if ( !empty( $remember ) ){ $creds[‘remember’] = true; } $user = wp_signon( $creds, true ); but as you can see you will need to have the password present , so you can just add … Read more
http://wordpress.org/extend/plugins/wp-hide-dashboard/ might be what you are looking for perhaps?
I have not looked at this plugins code, but what you will need to do is locate the part of the code that applies to show only this menu to the admin (normally it looks something like:) if ( current_user_can( ‘manage_options’ ) { // some code stuff in here } form there you should change … Read more
I haven’t been working with WordPress too much, so there may be someone who can give you more details. But here’s what I’ve come to understand: If you want to have multiple blogs (one for each group) then you need to EITHER: Filter the posts according to who is logged in Operate a multi-site WordPress … Read more
There’s a capability that’s named edit_others_posts, that you can assign to users or roles. But there’s also an easier way to do this: The (by default) hidden “Author” meta box. How-to change the author of a post 1. Click the “screen options” tab on the upper right of the admin screen. 2. Check the “Author” … Read more