Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
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 placeholderadd_filter( 'fep_form_fields', function( $fields ){ $fields['message_title']['placeholder'] = 'ENter a subject here'; return $fields; });
And i charge 50$ per hour.
Shamim HasanKeymasterIt depends on your website speed, this code has nothing to do with that. It only submit your form without click.
March 30, 2018 at 2:59 pm in reply to: Notification of attachment without including attachment #12860Shamim HasanKeymasterYou 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/
Shamim HasanKeymasterAccording 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.
Shamim HasanKeymasterNot possible.
Shamim HasanKeymasterAll plugins are based on this hooks.
Let me know what you are trying to achieve, i will try to give you code for that.Shamim HasanKeymasterfor 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 });
Shamim HasanKeymasterYou can use hook ( action and filter ) to change any other function.
Shamim HasanKeymasterIn 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 CSSShamim HasanKeymasteradd 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 });
Shamim HasanKeymasterWhen release next version, you will be able to translate like any other string. To translate above code just change
Select all
to your language.Shamim HasanKeymasterPlease 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.
Shamim HasanKeymasterThank you for your nice suggestion.
This feature may be included in future version. But cannot give you time when this may include.Shamim HasanKeymasterPlease 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”.
Shamim HasanKeymasterBoth of your understand is correct.
You can only change templates file in /wp-content/themes/spacious-child/front-end-pm/ -
AuthorPosts