Jump to content

The Old Man

Clients
  • Posts

    3,958
  • Joined

  • Last visited

  • Days Won

    11

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by The Old Man

  1. Hi @Mike John Located in applications/core/modules/admin/support/support.php, line 828 onwards Confirmed the email address (and user names) as: $supportAccount = \IPS\Member::load( 'nobody@invisionpower.com', 'email' ); $name = 'IPS Temp Admin'; $name = "IPS Temp Admin {$number}"; Perhaps you could add a similar filter to your Birthday Greeter app as well? Many thanks.
  2. Yes it is always the same name and email address that gets created for use by IPS tech support. Thank you!
  3. I'm confused, not hard to achieve these days but I must be missing the glaringly obvious. IPS keeps you up to date with activity and content which you can extend further with services like Zapier. There are browser notifications, in-line IPS notifications and I receive notifications coming through of replies to this topic via Gmail app. Admittedly, those notifications are actually notifications of new unread emails, but a snippet of the content is displayed, there is an audio alert, a pop up I can choose the format of even on my lock screen etc. So is there any benefit or improvement with say end user experience with these extra proposed push notifications that we are currently missing out on? Or is it just reinventing the wheel? 😊
  4. Just confirming that Afterburner has been tested and works fine with v4.4.4. Updating to IPS 4.4.4? No need to remove, disable or update the Afterburner S3 plug-in when upgrading to IPS4.4.4, it will continue to work in the background as your updated, compressible 4.4.4 JS and CSS theme files export to your S3/Wasabi bucket. Or if you prefer, you can also transfer your theme files only back to the default storage method, upgrade to 4.4.4 and then transfer your upgraded theme files back to your S3 storage.
  5. If you don't get much that's really rather fortunate, but some of it is really nasty and illegal, not just your friendly Nigerian prince who needs your $10 to reclaim his millionaire inheritance or another advert for magic, blue M and Ms. Secondly, if you run a community for a client like a local charity or organisation, they don't expect to receive stuff about indecent images of children etc, and neither do you of course, as an admin. If IPS can help block even some small amount of this stuff received through its software, whether it's integrating a new version of ReCaptcha or integrating or improving their anti-spam spam facilities, or other blacklists or honeypots, why not simply help? As an admin of your server you can do a lot to help reduce spam, but you also leave yourself at the mercy of others to do their bit too.
  6. Hi @Mike John, Is there any way to add blacklist or more specifically turn off autowelcome for the automatically generated IPS Support account? Many thanks!
  7. If you have a busy community, push notifications could become a real endless nuisance. A lot of mobile device owners complain of too many notifications, for every single app it seems these days. Could be useful though for things like reported content to staff notifications, as opposed to the every day jibber jabber.
  8. I don't think Native Lazy Loading is available until Chrome 75 is out in June, and even then that's only 1 browser. Interesting potential though. https://caniuse.com/#search=Lazyload https://css-tricks.com/native-lazy-loading/ .
  9. Hi, Just confirming that the Afterburner plug-in has been tested and works okay after updating to v4.4.3. Many thanks.
  10. Hi SJ, Sure, everything is relevant and what benefits one admin may be different to another, but I'll try and answer best I can as I'm keen to avoid making any 'wild claims' and aim to be clear about what it does and doesn't do. First, it's important to note that you "don't need it" or "won't benefit" from it if you are NOT already using Amazon S3 (or it transpires an 'S3-compatible' type storage like Wasabi). S3 is a requirement. The Afterburner S3 Lite plugin is lightweight and currently improves the caching headers ONLY on compressible IPS theme resources (CSS and JS files) sent out to be hosted on S3, which by default lack some useful headers that can genuinely give your site's performance, page loading speed/time etc a welcome boost. So if you are not already using S3 storage for your IPS Community, there is currently no point in buying this, at least in its current Lite version. If you use DO use AWS S3 for external storage for anything in the AdminCP Storage Configuration options screen EXCEPT your IPS's theme resources, then again there is no point as Afterburner applies some checks first to make sure it is only adding the additional request headers to S3 hosted JS/CSS theme files. It also conditionally checks so that it doesn't apply them if you are locally hosting your theme resources on your own server (the traditional, default storage method), as your local webhost should ideally be doing that for you, if properly configured. That may become part of a feature in a larger app version of Afterburner, as I think it could help a lot more users. Some example S3 related scenarios 1) You already host your IPS Gallery images or Attachments in an S3 bucket, but you DON'T host your theme resources in an AWS S3 bucket. Therefore you don't need Afterburner S3 (Lite) as it only targets theme compressible JS/CSS resources, nothing else. If you later do start hosting your theme resources on S3, then Afterburner Lite will be useful. 2) You don't use AWS S3 storage at all, your theme resource files are contained on your localhost or elsewhere using one of the other storage configurations available in the AdminCP. Therefore again you don't need it. 3) You are intending to host your theme resource files on AWS S3 but haven't yet bought or configured S3 yet. In that case, I'd definitely recommend holding off until you've bought AWS S3 and got it working properly. Once you are using S3, if you are interested in say improving your GTMetrix Vary: Accept Headers score rating or the more real world perceived benefits of improved caching (like improved visitor experience or bandwidth savings), then I would highly recommend using Afterburner S3 (Lite). Remember, the plugin won't do anything unless you have set up S3 first in your IPS4 AdminCP. AWS Cloudfront CDN Afterburner S3 works correctly with S3 and Cloudfront, Amazon Web Service's CDN. I currently use that combination on multiple IPS sites, and also on one site fronted by Wordpress combined with IPS Gallery only. Using AWS S3 with a different CDN like Beluga, MaxCDN etc If you've configured your CDN so that it's respecting your S3 bucket headers, or it doesn't remove them, it should be fine working with Afterburner, the plugin will add the extra Expires headers necessary to resolve the Vary: Accept Encoding header requirements. It may be possible to configure your CDN to do the work of Afterburner to some extent, but I suspect without correct or extra configuration it would likely apply the same retention period to every type of file which isn't ideal, not just your compressible theme resources. If you want to test with a CDN other than Cloudfront, by all means drop me a PM. Cloudflare I also use Cloudfront but it is important to note that Cloudflare is much more than solely a CDN product like Amazon Cloudfront is. It's also not quite a true CDN in the sense as I understand it has some limitations by comparison in relation to caching pages. I configure Cloudflare to 'respect existing headers' mode and it works fine. You could in theory use Cloudflare to add the missing headers Afterburner provides, but unless you have lots of pagerules configured, you'd be applying the same expiry dates/cache retention period to everything, all types of static files including audio, images etc, not just your theme's compressed/encoded JSS and CSS files. The aim is to cache CSS and JS for shorter periods than truly long term static files such as images that are unlikely to change that often. Because I've been doing a lot of testing recently, I configured a rule in Cloudflare to bypass caching on my cdn.mywebsitesurl.com (the dns CName that points to the real URL of my Cloudfront CDN). That way I could still 'Orange Cloud' the Cloudfront CDN url to get all the other Cloudflare benefits like DDoS, minification, bad bot protection and importantly the fast DNS Cloudflare offers. Anyone can use Cloudflare without using its CDN feature. I've also used Cloudflare for extra caching on top of Cloudfront and S3, and have started to re-enable it. When a cached resource expires in Cloudflare, it goes back to get it from Cloudfront or the S3 bucket if it has changed, then caches it again until it expires again and so on. Example Scenarios in relation to using Cloudflare 4) You have S3 Hosting your IPS theme resource files. You don't have Cloudfront, you don't have Cloudflare. You can benefit from Afterburner, but you'd be strongly advised to use a CDN for increased performance worldwide and to reduce S3 storage costs. 5) You have S3 Hosting your IPS theme resource files. You also have Cloudfront CDN, you don't have Cloudflare. You can benefit from Afterburner. If you add Cloudflare, you get the extra goodness even if you configure a pagerule not to exclude caching your S3/Cloudfront Theme JS CSS resources. 6) You have S3 Hosting your IPS theme resource files. You have Cloudfront, and you have Cloudflare. You can benefit from Afterburner, and both Cloudfront CDN and Cloudflare protection, cacheing of images etc, DNS, firewall etc. Using Cloudflare with Cloudfront or another CDN has a lot of advantages and can reduce your S3 and Cloudfront costs but is worth it for the dns speed and extra protection alone, IMHO. Hope this helps! That's a bit beyond the scope of this topic and it all depends on how much you are storing and for how long, how often you are accessing it etc, but they do an offer with lots of free resources/capacity for the first year and you can see what it costs in the cost explorer feature, set budget alarm notifications etc. In my experience it costs about £3-£8 a month now I'm out of the free year on my busiest, larger site. I can tell you that the free PUT upload requests to your bucket can get used up in days especially if you are fine tuning or getting started but it's really inexpensive until the next months free allowance starts again. I've just had invoices for $0.02 for one site and $0.19 for another, which are both in the first year usage period.
  11. Boston, drop me a PM if you want a test demo version to try with S3 and MaxCDN. It's limited to 60 minute caching but should be enough to test with. 😊
  12. Hi @BostonBob The plugin currently just adds the additional headers to the files stored in an S3 bucket, I still use Cloudfront personally but I'm thinking the brand of CDN you use in front of your bucket to distribute your content shouldn't make any difference. The plugin currently doesn't do anything involving Cloudfront or any specific CDN, it just improves the files created as they get stored on your S3 bucket. As long as you are using S3, or as pointed out by a reviewer on the file, it also works with one of the S3 compatible type providers called Wasabi. So if you were just using AWS S3 on its own without a CDN, that's fine, the visitor's browser would get the extra headers that the plugin added. If you add the url of your CDN into the AdminCP storage configuration, it should work just the same. I could probably make a test version.
  13. Sorry, I'm not sure I quite understand you but to clarify, this is about storing a theme's public, cachable css and js files on Amazon S3. If you don't store them on Amazon S3, or you instead only use S3 for other files or resources such as images, then no, you don't need this. In that case, your server if properly configured should be adding the necessary headers to your js.gz and css.gz files. If you do store your js.gz and css.gz Theme files on Amazon S3, when a visitor loads the IPS website's page their browser will state via sending a Vary: Accept Encoding request header whether it can accept encoded/crompressed files and which format it will accept and in which order it prefers (gzipped, brotli, deflate etc). In which case, Amazon S3 knows in return it can send the browser the faster loading, less bandwidth demanding compressed versions of the JavaScript and CSS files, which tend to have a .gz named file extension on the end of the filename, knowing that the visitor's browser will be able to decode/decompress those files successfully. If the browser says it can't accept encoded/compressed files, then Amazon S3 will send the regular, non-compressed version of the file. And this is the issue, IPS doesn't add the necessary headers to achieve this with S3 hosted files. Hence the plugin to save adding them manually. As all modern browsers will today accept gzipped encoded files (where supported BR, aka the Google developed Brotli, is supposed to even more efficient), it means being able to receive them via Amazon S3 helps achieve better performance, higher GTMetrix Pagespeed scores if you are into that, and potential bandwidth savings. I hope I've answered your question and explained the reasoning behind it. 🙂
  14. Afterburner - S3 Advanced Caching (Lite) is a plug-in which helps improve cache performance on compressed, cacheable IPS Community managed CSS and JS files (Theme Resources) stored remotely on Amazon S3. Afterburner - S3 Advanced Caching (Lite) provides: Increased Caching Performance - Helps reduce page loading times. Increased Caching Efficiency - Helps reduce server load, bandwidth costs. Potential to boost SEO performance, since Google favours faster loading websites. Low cost provides a high Cost to Benefit Ratio. One off price, includes free compatibility updates for current major version of IPS. Easy to install. Starts working immediately in conjunction with IPS background tasks. Lite version requires no additional configuration in AdminCP. After installer/updater completes, just run the Support Tool to rebuild your theme cache at S3. Works on all installed themes JS/CSS resources, both official and third party themes, with no limit on number of themes. Just leave Enabled. Can be removed at any time, but of course you would instantly lose the extra headers & related benefits if disabled or uninstalled. Adds additional Request Headers automatically to each relevant, publicly cacheable, compressible IPS theme JS/CSS file. Works silently in the background, whenever IPS Community Suite exports theme resources to AWS S3. Even if you install a new theme. Improves the individual Vary: Accept Encoding PageSpeed test score at GTMetrix, and overall GTMetrix scores. Improves the Add Expires related YSlow test score at GTMetrix. Helps maintain an A(100) GTMetrix Pagespeed score on your Amazon S3-hosted IPS Theme JS and CSS theme files in the background. (If you also have other third party compressed files hosted elsewhere, such as Google APIs etc, they are beyond our control but Afterburner will still boost the test rating for your relevant IPS Theme Resource files that you host at S3). Requires working AWS S3 or S3 compatible storage bucket. Works either with or without an optional CDN such as Cloudfront, Cloudflare etc. What's it for? This plugin was created for IPS Community admins who in particular seek the benefits and efficiency of increased caching performance. After a lot of research, trial and error trying to resolve the problem of Amazon S3 hosted, compressible IPS4 theme resource not passing the GTMetrix.com Vary: Accept Headers and YSlow Add Expires tests, which effectively means lower GTMetrix scoring. After finally confirming the additional caching headers needed for compressed, cacheable files to pass the Vary: Accept Encoding PageSpeed and YSlow Expires tests, it quickly became clear that if you want to maintain persistent higher score ratings and the associated performance and efficiency benefits there was a slight caveat. Due to the frequency that those resource files get regenerated, re-cached and re-uploaded in the background to your S3 bucket, it can quickly become a time-consuming, frustrating and repetitive task as it requires the admin to keep manually replacing the additional headers via the Amazon S3 Management Console (sometimes multiple times a day depending upon the circumstances). When AWS S3 hosted Gzipped/Brotli-encoded JS and CSS theme files change, either manually by the admin such as installing or updating a theme, plug-in or app, running the Support Tool or following various automated system tasks, the additional manually added headers are lost. Therefore, a plug-in to automate the process of adding the additional headers would seem an ideal, easy to use alternative solution compared to say, writing and maintaining an Amazon Lambda script to inject the necessary headers. So how does it work? IPS 4.4 has a lot of great performance improvements already, but if you opt to use Amazon S3 to store your IPS Community theme files, Afterburner S3 Advanced Caching (Lite) will automatically add additional caching headers to each of the relevant publicly cacheable, compressible theme JS and CSS files, whenever IPS Community Suite exports them to S3. Afterburner Lite automatically adds Expires headers to each .gz file which are set in this Lite version to automatically expire after 8 days, sufficiently long enough to pass the relevant GTMetrix Vary: Accept Encoding test. See the attached screenshots on the download page for more. Afterburner automatically works via Curl or Socket IPS file transfers by hooking into both, depending upon how your server is configured. Afterburner therefore helps improve caching performance on those S3 hosted theme files, which in turn helps reduce page loading times throughout IPS Community Suite, whichever apps or third party add-ons or themes you have installed it doesn't matter. Thanks to BFarber for suggesting alternative HTTP hook-points. How do I use it? Does it have any adjustable settings? This is the 'Lite' version which requires no further configuration after installing. I recommend running the Support Tool afterwards, see TIPS section below. The necessary caching headers it creates are pre-set to expire after 8 days, the minimum recommended. Afterburner (Lite) doesn't alter anything else but S3-hosted theme JS and CSS files in transit to your S3 bucket. This is my first plugin for IPS. If there is enough interest, I'm hoping to create a more fully featured app version with additional features, stats and admin configurable Settings etc, so you can tweak the caching performance to suit your individual needs. Requirements Compatible with latest IPS Community Suite 4.4 series. Developed on 4.3 and tested on 4.4. Requires a pre-configured and properly working Amazon AWS S3 storage bucket (Versioning mode recommended), correctly set up in IPS Community AdminCP to host your Theme Resources (Files > Storage Settings under Theme Resources). See the IPS Help Guide for more. How do I install Afterburner? This is an IPS plugin, so after downloading it, install the Afterburner XML file via the AdminCP > System > Plugins > Install New Plugin facility. IPS Community will install the plugin and enable it, and Afterburner will then inject the relevant additional caching headers to your js.gz and css.gz files as they next upload to your pre-configured S3 bucket used for Theme Resources. TIPS I do recommend running the AdminCP Support Tool after installing/updating the plugin to re-cache and upload ALL relevant files rather than waiting for the next scheduled task or manual action that will update them. If you are also using a CDN such as Cloudfront, Cloudflare etc, I also found it useful in testing to clear/invalidate Cloudfront/Cloudflare afterwards, instead of waiting for them to next update themselves when they check for updated files and send to their respective Edge locations. How to update to a newer version of Afterburner? To upload a newer version, just use the usual Upload New Version button next to Afterburner in your list of plugins. Does it work on cloud hosted IPS Communities (CiC)? I don't see why not, as long as you have S3 hosted theme resource files. I only have self hosted IPS sites myself. How do I know it's working? There are a few ways to test. You can benchtest your site at GTMetrix before and afterwards. Look out for the Vary: Accept Encoding Pagespeed test score. Before example:- GTMetrix is advising us that these theme JS and CSS files hosted at S3 do not specify a Vary: Accept-Encoding Header. After example: You should see a A(100%) score for the test after installing Afterburner (unless your site also uses other external cacheable compressed files etc which you don't have control over such as at Google APIs etc which would reduce it). If you then look at the Waterfall tab, you should see similar to this: Alternatively, you can use the Amazon S3 Management console to view the Metadata headers on the actual stored gz files as seen in the screenshot below: Another way to see if the additional Expires headers have been added to S3 hosted cacheable JS/CSS files is to use the developer console in your Chrome or Firefox browser (hit F12 and reload the page):
  15. Hi @Adriano Faria I haven't found any issues using this on IPS4.4 yet, but I wondered if you could confirm compatibility? Many thanks.
  16. Hi, I just checked on my 4.4.1 with current Supergrid and it's fine for me too.
  17. Yes, you can delete one, or both. I suppose to make it a bit less confusing as to why there are two entries, perhaps Esther could add another column for Type, Transactional or Non-transactional. Handy feature though, it saves having to log into SP. 🙂
  18. I checked and you were spot on, I missed this as well. I only had two out of about 10 entries that were validating members. Many thank to you and Headstand for the super quick fix. re the duplicates, looking at the suppression list in the SP dashboard, one is for opting out of transactional mail, the other is for non-transactional mail, so that is okay. There is a delay before the suppression list is updated, a few minutes, until then the email addresses continue to show. If you delete one of the unintended suppression list entries in the AdminCP as opposed to the SP Dashboard, obviously you don't know which transaction type it is from looking at it, but you get an error message if that email address and transaction type has already been removed: A configuration or server error has occurred 1ASPSL/1 NOT_FOUND As Alex says, if it is there, it deletes fine and confirms via message.
  19. Adding front-end Pages elements to Clubs has to be a no brainier. IPS said it would be added later when Clubs were announced. The drag & drop WYSIWYG content block I think the majority of clients would first make use of the Pages front-end WYSIWYG block, to have blocks of cacheable content including text and images which they can drag where they want, into a single or multiple column layout. It would be ideal for homepages/about pages, basically any kind of information and content needed to add value, sidebar content blocks etc. Actually the same principal as that behind members being able to add custom content blocks to their Blogs several years back; to personalise and make relevant and interesting content available including text, image, video/music embeds and other file attachments, links etc. Pages Articles Giving members ability to create articles in the Club with the editor should be a basic requirement allowing for Club news, featured content, content categories, paid or free, RSS feed imports. Calendar Intergration Have to say the Calendar access via Clubs is very limited without allowing Club owners the ability to import iCal RSS news and event feeds into Club Calendar and potentially Pages Articles. This goes back to the point I've been saying for some time, Pages front-end should be enhanced to supplement the current page layout and record options with drag and drop, touch ready call to action blocks, sliders, carousels, news article sliders, pricing tables, quote blocks, image and video blocks, testimonial blocks, etc. Droppable into full-width rows, 1-12 column rows. Add those 'Divi' style features to Pages for Clubs and you've nailed it, ultimate flexibility and personalisation. Add New Page to Club, choose initial 1, 2 or 3 column layout, add row, make full width or add columns to that row. Add custom text WYSIWYG blocks, slider, image blocks. Job done.
  20. Thanks @HeadStand I removed the existing smtp entries in AdminCP and it worked fine. However now that I'm using the EU version, it won't accept my API key. To clarify, I created a brand new API key at Sparkpost EU dashboard and it refuses to accept it in AdminCP when I select the EU version. 2S123/1 The API Key you supplied appears to be incorrect. Please check your API Key and try again. it is definitely correct though.
  21. +1 choice is good. @HeadStand did a fabulous job of restoring Sparkpost API back to where it belongs. Perhaps she could duplicate with AWS SES for you guys if there is enough demand.
×
×
  • Create New...