c-alle
Forum Replies Created
-
AuthorPosts
-
c-alleParticipant
I confirm that if I export the database with phpmyadmin and import it into a new one, I lose all the saved settings of the plug-in Front End PM PRO: General – Appearance – Recipient – Privacy – E-mail – Security – Various – Licenses and must be reconfigured.
I don’t know if it’s a problem with my site or a general problem. I have tried 3 times.
Thanks.
c-alleParticipantIn the old database there was a custom css.
I also noticed that it has lost some plugin settings.
However I will check the old database table.
Thanks.
April 11, 2020 at 3:56 pm in reply to: List of messages received by the logged in user ( get_current_user_id () ). #36430c-alleParticipant<?php echo fep_get_user_message_count( ‘total’ );?>
Solved thanks.
April 11, 2020 at 3:40 pm in reply to: List of messages received by the logged in user ( get_current_user_id () ). #36427c-alleParticipantIs there a short code fragment php that shows the total number of messages in the mailbox of the current user? I entered one of the new messages ( fep_shortcode new_message_count ), but I would also like to have the total of messages received in the mailbox ($ total-count).
Thanks.
April 11, 2020 at 12:03 pm in reply to: List of messages received by the logged in user ( get_current_user_id () ). #36423c-alleParticipantOk, thank you very kind. I thought there was something ready and there was no need to buy it.
April 11, 2020 at 1:06 am in reply to: List of messages received by the logged in user ( get_current_user_id () ). #36410c-alleParticipantThis reply has been marked as private.March 16, 2020 at 2:15 am in reply to: Slow website loading wp-json/front-end-pm/v1/notification status "Pending". #35307c-alleParticipantThis reply has been marked as private.March 14, 2020 at 4:39 pm in reply to: Slow website loading wp-json/front-end-pm/v1/notification status "Pending". #35261c-alleParticipantThis reply has been marked as private.c-alleParticipantOkay, sorry for the inconvenience. Good job. Thanks.
c-alleParticipantThanks for the reply. Do you have any tutorial on how to use it? I am not a developer and without indications I am not able to do it. Thanks for your time.
c-alleParticipantWhen I reach the maximum limit of messages in the mailbox, can I reply to the received messages? If yes, is there a function to insert in my function.php to block also the replies to the received messages, in case the mailbox is full?
Thanks.
c-alleParticipantIf possible I would like to add the code (which I asked for above) to the excellent function that you had already done to me.
add_filter( 'fep_filter_message_before_send', function( $message ) {
if ( get_user_meta( get_current_user_id(), 'privacytel', true ) != 'No') {
// The @ symbol must be surrounded by character on both sides
$message['message_content'] = preg_replace( '/[^@\s]*@[^@\s]*\.[^@\s]*/', '[EMAILNASCOSTA]', $message['message_content'] ); # for emails// Take any string that contains only numbers, spaces and dashes,
// Can optionally have a + before it.
$message['message_content'] = preg_replace( '/\+?[0-9\-]{5,}/', '[TELEFONONASCOSTO]', $message['message_content'] ); # for phone numbers
}
return $message;
});
Thanks.
c-alleParticipantThanks, it works perfectly.
c-alleParticipantThis reply has been marked as private.August 30, 2019 at 10:53 pm in reply to: Make the email and phone black out in the message content. It's possible? #28699c-alleParticipantI checked, I have no other code. If I send a simple message with only an email address and a phone works perfectly. If, on the other hand, I send the message I sent you before, the email is not replaced with [EMAILNASCOSTA] but a blank space appears.
Thanks.
-
AuthorPosts