Hey thanks Byron... forgot to check perch debug which showed some db tables missing – the app deployment may have skipped a few files so I've re-installed the app and the list is showing up now. Got the optin working too.
I would like to use an opt in checkbox in a contact form to automatically subscribe the user's email address to a Mailchimp audience / list. The Mailchimp app is supposed to be able to do this by including the confirm_subscribe field as described here: https://docs.grabaperch.com/ad…amples/subscription-form/
I've installed the Mailchimp app on a staging server, added the api key & hit sync but no list, subscriber or campaign data’s coming in from the Mailchimp account (very little data on this account).
Without the data from Mailchimp, I have no list id to include in the form! Is the Mailchimp app still working for anyone else out there?
Time is running out on this – My clients using Perch Shop have received further email notifications from Stripe saying full SCA enforcement begins on 31st December.Quote
We wanted to remind you about required changes to your Stripe integration due to Strong Customer Authentication (SCA). While full enforcement begins on 31 December 2020, gradual enforcement of these requirements has already begun, as some banks have started to decline a portion of payments that aren’t SCA-ready.
Although SCA enforcement was delayed in 2019, we do not anticipate the European Banking Authority (EBA) to grant any further delays. Because of this, we recommend updating your ***** account Stripe integration as soon as possible to avoid your payments being declined.
Is this likely to be addressed at all? & if not, are there any alternative options other than moving the site to another platform?
If I had to choose one it would probably be https://ballyvolanehouse.ie — uses Runway, blog, forms
Another couple of other Runway sites that worked out well:
I have a few Runway sites using Amazon S3 / Cloudfront CDN to host images, which clients have been having problems uploading some jpgs to. For ages, I assumed the problems were memory related, i.e. clients trying to upload huge 300dpi jpgs, but on further testing I've discovered that these files upload fine if the exif metadata is removed.
These files do actually upload to the CDN but Perch seems unable to create the thumbnail preview and when you reload the asset page the link to the uploaded file disappears, i.e. there's an entry for the asset title but the association to the uploaded file is lost, so it can't be added to a content region.
I have no problem uploading the same files on another Runway installation (same version) that uses the default self hosted resources folder, i.e. on the same server as the site.
Has anyone else experienced similar problems or found any solutions?
Does anyone know if Perch shop has been updated to incorporate the Stripe SCA integration yet? I've just updated an installation to Shop 1.2.6b but can't find a recent changelog to see what's in the update.
Thanks so much Hussein, changing the route slug instead of blogslug has fixed it!
I tried adding the blogslug token to runway.php but it didn't work, although my local version is still working away happily using blogslug without the custom token being defined - Most confusing!! Thanks again.
I've broken a client's runway blog by trying to hide the blog sub-pages (Post, Archive, RSS) from the clients page list - I figured adding the routes directly to the master pages would allow me to remove the subpages from the page listing but I mistakenly added the blog post routes (blog/[blogslug:s] & blog/[blogslug:s]/[preview:preview]) to the blog Index master page. Realising my mistake, I deleted the routes from the blog Index master page but now the routing is broken and all posts are returning 404s.
The post can still be accessed via the querystring , i.e. client-website.com/blog/post?s=yyyy-mm-dd-some-blog-post-name, but the clean url (client-website.com/blog/yyyy-mm-dd-some-blog-post-name) no longer works.
Category, tag & archive listing routes are all working fine as I hadn't got round to messing these up!
Runway 3.1.3, blog 5.6.1 - afraid to update Runway 'til I get this sorted!
I tried deleting the blog post page from Runway and adding it again with the correct post routes, but it's still not working.
Any suggestions would be much appreciated - thanks!
Ah, good point, thank you. Hopefully 'sausages' will be be more successful!
I've just had to trawl through 500+ form responses to delete spam / separate false positives & my wrists are not fairing well!
Is there any way to increase the number of items (form responses, collection items, products, etc) per page displayed in the Perch UI?
Or some way to display more page numbers than    ... ?
If not, could we please have some more pagination controls, located both at the top and bottom of the listings?
It's very frustrating trying to access higher page numbers as it requires multiple clicks in addition to having to scroll to the bottom of the page to access the navigation controls to advance to the next page!
I added a honeypot field to a perch form for a client a few months back as the amount of spam was becoming problematic, as per instructions here: https://docs.grabaperch.com/addons/blog/spam/.
It certainly reduced the amount of spam but also seems to have marked a lot of valid enquiries as spam - approx. 20% of (over 500) messages listed in the spam tab were false positives.
How can this happen? Do some browsers automatically fill empty fields?
I'm aware of Ryan's new Recaptcha add-on & Akismet as alternative methods of managing spam but just wanted to see if I have the built in option working correctly first.
The contact form template below is called using perch_content('Contact form');
- <perch:form id="contact" method="post" app="perch_forms" class="contact-form clearfix">
- <perch:content id="body" type="textarea" size="xl autowidth" label="Text" markdown="true" editor="markitup" html="true" />
- <div class="input">
- <perch:label for="name">* Name:</perch:label>
- <perch:input type="text" id="name" required="true" label="Name" />
- <perch:error for="name" type="required">Please add your name</perch:error>
- <div class="input visuallyhidden">
- <perch:label for="surname">Please leave blank:</perch:label>
- <perch:input type="text" id="surname" antispam="honeypot" />
- <div class="input">
- <perch:label for="email">* Email:</perch:label>
- <perch:input type="email" id="email" required="true" label="Email" />
- <perch:error for="email" type="required">** Your email address is required **</perch:error>
- <perch:error for="email" type="format">** Please check your email address **</perch:error>
- <div class="input">
- <perch:label for="tel">* Telephone:</perch:label>
- <perch:input type="tel" id="tel" required="true" label="Telephone" />
- <perch:error for="tel" type="required">** Your telephone number is required **</perch:error>
- <div class="input">
- <perch:label for="subject">* Subject:</perch:label>
- <perch:input type="text" id="subject" label="Subject" />
- <div class="input">
- <perch:label for="message">* Message:</perch:label>
- <perch:input type="textarea" id="message" required="true" cols="30" rows="4" label="Message" />
- <perch:error for="message" type="required">** Please add a message **</perch:error>
- <perch:input type="submit" id="submit" class="btn" value="Send" />
- <div class="alert-success">
- <perch:content id="success" type="textarea" label="Thank you message" markdown="true" editor="markitup" />
- <p class="contact-form__notes">[* required fields]</p>
Runway 3.1.4 diagnostic:PHP
- Perch Runway: 3.1.4, PHP: 5.5.38, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
- Server OS: Linux, fpm-fcgi
- Installed apps: content (3.1.4), assets (3.1.4), categories (3.1.4), perch_blog (5.6.1), perch_forms (1.12)
- App runtimes: <?php $apps_list = [ 'perch_blog', 'perch_forms', ];
- PERCH_LOGINPATH: /perch
- PERCH_PATH: /home/ballyvol/public_html/perch
- PERCH_CORE: /home/ballyvol/public_html/perch/core
- PERCH_RESFILEPATH: /home/ballyvol/public_html/perch/resources
- Image manipulation: GD
- PHP limits: Max upload 64M, Max POST 64M, Memory: 512M, Total max file upload: 64M
- F1: 3b606135b33e6a102526838f4152a807
- Resource folder writeable: Yes
- HTTP_HOST: ballyvolanehouse.ie
- DOCUMENT_ROOT: /home/ballyvol/public_html
- REQUEST_URI: /perch/core/settings/diagnostics/
- SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Thanks Ashafer & Drew, leafletjs looks promising, I'll keep it in mind for future projects!
I wouldn't know where to start with writing a different front end for the maps field type - any pointers Drew? Sounds it might be beyond my current capabilities, but always happy to consider a challenge!
From what I can gather, each map load is charged at something like .8c & you're charged for everything after you hit the $200 mark, each project receiving the free tier discount proportional to the number of overall hits in your account - does that make sense? & yes, you get the $200 free tier each month.
They also included an introductory promotion of $250 (I think!), which is what I've now used up.
Not strictly Perch related but I believe many Perchers use Google maps on their sites... Has anyone started encountering massive charges for the Google Map API usage? I have a couple of Runway sites using a jquery Google maps storelocator & loads of Perch sites using basic location maps. Now the introductory discounts have run out & usage is exceeding the free tier, I have to start hitting up clients cap in hand!
Other than disabling maps altogether, I can limit quotas but this would break functionality some of the time & damage overall UX. I know Google warned that the days of free maps API usage was up last year but it wasn’t clear or easy to gauge how long we’d be able coast along under the free tier radar.
I considered setting up separate billing accounts for each client project and inviting them to enter their card details to pay the monthly fees directly. Or billing them manually once a year (I'd be billing for hosting anyway). It would be nice however if Google offered developers a reseller's commission for all this additional revenue we're sending their way and now have to sell future clients on!
Wonder if I can / should set up a new Google cloud account for each client & generate a new API key for their project in this account? They might then benefit from the full free tier ($200), rather than it being spread out across all the projects in my account. There's a bit of work in this & I'm not even sure if it would work.
I haven't looked into alternatives such as Openstreetmap yet, so I'm not even sure if storelocator type functionality is possible. Sorry for the long rant, just wondering if any other perchers have been hit with this yet and if you have, what approach you took - thanks!