How do I protect my uploads?
How do I protect my uploads?
How do I protect my uploads?
Have you tried Members? One of the best I’ve worked with so far.
Thank you Milo, “word-break” alone wasn’t enough as it’s css3 only and not cross-browser. But I found this: .bloc_content{ overflow:hidden; -ms-word-break: break-all; word-break: break-all; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; } It seems to to work in all cases I tested. Hopefully it would be cross-browser enough to solve the problem. Not sure … Read more
Restrict download files from not generated Urls
You should be able to do this with Role Scoper plugin.
funtion add_profile_page(){ $title_of_page = “page name”; if( null == get_page_by_title( $title_of_page ) ) { $post_id = wp_insert_post( array( ‘comment_status’ => ‘closed’, ‘ping_status’ => ‘closed’, ‘post_author’ => ‘1’, ‘post_name’ => ‘namehere’, ‘post_title’ => $title_of_page, ‘post_status’ => ‘publish’, ‘post_type’ => ‘page’ ) ); update_post_meta($post_id, ‘_wp_page_template’, ‘mycustomprofile’); } } add_filter( ‘after_setup_theme’, ‘add_profile_page’ ); your template page /* Template … Read more
No plugin or PHP code is needed to do this. If you look at your HTML body class, you will see that WP helpfully adds the class of “logged-in” for any users who are registered and logged into the site. With this info along with the class name you give for the particular menu link … Read more
Assign specific editor with custom user meta “A” to all authors with custom user meta “A” and exclude all other author access
Essentially, you need: A global role-category relationship list, and/or… A per-user category list For per-user categories, hook onto the relevant profile actions: show_user_profile & edit_user_profile for displaying the field (use wp_terms_checklist()) personal_options_update & edit_user_profile_update for saving the data For the role-category data, use an options page. Loop over all roles ($wp_roles->roles) with a term checklist … Read more
You could use Buddypress to achieve this along with this plugin: https://wordpress.org/plugins/bp-redirect-to-profile/ Hope that helps.