Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Sovereign Grace Singles Posted January 11, 2019 Posted January 11, 2019 (edited) 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 January 11, 2019 by Christforums
AlexWebsites Posted January 12, 2019 Posted January 12, 2019 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?
HeadStand Posted January 13, 2019 Author Posted January 13, 2019 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: 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. Then when I send the test distribution, I get: If I remove the smaller and medium images and just have one and then test the distribution, I still get triplets with bullet points... 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? AlexWebsites 1
Sovereign Grace Singles Posted January 13, 2019 Posted January 13, 2019 (edited) 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 January 14, 2019 by Christforums
HeadStand Posted January 14, 2019 Author Posted January 14, 2019 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; Cyboman and Sovereign Grace Singles 2
Sovereign Grace Singles Posted January 14, 2019 Posted January 14, 2019 1 hour ago, HeadStand said: Missing language strings in 3rd party apps threw an exception. Fixed; Indeed it is fixed. Thank you very much!
AlexWebsites Posted January 14, 2019 Posted January 14, 2019 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: 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.
John T Davis Posted January 18, 2019 Posted January 18, 2019 @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! 😎
AlexWebsites Posted January 20, 2019 Posted January 20, 2019 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: 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.
HeadStand Posted January 20, 2019 Author Posted January 20, 2019 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)?
AlexWebsites Posted January 21, 2019 Posted January 21, 2019 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. HeadStand 1
HeadStand Posted January 21, 2019 Author Posted January 21, 2019 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.
John T Davis Posted January 25, 2019 Posted January 25, 2019 (edited) 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 January 25, 2019 by John T Davis missing words
Prank Posted January 30, 2019 Posted January 30, 2019 Hi, I'm just wondering if there are any examples of responsive email templates? This is a fantastic module btw, thank you. Thanks, Christian
HeadStand Posted January 30, 2019 Author Posted January 30, 2019 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. Prank 1
John T Davis Posted January 30, 2019 Posted January 30, 2019 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...
Prank Posted January 31, 2019 Posted January 31, 2019 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. Cyboman 1
HeadStand Posted January 31, 2019 Author Posted January 31, 2019 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. InsideEdge 1
Andy_M Posted February 6, 2019 Posted February 6, 2019 (edited) 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 February 6, 2019 by Andy_M CheersnGears and Cyboman 2
Joel R Posted February 15, 2019 Posted February 15, 2019 Hi @HeadStand I wanted to let you know that I use Newsletter app, and would appreciate an upgrade to 4.4 when it becomes officially available. CheersnGears and andrewbiggs 2
HeadStand Posted February 15, 2019 Author Posted February 15, 2019 6 minutes ago, Joel R said: Hi @HeadStand I wanted to let you know that I use Newsletter app, and would appreciate an upgrade to 4.4 when it becomes officially available. Yessir.
andrewbiggs Posted February 21, 2019 Posted February 21, 2019 On 2/15/2019 at 9:24 AM, Joel R said: Hi @HeadStand I wanted to let you know that I use Newsletter app, and would appreciate an upgrade to 4.4 when it becomes officially available. Yes, please!
HeadStand Posted February 21, 2019 Author Posted February 21, 2019 I will be testing all my resources against 4.4 this weekend. andrewbiggs 1
sound Posted February 24, 2019 Posted February 24, 2019 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()
HeadStand Posted February 24, 2019 Author Posted February 24, 2019 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....
Recommended Posts