Jump to content

Community

HeadStand

Newsletters

Recommended Posts

39 minutes ago, Christforums said:

After the latest update I noticed this morning that the scheduled News Letter was not distributed. The Admincp had a warning about News Letters being "tasked locked". Obviously an issue?

Note, I receive the error:

4C124/6 lang_not_exists__videos_comments

When I disable the Video application the News Letter distributions runs in tasks successfully. Odd, this wasn't a problem until last update.

 

Edited by Christforums

Share this post


Link to post
Share on other sites

I tested regular coded advertisements with images hosted elsewhere and it seems fine. It seems it’s only images uploaded that output all versions with bullets as I mentioned in an earlier post. @HeadStand any fix for this or some direction on what file controls this output, since the last update didn’t fix this?

Share this post


Link to post
Share on other sites
On 1/10/2019 at 7:31 PM, AlexWebsites said:

So just to test and make sure, I added an image into the medium slot for the advertisement so it's like so:

image.thumb.png.e2aafbf9df8dafd934b384fd6e90915e.png

 

I am doing this is a test newsletter and only have an advertisement block added. The preview shows the one image (the main image and not the smaller or medium), so it's easy to assume its working.

image.thumb.png.496ef957243155f3ff5ebacd4b34c80e.png

Then when I send the test distribution, I get:

image.png.dfbcd168f1c5dbcbd957013321a790c0.png

 

If I remove the smaller and medium images and just have one and then test the distribution, I still get triplets with bullet points...

image.png.531a196681c12b7af63a2ead3fd2fcfe.png

Something is very funky here and the update did not fix this issue.

I misunderstood the issue. Sorry about that. I will look into this either tonight or tomorrow.

On 1/11/2019 at 12:34 PM, Christforums said:

Note, I receive the error:

4C124/6 lang_not_exists__videos_comments

When I disable the Video application the News Letter distributions runs in tasks successfully. Odd, this wasn't a problem until last update.

 

This means that the video application is missing a language string, though I doubt that would cause a problem with distribution... that error would hit when you are creating the newsletter. Do you have any newsletter content configured for videos?

Share this post


Link to post
Share on other sites
On 1/12/2019 at 4:17 PM, HeadStand said:

This means that the video application is missing a language string, though I doubt that would cause a problem with distribution... that error would hit when you are creating the newsletter. Do you have any newsletter content configured for videos?

No I do not. With the video application enabled I cannot even preview the newsletter now. Unless I disable the Video application the following errors display. I've wrote the developer for the video application and await his support. Just thought I'd run this by you too:

UnderflowException: lang_not_exists__videos_comments (0)
 

Edited by Christforums

Share this post


Link to post
Share on other sites
11 hours ago, HeadStand said:

A new version has been uploaded to the Marketplace. Changes include:

  • Ads that used multiple image sizes showed all available sizes. Fixed;
  • Missing language strings in 3rd party apps threw an exception. Fixed;

So 3 ads are not showing anymore, which is great. I'm assuming it's using the main image and not the two additional for medium and smaller placements, correct? 

We still have a bullet point issue that comes up on the left with an image upload for ad:

image.png.aeb3fff9b061358349a59c4f783d6094.png

 

Please also check the alignment, seems uploaded image ads are centered and html added ads are left-aligned with preview and distribution. Upload images should probably align left as well.

Share this post


Link to post
Share on other sites

@HeadStand,

Hello! Thanks so much for the new update.

I'm seeing one odd bug right now: when a user (me) has chosen to receive plain text newsletters, the newsletter fails to send.

  • I still get the nightly confirmation email telling me the newsletter has been sent to all subscribers.
  • All I have to do to fix it user-side is flip the toggle back to HTML.

I'm just using the built-in email sending module, not a third party add-on like SendGrid.

Please let me know if you need additional information. Thanks! 😎

Share this post


Link to post
Share on other sites
On 1/14/2019 at 8:20 AM, AlexWebsites said:

So 3 ads are not showing anymore, which is great. I'm assuming it's using the main image and not the two additional for medium and smaller placements, correct? 

We still have a bullet point issue that comes up on the left with an image upload for ad:

image.png.aeb3fff9b061358349a59c4f783d6094.png

 

Please also check the alignment, seems uploaded image ads are centered and html added ads are left-aligned with preview and distribution. Upload images should probably align left as well.

Any word on this? Just following up. Thanks.

Share this post


Link to post
Share on other sites
3 hours ago, AlexWebsites said:

Any word on this? Just following up. Thanks.

A new version has been uploaded to the Marketplace. It contains a fix for your issue.

On 1/18/2019 at 11:40 AM, John T Davis said:

