Support » Plugin: Subscribe2 » Adding post image into template

  • Resolved ryan4021

    (@ryan4021)


    Hello,

    From looking at the source code it takes {TEXTSHORTCODE} tags and str_replaces them into a mail function to be used.

    I would like to figure out how to add the blog thumbnail attached to the post as well.

    I would like to add something liek a shortcode like {BLOGIMAGE} or {IMAGE} and it formats the image appropriately for HTML emails.

    Could you please help me out with this?

    Thank you

    http://wordpress.org/extend/plugins/subscribe2/

Viewing 10 replies - 1 through 10 (of 10 total)
  • also, I noticed the {TITLE} and {PERMALINK} gives me nothing when testing my send.

    There’s an ‘error’ message i receive in the email when doing {TINYLINK}.

    I’m testing a per posed based email so it should be working.

    Is there something I’m doing wrong?

    Thanks

    @ryan4021,

    The {IMAGE} shortcode already exists in the paid Subscribe2 HTML version.

    When you are testing, what error message do you get for the TINYLINK? This should fallback silently. Are you testing on a site that has at least one post published?

    Hello,

    Thank you , i didnt know this about the {IMAGE} shortcode.

    Yes I have posts already on the blog. It just says ‘Error’ as the message but if there’s a var_dump i could maybe possibly place somewhere in your script and get some extra details I can do this as well if it helps you out.

    Thank you

    Let me clarify too, the post link that goes to the post works and generates fine , but at the bottom in the default template it says ‘You may view the latest post at’ , thats the link that shows error, all the other links seem to work fine though.

    Another question:

    The digest template, does this run off the new post template but just puts it into a loop for the posts you specify in the options?

    If not, do you know where I would edit the settings for the Digest template notification?

    Thanks!

    I found this filter inside the source code and was wondering if this would be beneficial in filtering the post thumbnail into the $message_post variable?

    $message_post = apply_filters('s2_digest_email', $message_post, $now, $prev, $last, $this->subscribe2_options['cron_order']);

    If there is another way to add the thumbnail image in, i just dont want to have to spend $40 and $3 a month to put in a simple functionality for image handling. Seems like it should have that from the beginning.

    Thanks

    @ryan4021,

    Your more recent posts are telling me that you are using a periodic email and therefore digest mode. It you look in the settings page where the keywords are lists next to the template areas you should see that the keywords like {TITLE}, {PERMALINK} and {TINYLINK} are only for per-post notifications – that’s why it isn’t working.

    The filter you found will allow you to rework the digest email content if desired. As for the {IMAGE} tag, you can purchase and cancel the recurring payment if you wish. I’m sure you can understand though that I cannot give the code away for free when a great number of people have already paid for that privilege.

    This is fine though i didnt realize there was free updates and support, i thought it was just paying for plugin and then you pay for membership access so I was confused, makes perfect sense now though.

    I have another question, I have a plugin called popup domination which lets you plug in your HTML newsletter subscribe form into the popup dominator so that it registers to subscribe2 group when people signup.

    http://www.popupdomination.com/

    Thanks!

    @ryan4021,

    Sorry if I’ve misled you but you cannot access updates and support on the paid forum if you cancel the ongoing support. You can of course always ask for support here though.

    What is your question in relation to the popupdomination plugin?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Adding post image into template’ is closed to new replies.