Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1398603

    I may have found a small bug:
    In the avia form some special characters in the email subject are not decoded correctly.
    e.g. ###91### does not become [ and ###93### does not become ].
    (We’d tried to add a keyword like in square brackets to the subject…)
    Also the small “Special Character Translation plugin” did not bring any improvement.
    I am wondering that I have not found a bug report for this so far.
    Regards,
    Mischa

    Enfold 5.4, PHP 8.0.x

    #1398629

    May have found a workaround. The special characters in the subject of the message have to be urlencoded:
    e.g.
    %2F%2FFoo%5C%5C%20What%20if%20%3F%20bar%20%5Boo%5D
    results in:
    //Foo\\ What if ? bar [oo]
    Then only the hint text in the Avia editor is misleading.
    Online url-encoder: http://www.urlencoder.org

    #1398811

    Hi,
    Thanks for your feedback, I see this is already reported on our GitHub issues,
    I’m sure the Dev Team will reply to the GitHub issue.
    https://github.com/KriesiMedia/enfold-library/issues/22#issuecomment-1437049267
    But I believe this is because the Translation plugin doesn’t run in the backend, it is a frontend function using str_replace() thus using encoded characters for the backend mail function are needed.
    I have forwarded this for feedback and will reply when I hear back.

    Best regards,
    Mike

    #1398820

    Apart from the fact that there must be a reason why it doesn’t work and it is certainly interesting to find out how to achieve it i still don’t quite understand why there has to be square brackets in a subject field. What terminology requires this notation there of all places – and could not be done by curved brackets?
    I’m forced to use greater than and less than characters when I try to make proportions clear – there is no alternative to use them.

    PS : i tested the normal keys on my mac ( it is option 5 and 6 ) in that subject field – and they work – and the e-mail i resceived do have those square brackets.
    Where the above-mentioned greater than and less than are not transmitted!

    #1399017

    Hi,
    The Dev Team has modified the Special Character Translation plugin to support the mail form elements with this filter:

    add_filter( 'avf_form_subject', array( $this, 'handler_the_content' ), 9999999, 1 );
    			add_filter( 'avf_form_mail_form_field', array( $this, 'handler_the_content' ), 9999999, 1 );

    In my test it is working, please check the new version.
    Enfold_Support_440.jpeg

    Best regards,
    Mike

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.