@HeadStand,

Hello! Thanks so much for the new update.

I'm seeing one odd bug right now: when a user (me) has chosen to receive plain text newsletters, the newsletter fails to send.

  • I still get the nightly confirmation email telling me the newsletter has been sent to all subscribers.
  • All I have to do to fix it user-side is flip the toggle back to HTML.

I'm just using the built-in email sending module, not a third party add-on like SendGrid.

Please let me know if you need additional information. Thanks! 😎

I am unable to reproduce this issue. I subscribed myself to a newsletter in plain-text and I received it just fine. 

Are you able to preview the newsletter in plain-text? What do the newsletter logs say (when you view "Back Issues" for the newsletter, how many plain-text subscribers did it detect and how many were sent)?

Share this post


Link to post
Share on other sites
18 hours ago, HeadStand said:

A new version has been uploaded to the Marketplace. It contains a fix for your issue.

The banner image is displaying correctly. The preview is stretched out for some reason, but that's not crucial. The actual test distribution seems to align properly and without bullets. Thanks.

Share this post


Link to post
Share on other sites
1 hour ago, AlexWebsites said:

The banner image is displaying correctly. The preview is stretched out for some reason, but that's not crucial. The actual test distribution seems to align properly and without bullets. Thanks.

Probably some styling in the ACP that is being used here. The test distribution is obviously more accurate.

Share this post


Link to post
Share on other sites
On 1/20/2019 at 12:37 PM, HeadStand said:

I am unable to reproduce this issue. I subscribed myself to a newsletter in plain-text and I received it just fine. 

Are you able to preview the newsletter in plain-text? What do the newsletter logs say (when you view "Back Issues" for the newsletter, how many plain-text subscribers did it detect and how many were sent)?

Hello, @HeadStand,

Thanks for your reply. Sorry it took me a bit to get back to you. I've tried the troubleshooting/testing items you requested.

The Preview (Plain) button shows a correct plain text preview.

The Test Distribution (Plain) does work.

According to the Back Issues, 0 Plain-Text newsletters were sent, with 2 plain text subscribers. All HTML subscribers received emails.

Please let me know if you need more info or for me to try something else.

Thanks again. 😄 

Edited by John T Davis
missing words

Share this post


Link to post
Share on other sites

Hi,

I'm just wondering if there are any examples of responsive email templates?

This is a fantastic module btw, thank you.

Thanks,

Christian

Share this post


Link to post
Share on other sites
On 1/24/2019 at 10:42 PM, John T Davis said:

Hello, @HeadStand,

Thanks for your reply. Sorry it took me a bit to get back to you. I've tried the troubleshooting/testing items you requested.

The Preview (Plain) button shows a correct plain text preview.

The Test Distribution (Plain) does work.

According to the Back Issues, 0 Plain-Text newsletters were sent, with 2 plain text subscribers. All HTML subscribers received emails.

Please let me know if you need more info or for me to try something else.

Thanks again. 😄 

And when you view the subscribers for this newsletter, are you listed? Very strange that it doesn't detect it.

15 hours ago, Prank said:

Hi,

I'm just wondering if there are any examples of responsive email templates?

This is a fantastic module btw, thank you.

Thanks,

Christian

The default templates are responsive. Beyond that, I don't have any samples - I'm terrible at this kind of thing, so I gave the most bare-boned templates possible.

Share this post


Link to post
Share on other sites
1 hour ago, HeadStand said:

And when you view the subscribers for this newsletter, are you listed? Very strange that it doesn't detect it.

@HeadStand,

Good morning. I am indeed listed as a subscriber when I choose Subscribers under the triangle menu.

I switched it back to HTML and it is working as expected again. Odd...

Share this post


Link to post
Share on other sites
8 hours ago, HeadStand said:

The default templates are responsive. Beyond that, I don't have any samples - I'm terrible at this kind of thing, so I gave the most bare-boned templates possible.

Thanks for that. I'll have a play. Maybe we could open this thread or other threads to user submitted templates? Would really help people get the most out of this. I'd be happy to provide mine.

 

Share this post


Link to post
Share on other sites
1 minute ago, Prank said:

Thanks for that. I'll have a play. Maybe we could open this thread or other threads to user submitted templates? Would really help people get the most out of this. I'd be happy to provide mine.

 

If anyone here wants to share theirs, they can. 

Share this post


Link to post
Share on other sites

In case it's useful, here's a modified article template that I use that displays article pictures side by side on a wider screen, and then stacks them under each other on mobile. Seems to work well across all email clients I've tried.
 

  
<!--[if (gte mso 9)|(IE)]> <table width="600" align="center" cellpadding="0" cellspacing="0" border="0"> <tr> <td> <![endif]-->

