Andrew Perryman

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 93 total)
  • Author
    Posts
  • in reply to: Add additional words to error output #21141
    Andrew Perryman
    Participant

    Cool, thanks Shamim…

    Andrew Perryman
    Participant

    Shamim.. you are a star ????

    I have tested it and it works a treat.. ????.

    Thank for you lightning support response..

    I have created a custom plug in to place all my PHP fep amendments in and it works perfectly from the plugin too.

    As said before, only as a seed of thought, maybe a dashboard checkbox to give a choice to turn this on or off would be great in the next version.

    Andrew.

    in reply to: Repies not being forwarded from the piping mailbox #20996
    Andrew Perryman
    Participant

    Hi Kelly,

    Was this a reply or question for Shamim or me as I can see what you have asked if it was for me it as you have marked it private and it has been screened from all except Shamim?

    Andrew

    Andrew Perryman
    Participant

    Shamim,

    Xmas bonus sent via my wife account… 🙂

    Have a great new year.

    Andrew

    Andrew Perryman
    Participant

    Hi Shamim,

    Wow that’s great.

    Thanks for all your input it will make the listing much more insightful for all.

    I would like the donate a Christmas bonus to you for a the efforts you have made but can’t find a way to do it.

    Can you please send me your preferred payment method or PayPal account detail via a PM..

    Thanks

    Andrew

    Andrew Perryman
    Participant

    Hi Shamim,

    I does not need the word “Group” just the group “name” of the group is enough…

    You could set a limit and truncate the full name that is displayed, it is just so people can see instantly what group the icon represents rather than having to click and view every group icon to find the group they want to answer.

    Andrew

    in reply to: Repies not being forwarded from the piping mailbox #20048
    Andrew Perryman
    Participant

    Shamim,

    Update… The odd un-forwarded user has now received forwarded mails successfully on their home network so I can only assume he has decided to reply to emails via a browser session or infant stopped using an otherwise PC. The other possibility is that his windows main platform has received adequate updates to be current and naturally eliminated the problem as an update fix.

    Who knows but I will keep a close eye on his message activity..

    I’ll mark this thread a s resolved.

    Andrew

    in reply to: Extra mail variable request. #20038
    Andrew Perryman
    Participant

    Shamim,

    You star… ????

    Yes that worked for both prompt mails both New message and new reply, well done, I can now safely say this will hopefully eliminate cross talk confusion for all those users that share multiple groups.

    I hope you get a good nights sleep..

    Andrew

    in reply to: Extra mail variable request. #20033
    Andrew Perryman
    Participant

    Shamim,

    So after many diferent tests I think the reply tag is not working for some reason..

    However the new message tag does only on the first initiate new message.

    Andrew

    in reply to: Extra mail variable request. #20030
    Andrew Perryman
    Participant

    Shamim,

    I wonder if the reply is being stripped of the new tag?

    just a seed of thought.

    Andrew

    in reply to: Extra mail variable request. #20027
    Andrew Perryman
    Participant

    Hi Shamim,

    Is the ‘where’ section correct in the routine below as it works for a new message in the email prompt and displays ok but when it is piped back via a reply it does not display on a new reply, it look like the return variable is empty unless the ‘where’ section is missing the correct description for ‘reply’?


    add_filter( 'fep_eb_email_legends', function( $legends, $mgs, $user_email ){
    $legends['cus_group'] = array(
    'description' => __('Mail group name', 'front-end-pm'),
    'where' => array( 'newmessage', 'reply' ), //where this tag will be used
    'replace_with' => ! empty( $mgs->mgs_id ) ? apply_filters( 'fep_is_group_message', '', $mgs->mgs_id ) : '',
    );
    return $legends;
    }, 10, 3);

    your thoughts..

    Andrew

    in reply to: Extra mail variable request. #20024
    Andrew Perryman
    Participant

    Hi Shamim,

    Cool thanks, that fantastic it works a treat… 🙂

    I was about 80% there when I realised I needed to use an apply_filter…

    $group = apply_filters( ‘fep_is_group_message’, true, get_message_id() );

    But this just gave me 1 or 0.. you saved me a big headache.. lol

    Anyway thank you very much.

    I replied to you PM message r.e. satBB.

    Andrew

    in reply to: Extra mail variable request. #20019
    Andrew Perryman
    Participant

    PPPS..

    Shamim,

    I am shooting in the dark here, what variable should it be to set the current group the message is being sent to?

    For example..

    ‘replace_with’ => [ $group ][‘name’]

    Andrew

    in reply to: Extra mail variable request. #20016
    Andrew Perryman
    Participant

    PPS..

    Plus this will need extra code wrapped around it to identify and to only set the tag if a group is chosen..

    Andrew

    in reply to: Extra mail variable request. #20013
    Andrew Perryman
    Participant

    PS..

    Shamim,

    I have just started reading through your code but it is wood for trees sometimes but is the variable I am after called – “$message_id” – does this represent the mail group name?

    e.g.
    So would this work…


    add_filter( 'fep_eb_email_legends', function( $legends, $post, $user_email ){
    $legends['group'] = array(
    'description' => __('Mail group name', 'front-end-pm'),
    'where' => array( 'newmessage', 'reply' ), //where this tag will be used
    'replace_with' => '$message_id'
    );
    return $legends;
    }, 10, 3);

    Or have I got this totally wrong and it is called something else?

    Andrew

Viewing 15 posts - 16 through 30 (of 93 total)