Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1,876 through 1,890 (of 2,484 total)
  • Author
    Posts
  • in reply to: how do i setup Front End PM Pro in a chile theme? #12872
    Shamim Hasan
    Keymaster

    Which version you are using? Some of the string i do not find. Eg. “Message Box”, “Announcements” etc which you want in h2 tag.

    Most string change you will find in templates, So as you are overriding templates in your child theme, you can simply change there.

    Sample code:
    Add following code in your child theme’s functions.php. This will change message title placeholder

    add_filter( 'fep_form_fields', function( $fields ){
        $fields['message_title']['placeholder'] = 'ENter a subject here';
        return $fields;
    });
    

    And i charge 50$ per hour.

    in reply to: On text entered, the list is updated #12863
    Shamim Hasan
    Keymaster

    It depends on your website speed, this code has nothing to do with that. It only submit your form without click.

    in reply to: Notification of attachment without including attachment #12860
    Shamim Hasan
    Keymaster

    You can create your own tag to send attachment status with email. Instruction in https://www.shamimsplugins.com/docs/front-end-pm-pro/customization-front-end-pm-pro/add-own-email-tag/

    in reply to: how do i setup Front End PM Pro in a chile theme? #12856
    Shamim Hasan
    Keymaster

    According to our support policy, we do not provide support which require any custom code. after that also i try to assist writing custom code. But that is limited to 1-2 times per customer. Your list is very long. i can write 1-2 from your list. You can hire any developer or me for all of your changes.

    in reply to: On text entered, the list is updated #12841
    Shamim Hasan
    Keymaster

    Not possible.

    in reply to: how do i setup Front End PM Pro in a chile theme? #12826
    Shamim Hasan
    Keymaster

    All plugins are based on this hooks.
    Let me know what you are trying to achieve, i will try to give you code for that.

    in reply to: On text entered, the list is updated #12821
    Shamim Hasan
    Keymaster

    for messages, add following code in your theme’s (child theme’s if any) functions.php

    add_action( 'fep_display_before_messagebox', function(){
    	?><script type="text/javascript">
    	jQuery(document).ready(function($){
    		var delay = (function(){
    		  var timer = 0;
    		  return function(callback, ms){
    		    clearTimeout (timer);
    		    timer = setTimeout(callback, ms);
    		  };
    		})();
    
    		$('.fep-messagebox-search-form-field').keyup(function() {
    			delay(function(){
    		      $('#fep-messagebox-search-form').submit();
    		  }, 1000 );
    		});
    	});
    	</script><?php
    });
    
    in reply to: how do i setup Front End PM Pro in a chile theme? #12818
    Shamim Hasan
    Keymaster

    You can use hook ( action and filter ) to change any other function.

    in reply to: how do i setup Front End PM Pro in a chile theme? #12808
    Shamim Hasan
    Keymaster

    In child theme only /templates folder can be modified.
    To modify CSS, just add modified CSS in your child theme’s style.css file. OR add your modified CSS in Front End PM PRO > Settings > General > Custom CSS

    in reply to: On text entered, the list is updated #12795
    Shamim Hasan
    Keymaster

    add following code in your theme’s (child theme’s if any) functions.php

    add_action( 'fep_display_before_directory', function(){
    	?><script type="text/javascript">
    	jQuery(document).ready(function($){
    		var delay = (function(){
    		  var timer = 0;
    		  return function(callback, ms){
    		    clearTimeout (timer);
    		    timer = setTimeout(callback, ms);
    		  };
    		})();
    
    		$('.fep-directory-search-form-field').keyup(function() {
    			delay(function(){
    		      $('#fep-directory-search-form').submit();
    		  }, 1000 );
    		});
    	});
    	</script><?php
    });
    
    in reply to: Select all functionality #12793
    Shamim Hasan
    Keymaster

    When release next version, you will be able to translate like any other string. To translate above code just change Select all to your language.

    in reply to: Select all functionality #12787
    Shamim Hasan
    Keymaster

    Please wait for next version. It will be added in plugin, so you do not need any custom code for this. Next version will be released next week.

    in reply to: New Features #12784
    Shamim Hasan
    Keymaster

    Thank you for your nice suggestion.
    This feature may be included in future version. But cannot give you time when this may include.

    in reply to: Select all functionality #12765
    Shamim Hasan
    Keymaster

    Please add following code in your theme’s (child theme’s if any) functions.php

    add_filter( 'fep_directory_output', function( $directory ){
    	$checkbox = '<label><input type="checkbox" class="fep-cus-select-all" />'.__('Select all').'</label>';
    	$checkbox .= '<script type="text/javascript"> jQuery(document).ready(function(){';
    	$checkbox .= 'jQuery("#fep-table .fep-cus-select-all").change(function(){';
    	$checkbox .= 'jQuery( \'#fep-table input[type="checkbox"]\' ).prop("checked", this.checked);';
    	$checkbox .= '})}); </script>';
    	
    	return str_replace( '<div id="fep-table" class="fep-table fep-odd-even">', '<div id="fep-table" class="fep-table fep-odd-even">' . $checkbox, $directory);
    });
    

    It will show a checkbox in “Directory” to select all users from directory. Then from dropdown select “Send message”.

    in reply to: how do i setup Front End PM Pro in a chile theme? #12762
    Shamim Hasan
    Keymaster

    Both of your understand is correct.
    You can only change templates file in /wp-content/themes/spacious-child/front-end-pm/

Viewing 15 posts - 1,876 through 1,890 (of 2,484 total)