Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
if it is stagging site can i have access? please full backup your website before giving me access.
Shamim HasanKeymasterI have updated to 2.0.1 and it is working.
Please remove this extension what you already installed and install it without modifying zip. Let see if working.Shamim HasanKeymasterI see ultimate member current version 1.3.88
is not it the plugin we are working with https://wordpress.org/plugins/ultimate-member/ ?Shamim HasanKeymasterShamim HasanKeymasterThank you for contacting.
I will try to build a custom extension and release to everyone.Shamim HasanKeymasterYou can add
#fep-wrapper{width: 100% !important;}
in Front End PM PRO > Settings > General > Custom CSSThat theme is not well responsive. If this not works you can ask that theme developer, they might have better solution.
Shamim HasanKeymasterPlease change theme to default theme then try.
Let me know.Shamim HasanKeymasterWhen message in changed from hidden to shown add this code there, this will clear cache so that you get correct count.
$participants = fep_get_participants( $message_id ); foreach( $participants as $participant ) { delete_user_option( $participant, '_fep_user_message_count' ); }
change $message_id with which message is hidden to shown
Shamim HasanKeymasterPlease send a message to that user after added this code. That should delete previous cache for that user and show proper count.
Shamim HasanKeymasterPlease send a message to that user after added this code. That will delete previous cache for that user and show proper count.
It will be better if you can hide message when that message is sent rather then when view.
Shamim HasanKeymasteradd following code in your theme’s (child theme’s if any) functions.php
add_filter('fep_menu_buttons', function( $menu ){ unset($menu['announcements']); return $menu; }, 99);
Shamim HasanKeymasterYou have added
$args = array(
‘post_parent’ => $ref->mes_id,
‘post_type’ => ‘any’,
‘numberposts’ => – 1,
‘post_status’ => ‘any’
);
here you have declared $args which override original $args.In messagebox no child messages is shown, so where child messages shown?
Use your same function in both hook i have given, which will cache proper count.
Shamim HasanKeymasterYou are overriding variable $args. Please change your arguments name to something else. Also you do not need to provide child messages ids.
count is cached for performance. Please use same function in hook
fep_message_count_query_args
also. It will be hard to maintain count properly if you do not invalid cache when ref ids change for any user.Shamim HasanKeymasterThere is checkbox to select one by one.
From back-end you can select all, go to Dashboard > Front End PM PRO > All MessagesShamim HasanKeymasterBy default it collapse only messages which already read. all unread messages are open. If you still want to show all messages by default add following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_filter_hide_message_initially_if_read', '__return_false' );
-
AuthorPosts