• Resolved katart17

    (@katart17)


    I am using the Template Tag function to hide an email address and I would like to add in a predefined Subject Line. I’ve tried it using this:
    $mail = $user_info->user_email."?subject=Message from carmelcinema8.com";
    or
    $mail."?subject=Message from carmelcinema8.com";
    But the template tag is stripping out the Subject Line and adding after the Javascript link.

    I am using the AntiSpamBot function to hide emails.

    Any ideas on how to fix this?

    https://www.ads-software.com/extend/plugins/cryptx/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ralf Weber

    (@d3395)

    Hi katart17,

    the problem should be solved with the new version 3.1.1.
    Pls try the new version and give me a feedback.

    Thx

    Thread Starter katart17

    (@katart17)

    Thanks for the update but it seems to break the template tag. I haven’t add the subject line yet.

    Does line 663 need to change from
    $content = explode("?", $content);
    to
    $tmp = explode("?", $content);

    I made this change and the template tag worked, but when I added the following line:
    $mail."?subject=Message from carmelcinema8.com"
    The generate quotes are misplaced.

    Is this a preg_replace error?

    Plugin Author Ralf Weber

    (@d3395)

    Ok, my mistake!

    I fixed the wrong variable and other problems found.
    Please update to version 3.1.2.

    PS: Feedback pls ??

    Thread Starter katart17

    (@katart17)

    Thanks, works great!

    You can see it in action here: https://www.carmelcinema8.com/beta/

    The email icon at the bottom of the page is created by that the template tag.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add Subject Line in CryptX template tag’ is closed to new replies.