• Resolved David

    (@sechsdrei)


    Hey!

    Great Plugin! Exactly what i was looking for!

    In your example you made a custom Support Status called “working on it”.
    I wonder if the topic creator (maybe not admin) can easily remove this status?

    He could just set the status back to not resolved right?
    Is there a way to make new support status only visable/accessable/changeable by admin?

    Thanks in advance!
    Best wishes,
    David

    https://www.ads-software.com/plugins/buddy-bbpress-support-topic/

Viewing 1 replies (of 1 total)
  • Thread Starter David

    (@sechsdrei)

    I just added a little jQuery to hide my new Support Status from non-admins:

    // Remove Planned From non-Admins
    	if(!current_user_can('Administrator')) {
    		add_action('wp_footer','my_custom_bbpress_jquery');
    		function my_custom_bbpress_jquery() {
    		  $output='<script type="text/javascript">jQuery(".support-select-status option[value=3]").remove();</script>';
    		  echo $output;
    		}
    	}
Viewing 1 replies (of 1 total)
  • The topic ‘New/Custom Support Status only for Super-Admins/Admins’ is closed to new replies.