<table class="container" width="100%" cellpadding="0" cellspacing="0"> <tr>

<td style="text-align: center; vertical-align: top; font-size: 0;">
    {{foreach $items as $pos => $item}}

<!--[if (gte mso 9)|(IE)]> <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> <tr> <td> <![endif]-->

<div style="width: 300px; display: inline-block; vertical-align: top;">

<table width="100%" cellpadding="20"> <tr> <td style="font-size: 15px;"> 

        {{if isset( $params['image_data'] ) && $params['image_data']['field']}}
        {{$imageField = $params['image_data']['field'];}}
        {{$image = $item->$imageField ? \IPS\File::get( $params['image_data']['extension'], $item->$imageField )->url : null;}}

        {{elseif $item instanceof \IPS\downloads\File}}
        {{$image = $item->primary_screenshot_thumb->url;}}
        {{elseif $item instanceof \IPS\gallery\Album\Item}}
        {{$image = $item->shareImage();}}
        {{endif}}

        {{if $image !== null}}
        <a href="{$item->url()}">
            <img src="{$image}" width="300" height="175" style="width:100%;height:175px;max-width:300px;" alt="{$item->mapped( 'title' )}" title="{$item->mapped( 'title' )}">
        </a>
        <br>
        {{endif}}
        <div style='display:inline-block;'>
            {{if !( $item instanceof \IPS\gallery\Image )}}
            <a href="{$item->url()}"><strong>{$item->mapped( 'title' )}</strong></a>
            <br>
            {{endif}}
            {{if $params['show_author']}}
            {$item->author()->name} | {datetime="$item->mapped( 'date' )" dateonly="true"} <br>
            {{endif}}
            {{if $params['show_content']}}
            <div style='display:inline-block;'>
                {{if $params['max_chars'] > 0}}
                {{$content = \strip_tags( $item->content() );}}
                {truncate="$content" length="$params['max_chars']"}
                {{else}}
                {$item->content()|raw}
                {{endif}}
            </div>
            {{endif}}
            {{if isset( $params['show_views'] ) && $params['show_views']}}
            {$item->mapped( 'views' )} views
            {{endif}}
            {{if isset( $params['show_comments'] ) && $params['show_comments']}}
            {$item->mapped( 'num_comments' )} comments
            {{endif}}
        </div>

</td> </tr> </table>
</div>
<!--[if (gte mso 9)|(IE)]> </td><td> <![endif]-->
    {{endforeach}}

 </td> </tr> </table>

<!--[if (gte mso 9)|(IE)]> </td> </tr> </table> <![endif]-->

 

 

Edited by Andy_M

Share this post


Link to post
Share on other sites

for ya info

tried tha app on 4.4

all seemed ok at first  but then repeat notofications led to discovering a task error

Locked Task: queue

Error: Cannot unpack array with string keys (0)
#0 /home/html/system/Email/Email.php(481): IPS\_Email::devProcessTemplate('email__newslett...', 'Newsletter Dist...', Array, 'plaintext')
#1 /home/html/system/Email/Email.php(813): IPS\_Email->compileSubject(Object(IPS\Member), Object(IPS\Lang))
#2 /home/html/system/Notification/Notification.php(574): IPS\_Email->mergeAndSend(Array, NULL, NULL, Array, Object(IPS\Lang))
#3 /home/html/system/Notification/Notification.php(555): IPS\_Notification->sendEmails(Array, Array)
#4 /home/html/applications/newsletters/sources/Newsletter/Newsletter.php(995): IPS\_Notification->send()
 

Share this post


Link to post
Share on other sites
3 hours ago, sound said:

for ya info

tried tha app on 4.4

all seemed ok at first  but then repeat notofications led to discovering a task error

Locked Task: queue

Error: Cannot unpack array with string keys (0)
#0 /home/html/system/Email/Email.php(481): IPS\_Email::devProcessTemplate('email__newslett...', 'Newsletter Dist...', Array, 'plaintext')
#1 /home/html/system/Email/Email.php(813): IPS\_Email->compileSubject(Object(IPS\Member), Object(IPS\Lang))
#2 /home/html/system/Notification/Notification.php(574): IPS\_Email->mergeAndSend(Array, NULL, NULL, Array, Object(IPS\Lang))
#3 /home/html/system/Notification/Notification.php(555): IPS\_Notification->sendEmails(Array, Array)
#4 /home/html/applications/newsletters/sources/Newsletter/Newsletter.php(995): IPS\_Notification->send()
 

That's not the current version. That stack trace doesn't match my code at all....

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...