• Resolved Derek

    (@the-ebm-blog)


    First, thank you for designing this awesome plugin! I noticed that my members in their own blogs can see and use this plugin as well as myself. Is there any way I can make this plugin only available to the super admin and hide it from my members in the post/page form?

    (this is a bit off subject) I was also wondering if you plan to add more shortcodes soon? (like, all activity, and links if you have buddypress links plugin installed)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Derek,

    Sorry to reply so late !!

    in bowe-codes.php line 679, you can try to edit bowe_codes_add_media_button() function by replacing it with this one

    function bowe_codes_add_media_button() {
    	if(is_super_admin()){
    		$url = BOWE_CODES_PLUGIN_URL.'/includes/bowe-codes-editor.php?tab=add&TB_iframe=true&height=500&width=640';
    		if (is_ssl()) $url = str_replace( 'https://', 'https://',  $url );
    		echo '<a href="'.$url.'" class="thickbox" title="'.__('Add BP Content','bowe-codes').'"><img src="'.BOWE_CODES_PLUGIN_URL.'/images/bowe-codes-btn.png" alt="'.__('Add BP Content','bowe-codes').'" width="74px" height="16px"></a>';
    	}
    }

    And for the second part of your question : not at the moment…

    Thread Starter Derek

    (@the-ebm-blog)

    No problem, and thank you for your helpful reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Restrict access from regular admins or other member blogs?’ is closed to new replies.