castcrus
Forum Replies Created
Viewing 8 replies - 1 through 8 (of 8 total)
-
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Adding audio to the answersame question here, I’m building a language practice site, voice recording is needed. What’s your solution @darville?
Forum: Plugins
In reply to: [Automatic Post Tagger] Using APT in Chinese (Japanese, Korean etc…)thanks! solved my problem in simplified chinese in UTF-8
SOLVED!
add this to your theme’s functions.php
function map_meta_cap( $caps, $cap, $user_id, $args ){ switch( $cap ){ case 'edit_user': case 'remove_user': case 'promote_user': if( isset($args[0]) && $args[0] == $user_id ) break; elseif( !isset($args[0]) ) $caps[] = 'do_not_allow'; $other = new WP_User( absint($args[0]) ); if( $other->has_cap( 'administrator' ) ){ if(!current_user_can('administrator')){ $caps[] = 'do_not_allow'; } } break; case 'delete_user': case 'delete_users': if( !isset($args[0]) ) break; $other = new WP_User( absint($args[0]) ); if( $other->has_cap( 'administrator' ) ){ if(!current_user_can('administrator')){ $caps[] = 'do_not_allow'; } } break; default: break; } return $caps; } } $jpb_user_caps = new JPB_User_Caps();anwser from: http://wordpress.stackexchange.com/questions/4479/editor-can-create-any-new-user-except-administrator
same problem here!
Forum: Plugins
In reply to: plugin for this patch.com like bulletin board / micro blog?found mingle, integrating
Forum: Networking WordPress
In reply to: get categories from the main site?just found a solution, switch_to_blog()
but they say this slows down the sites, is any other method?
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF®)] ACF returns only Image IDresolved
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF®)] ACF returns only Image IDok, my bad, i should have checked the docs, and use the_field() or get_field()
Viewing 8 replies - 1 through 8 (of 8 total)