Support » Plugin: CryptX » Add Subject Line in CryptX template tag

  • Resolved 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";
    $mail."?subject=Message from";
    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?

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


    Hi katart17,

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


    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);
    $tmp = explode("?", $content);

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

    Is this a preg_replace error?

    Plugin Author Ralf Weber


    Ok, my mistake!

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

    PS: Feedback pls 🙂

    Thanks, works great!

    You can see it in action here:

    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.