Support » Plugin: Comment Images Reloaded » Upload for registrated Users only?

  • Resolved petersauber2017


    first of all: thx for that small nice plugin! =)

    i would like to have a Option to set CIR for Upload-possibility to registrated Members only. Because of the ability to hide viruses and php-code via injection to an image, i would wish profoundly, to have that feature in your plugin.

    Other Question is:
    where i can modify .comment-form input? i can’t find that in magnific.css


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP Puzzle


    Set Check it to disable automatic show file upload field option and add next snippet to functions.php of your theme (best way is using child theme or special plugin as FunctionsPHP)

    function myslug_for_loggedin_cir_fieled( $submit_field ) {
    	if ( is_user_logged_in() && function_exists("get_cir_upload_field") ) { 
    		$submit_field = get_cir_upload_field() . $submit_field;
    	return $submit_field;
    add_filter( 'comment_form_submit_field', 'myslug_for_loggedin_cir_fieled' );

    plugin not add css styling for inputs, it uses theme styles. magnific.css used for Magnific gallery what zooming small images

    Thread Starter petersauber2017


    very fast aswer!
    …works like a charm! 1+!
    Thank you very much

    Plugin Author WP Puzzle


    Thanks )
    Have a good day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upload for registrated Users only?’ is closed to new replies.