Bowe Codes
[resolved] Restrict access from regular admins or other member blogs? (3 posts)

  1. Derek
    Posted 4 years ago #

    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)

  2. imath
    Plugin Author

    Posted 4 years ago #

    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() {
    		$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( 'http://', '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...

  3. Derek
    Posted 4 years ago #

    No problem, and thank you for your helpful reply!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Bowe Codes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic