Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
CheersnGears Posted July 30, 2018 Posted July 30, 2018 12 hours ago, HeadStand said: Update pushed to the marketplace. Pages Records were showing broken images if no image was present. Fixed. Is there a way to get the template to a point where Outlook2016 will respect image sizes? Apparently, it can be done https://litmus.com/community/discussions/1007-outlook-image-sizes
CheersnGears Posted July 30, 2018 Posted July 30, 2018 2 hours ago, CheersnGears said: Is there a way to get the template to a point where Outlook2016 will respect image sizes? Apparently, it can be done https://litmus.com/community/discussions/1007-outlook-image-sizes @HeadStand I got it working in Outlook by changing the image tag to. I run my images at 300px, but you get the idea. <img src="{$image}" width="300" style="width:100%; height:auto; max-width: 300px;........> HeadStand 1
HeadStand Posted July 30, 2018 Author Posted July 30, 2018 8 minutes ago, CheersnGears said: @HeadStand I got it working in Outlook by changing the image tag to. I run my images at 300px, but you get the idea. <img src="{$image}" width="300" style="width:100%; height:auto; max-width: 300px;........> Thanks. I have some minor fixes coming in the next couple of days, so I'll include this.
CheersnGears Posted July 30, 2018 Posted July 30, 2018 If I'm on the beta, I won't get the automatic update notifications, right?
HeadStand Posted July 30, 2018 Author Posted July 30, 2018 3 hours ago, CheersnGears said: If I'm on the beta, I won't get the automatic update notifications, right? I don't have automatic update notifications. Just follow this topic, I always post when there's an update.
HeadStand Posted August 3, 2018 Author Posted August 3, 2018 New version has been pushed to the marketplace. Changes include: Adjustments to image sizing in default newsletter template. Newsletter was sending to members that were pending validation. Fixed.
John T Davis Posted August 3, 2018 Posted August 3, 2018 @HeadStand, Hello! Thanks so much for all the hard work you've put into this. I've not purchased yet, but I can tell from the Marketplace page and the discussion here that it's a really complex app code-side. Your update speed and customer service is super-impressive. I'm looking to purchase this for a ~300-400 member private community (professional organization) that just migrated from Yahoo Groups. Most of our members were set up to get daily digests from Yahoo that contained a table of contents at the top with every single post for Time Period X (daily or weekly). Clicking the link would get you a full text copy of the post inside the email, so you never had to go to the website if you didn't want to. Can I replicate that with Newsletters? This is the one thing people miss from Yahoo--the ability to see all content without ever leaving the daily/weekly digest email. I looked through the pics in the thread but didn't see anything focusing in on the full-text messages. (Our membership and traffic is small enough that the emails are a managable size. Maybe 30 posts a day max, usually. Often less. We use the default IPS mail stuff.) Thanks!
HeadStand Posted August 3, 2018 Author Posted August 3, 2018 1 hour ago, John T Davis said: @HeadStand, Hello! Thanks so much for all the hard work you've put into this. I've not purchased yet, but I can tell from the Marketplace page and the discussion here that it's a really complex app code-side. Your update speed and customer service is super-impressive. I'm looking to purchase this for a ~300-400 member private community (professional organization) that just migrated from Yahoo Groups. Most of our members were set up to get daily digests from Yahoo that contained a table of contents at the top with every single post for Time Period X (daily or weekly). Clicking the link would get you a full text copy of the post inside the email, so you never had to go to the website if you didn't want to. Can I replicate that with Newsletters? This is the one thing people miss from Yahoo--the ability to see all content without ever leaving the daily/weekly digest email. I looked through the pics in the thread but didn't see anything focusing in on the full-text messages. (Our membership and traffic is small enough that the emails are a managable size. Maybe 30 posts a day max, usually. Often less. We use the default IPS mail stuff.) Thanks! You should be able to replicate this. When you set up your newsletter you have the option to include the post content in the email. You can choose to truncate it or include the full text. The "click to show" will be slightly tricky, but you can add some JavaScript to your newsletter template to accomplish this... though it may not work with all email clients.
John T Davis Posted August 3, 2018 Posted August 3, 2018 1 hour ago, HeadStand said: You should be able to replicate this. When you set up your newsletter you have the option to include the post content in the email. You can choose to truncate it or include the full text. The "click to show" will be slightly tricky, but you can add some JavaScript to your newsletter template to accomplish this... though it may not work with all email clients. Thanks! We would definitely test it thoroughly with a small group before rolling it out to everyone.
John T Davis Posted August 4, 2018 Posted August 4, 2018 @HeadStand, Hello again. I'm setting up a test letter now. I haven't tried to test anything yet, but so far so good. Thanks for actual manual included with the software. It's awesome. I had a quick question. If I'm inserting Topic-type content, and ask it to draw from a category (i.e.: one of the categories that forums are listed under on the main Forums page of IPS), will that capture the topics from all the forums belonging to that category? Or do I need to list off the individual forums? Thanks!
HeadStand Posted August 5, 2018 Author Posted August 5, 2018 4 hours ago, John T Davis said: @HeadStand, Hello again. I'm setting up a test letter now. I haven't tried to test anything yet, but so far so good. Thanks for actual manual included with the software. It's awesome. I had a quick question. If I'm inserting Topic-type content, and ask it to draw from a category (i.e.: one of the categories that forums are listed under on the main Forums page of IPS), will that capture the topics from all the forums belonging to that category? Or do I need to list off the individual forums? Thanks! You need to list off the individual forums.
John T Davis Posted August 5, 2018 Posted August 5, 2018 2 hours ago, HeadStand said: You need to list off the individual forums. Thanks! I'm noticing one odd issue as I test. When I toggle on "Include Number of Comments" for a Topic type Content, I'm seeing one more comment than should be present. That is, threads with no comments indicate "1" comment when using the Test Distribution feature. I just turned that off for now. It's not really something I need since I'm showing the full text of entire threads anyway, but I wanted to mention it in case it's not supposed to do that.
John T Davis Posted August 6, 2018 Posted August 6, 2018 Hello again, I've now published a test newsletter, but I just got a "Delivery Failed" notice, informing me there were no subscribers. That surprised me a bit since I designated a test group to receive the test newsletter, so I went to look at the "Subscribers" page in the newsletter settings. I received EX1054 with the following traceback: Quote SELECT count(*) FROM `core_members` WHERE allow_admin_mails=1 AND temp_ban=0 AND email != '' AND ( ! (`members_bitoptions` & 1 ) != 0 ) AND ( ! (`members_bitoptions` & 1073741824 ) != 0 ) AND (Array) IPS\Db\Exception: Unknown column 'Array' in 'where clause' (1054) #0 /var/www/html/b281778/system/Db/Select.php(378): IPS\_Db->preparedQuery('/*IPS\\Helpers\\T...', Array, true) #1 /var/www/html/b281778/system/Db/Select.php(440): IPS\Db\_Select->runQuery() #2 /var/www/html/b281778/system/Db/Select.php(361): IPS\Db\_Select->rewind() #3 /var/www/html/b281778/system/Helpers/Table/Db.php(309): IPS\Db\_Select->first() #4 /var/www/html/b281778/system/Helpers/Table/Table.php(485): IPS\Helpers\Table\_Db->getRows(Array) #5 /var/www/html/b281778/applications/newsletters/modules/admin/newsletters/newsletters.php(440): IPS\Helpers\Table\_Table->__toString() #6 /var/www/html/b281778/system/Dispatcher/Controller.php(85): IPS\newsletters\modules\admin\newsletters\_newsletters->subscribers() #7 /var/www/html/b281778/applications/newsletters/modules/admin/newsletters/newsletters.php(28): IPS\Dispatcher\_Controller->execute() #8 /var/www/html/b281778/system/Dispatcher/Dispatcher.php(146): IPS\newsletters\modules\admin\newsletters\_newsletters->execute() #9 /var/www/html/b281778/admin/index.php(14): IPS\_Dispatcher->run() #10 {main} My IPS Kung Fu is weak, so I have no idea what could be causing this. I'm guessing it's looking for an "Array" column in a database, and that column does not exist?
AlexWebsites Posted August 7, 2018 Posted August 7, 2018 On 7/22/2018 at 8:58 PM, AlexWebsites said: On 7/22/2018 at 6:14 PM, HeadStand said: Remind me again what this was, exactly? On 7/22/2018 at 5:05 PM, AlexWebsites said: Great to see an update @HeadStand and can’t wait to see how the advertising option works. Were you able to add a filter to the feed based on latest/recent activity? So that we can show updated content? Any word on this?
AlexWebsites Posted August 7, 2018 Posted August 7, 2018 I just installed the new version and tried to add a clubs block but am getting an error; Error: Access to undeclared static property: IPS\Member\Club::$firstCommentRequired (0) Also, when adding an image block, I'm not getting any images for some reason. Does this app need to be reinstalled when updating or is it ok to update the current installed app?
HeadStand Posted August 7, 2018 Author Posted August 7, 2018 A new version has been uploaded to the Marketplace. Changes include: Error when viewing subscriber list. Fixed. Images were not showing up in the newsletters for Image blocks. Fixed. Club blocks generated an error. Fixed. Additional sort in the content type - recently updated content On 8/5/2018 at 8:33 PM, John T Davis said: Hello again, I've now published a test newsletter, but I just got a "Delivery Failed" notice, informing me there were no subscribers. That surprised me a bit since I designated a test group to receive the test newsletter, so I went to look at the "Subscribers" page in the newsletter settings. I received EX1054 with the following traceback: My IPS Kung Fu is weak, so I have no idea what could be causing this. I'm guessing it's looking for an "Array" column in a database, and that column does not exist? I fixed this error in the patch I just pushed, but that wouldn't explain why you have no subscribers. The code to display them in a list and the code to queue are actually different. You would not have hit this error during distribution.
John T Davis Posted August 7, 2018 Posted August 7, 2018 9 hours ago, HeadStand said: A new version has been uploaded to the Marketplace. Changes include: * * * Images were not showing up in the newsletters for Image blocks. Fixed. * * *I fixed this error in the patch I just pushed, but that wouldn't explain why you have no subscribers. The code to display them in a list and the code to queue are actually different. You would not have hit this error during distribution. Thank you for patching this so quickly. I'll check the subscribers thing out this morning. I defined a separate "test" user group and right now there's only one subscriber. Maybe there's an off-by-one error of some kind? I also noticed the version number didn't seem to change with this update. It's still at version 2.0.1. (There are now two version 2.0.1 files available. I think the marketplace may have glitched.)
John T Davis Posted August 7, 2018 Posted August 7, 2018 29 minutes ago, John T Davis said: Thank you for patching this so quickly. I'll check the subscribers thing out this morning. I defined a separate "test" user group and right now there's only one subscriber. Maybe there's an off-by-one error of some kind? I also noticed the version number didn't seem to change with this update. It's still at version 2.0.1. (There are now two version 2.0.1 files available. I think the marketplace may have glitched.) @HeadStand, Hello again. I tested this a bit more, with members belonging to my beta test group both as their primary group and their secondary group, and I never could get the subscriber list to populate. I didn't see anything in the manual that indicated I was doing something wrong. I've attached some screenshots, showing the settings for this particular newsletter, the subscriber list, and the member list for the Feature Beta Test Group I'm trying to distribute the newsletter to. I feel like I'm missing something obvious.
HeadStand Posted August 8, 2018 Author Posted August 8, 2018 On 8/7/2018 at 9:29 AM, John T Davis said: I also noticed the version number didn't seem to change with this update. It's still at version 2.0.1. (There are now two version 2.0.1 files available. I think the marketplace may have glitched.) Version numbers only get incremented when there is a database change. There were none. Keeping the version number was intentional. On 8/7/2018 at 10:02 AM, John T Davis said: @HeadStand, Hello again. I tested this a bit more, with members belonging to my beta test group both as their primary group and their secondary group, and I never could get the subscriber list to populate. I didn't see anything in the manual that indicated I was doing something wrong. I've attached some screenshots, showing the settings for this particular newsletter, the subscriber list, and the member list for the Feature Beta Test Group I'm trying to distribute the newsletter to. I feel like I'm missing something obvious. The subscriber list uses the primary member group only. It does not take secondary groups into account. Are all of those members opted in to emails? When you view their notification settings in the ACP, do they have "send me news and information" checked? The newsletter will not send anything to someone who has opted out of emails.
John T Davis Posted August 9, 2018 Posted August 9, 2018 21 hours ago, HeadStand said: Version numbers only get incremented when there is a database change. There were none. Keeping the version number was intentional. The subscriber list uses the primary member group only. It does not take secondary groups into account. Are all of those members opted in to emails? When you view their notification settings in the ACP, do they have "send me news and information" checked? The newsletter will not send anything to someone who has opted out of emails. Thanks for this info. I had set up a tiny test group (just me) and was trying to get Newsletters sent to that before I blasted everyone. I wanted to make sure everything was working first as far as formatting and content. I'm opted in to receive emails, as well. I've gone ahead and switched it to Opt-In mode. Now that this has made me stop and think about it, I think I like this configuration better than mailing new members by default. I see the Newsletters tab on my profile's settings page, and I tried to opt-in. However, I now get this error: Quote INSERT INTO `newsletters_subscriptions` ( `member_id`, `newsletter_id`, `subscribed`, `format` ) VALUES ( 4159027088, 1, 1, 'HTML' ) IPS\Db\Exception: Duplicate entry '8388607-1' for key 'PRIMARY' (1062) #0 /var/www/html/b281778/system/Db/Db.php(807): IPS\_Db->preparedQuery('/*IPS\\newslette...', Array) #1 /var/www/html/b281778/applications/newsletters/sources/Newsletter/Newsletter.php(1142): IPS\_Db->insert('newsletters_sub...', Array) #2 /var/www/html/b281778/init.php(460) : eval()'d code(57): IPS\newsletters\_Newsletter->subscribe('HTML') #3 [internal function]: IPS\core\modules\front\system\newsletters_hook_NewsletterSettings->_newsletters() #4 /var/www/html/b281778/applications/core/modules/front/system/settings.php(54): call_user_func(Array) #5 /var/www/html/b281778/system/Dispatcher/Controller.php(96): IPS\core\modules\front\system\_settings->manage() #6 /var/www/html/b281778/applications/core/modules/front/system/settings.php(40): IPS\Dispatcher\_Controller->execute() #7 /var/www/html/b281778/system/Dispatcher/Dispatcher.php(146): IPS\core\modules\front\system\_settings->execute() #8 /var/www/html/b281778/index.php(13): IPS\_Dispatcher->run() #9 {main} We initially imported member info from our previous platform (Yahoo Groups), which accounts for my bizarrely high member ID number. I'm not sure what the PRIMARY key is in this context.
HeadStand Posted August 9, 2018 Author Posted August 9, 2018 1 hour ago, John T Davis said: We initially imported member info from our previous platform (Yahoo Groups), which accounts for my bizarrely high member ID number. I think that's the problem right there... the system is probably not able to accept a value that high. I'll have to make some database changes to account for that.
John T Davis Posted August 9, 2018 Posted August 9, 2018 14 minutes ago, HeadStand said: I think that's the problem right there... the system is probably not able to accept a value that high. I'll have to make some database changes to account for that. Sorry to create more work for you. ? Invision had to make some changes to the core database as well to account for our member numbers being in the trillions. I think some of those changes were included in the latest IPS update.
Gnuru Posted August 12, 2018 Posted August 12, 2018 Hi @HeadStand, thank you for this great App. I have a problem publishing the newsletter, stating, that the issue_id cannot be null. It happens, if I go to "manage content" and then click on publish newsletter. As I understand, I have to "publish the newsletter" before it gets send out automatically? Could you please help me? What I also noticed, is that if I add more then one content (in manage content) it will only show the last added content. The newsletter itselfs includes the other contents. INSERT INTO `newsletters_queue` ( `issue_id`, `email`, `format`, `hash_key` ) VALUES ( NULL, 'xxxxxxx', 'html', '74998e4c9877bbb87cfde6313add0179' ) IPS\Db\Exception: Column 'issue_id' cannot be null (1048) #0 /var/www/vhosts/teramed.de/httpdocs/system/Db/Db.php(807): IPS\_Db->preparedQuery('/*IPS\\newslette...', Array) #1 /var/www/vhosts/teramed.de/httpdocs/applications/newsletters/sources/Newsletter/Newsletter.php(941): IPS\_Db->insert('newsletters_que...', Array) #2 /var/www/vhosts/teramed.de/httpdocs/applications/newsletters/modules/admin/newsletters/content.php(273): IPS\newsletters\_Newsletter->publish() #3 /var/www/vhosts/teramed.de/httpdocs/system/Dispatcher/Controller.php(85): IPS\newsletters\modules\admin\newsletters\_content->publish() #4 /var/www/vhosts/teramed.de/httpdocs/applications/newsletters/modules/admin/newsletters/content.php(25): IPS\Dispatcher\_Controller->execute() #5 /var/www/vhosts/teramed.de/httpdocs/system/Dispatcher/Dispatcher.php(146): IPS\newsletters\modules\admin\newsletters\_content->execute() #6 /var/www/vhosts/teramed.de/httpdocs/admin/index.php(14): IPS\_Dispatcher->run() #7 {main} Best regards Ralph
Gnuru Posted August 12, 2018 Posted August 12, 2018 Hi, the issue has resolved going through the support tool and fixing the database. Best regard Ralph
AlexWebsites Posted August 12, 2018 Posted August 12, 2018 @HeadStand for clubs block, recent content isn't really working. I'd like to be able to show latest clubs created, is there an easy way to do this? There are only 2 options, recent and popular and both output the same feed.
Recommended Posts