scooterlord
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] reCaptcha v3Thanks for the reply on the module/field isolation. it would be nice to have it. I see the benefits of a bundle in different scenarios, but for this particular project I am working on is an overkill because I only make use of the recaptcha field.
Is there at least any way to de-register scripts/styles on demand? Is there a list of the enqueued scripts/styles?
Thanks again for the support!
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] reCaptcha v3This was a coincidence! We posted on the exact same time! ??
So, to answer your questions:
– I am using the ACF Extended: reCaptcha field
– In the front-end
– I am using the normal acf_formActually you are correct that is in-fact the v2 of the plugin which I noticed after I posted this question. The v3 demo, works somewhat different giving a score that is calculated based on some ‘circumstances’ that I still haven’t found which they are.
https://recaptcha-demo.appspot.com/recaptcha-v3-request-scores.php
So, the question remains, is there a way to ensure that recaptcha is actually properly setup? The only indicator I have is that the recaptcha logo appears and I see no errors in the console. Any more help would be welcome.
As an additional sidenote and as I have asked above, is there a way to isolate and only use the recaptcha field rather than using the whole ACF Extended package? For future versions having a toggle for modules would help. I see no gain in loading styles/scripts in the front-end like modal or repeater related stuff that are not used at all.
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] reCaptcha v3Also,
is there a way to isolate and only use the recaptcha field module? I have found a guide to remove most modules, but I see a lot of additional styles and scripts loaded for things I am not using at all…
Regarding #2, this is a UX issue.. if in fact it WAS required to function, maybe it would be a good idea to ‘force’ them to select a page through a wizard or auto-select a random page – or even better auto-create a verification page.
The popup window, despite being intrusive, it has to be re-styled/filtered/translated to sit properly within the website. Also a redirect to a specific page would be nice after it completes – reverted to a previous version so can’t really check if it worked (but I think it didn’t)
Thanks for your reply.
First of all, the update broke all my email templates and messages – as in… they have been completely erased.
Secondly, functionality has changed vastly. For example, the popup verification check.. I was happy with the redirection to a different page.
When extending your plugin and judging by the frequency of your fixes, you should be more careful and do extensive testing before publishing. Also take your current userbase under consideration. If there are major changes, please specify so in the changelog.
Forum: Plugins
In reply to: [Remove Dashboard Access] Allow specific actions for certain roles?Ok, so progressing just a bit,
I replaced
response.success.data.redirect
withresponse.data.redirect
and seems to be working fine now. I removed some errors – most of the errors derive from the fact that users are not using the site normally or as expected, so I don’t care if they see the errors anyway!Thank you for this post, saved me tons of time!
- This reply was modified 4 years, 8 months ago by scooterlord.
Forum: Plugins
In reply to: [Remove Dashboard Access] Allow specific actions for certain roles?Hello, so, I tried the code above however, but I get some strange behavior..
I get a failure response on the console, however, the post is trashed.
As a responseText I get part of the HTML code, however, have no idea have to fix this. Any pointers?
Forum: Plugins
In reply to: [Remove Dashboard Access] Allow specific actions for certain roles?Wow, I was expecting some great support judging by the other threads, but wasn’t expecting to be spoon-fed!
Thanks for your effort, I will try the code sometime later today (hopefully) and report back!
Thanks a million!
Forum: Plugins
In reply to: [Remove Dashboard Access] Allow specific actions for certain roles?Hello Drew and thank you for your reply. Currently I am using the
get_delete_post_link()
function, so the url it produces runs through the admin but it is very convenient code-wise.I am not really sure how I could trigger the
wp_delete_post()
in a button. Any help would be appreciated.Forum: Plugins
In reply to: [Breadcrumb NavXT] Removing top parent from breadcrumbsThank you John! The function worked like a charm! ??
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Plugin not workingArno thanks for your swift reply. Jetpack is a really neat tool, you should give it a look.
It contains a few image-related optimizations that seem to be causing the issues. For anyone that ends up here is ‘Enable site accelerator > speed up image load times’ and ‘Enable lazy loading for images’. Somewhere there’s an option to create carousels from images in the plugin so I guess that would cause issues as well.
Well, it is obvious that these two options are bound to cause issues to image-related plugins.
Irrelevant to this topic, but I was just reading about the zoom feature of the plugin.. it would be cool to have it implemented and allow users to use on-demand. There are cases where users might have pre-specified sizes with the same ratios for both thumbnails and zoomed in images. Please consider it ??
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Plugin not workingNever mind, I had accidentally enabled Jetpack. Disabling it restored functionality. Sorry for any inconvenience, hope this helps someone that ends up here..
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Hidden post not shown when user is logged in…if it helps, if I replace #942 in inc/class-wp-members.php from:
if ( ! isset( $wpmem->user->access[ $key ] ) || ! $wpmem->user->is_current( $wpmem->user->access[ $key ] ) ) {
to:
if ( ! isset( $wpmem->user->access[ $key ] )) {…it seems to be working, but not in full. If there are multiple limit conditions for the post, and these multiple products are not applied on the user, then it still doesn’t work – so I guess this is what the removal of code breaks.
- This reply was modified 6 years, 5 months ago by scooterlord.
- This reply was modified 6 years, 5 months ago by scooterlord.
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Hidden post not shown when user is logged inChad hello,
did you have any time to investigate the issue? Is there something I can do to help you out in pinpointing the issue?
Edit: I managed to narrow down the problem. I made a new installation just to make sure I started from scratch.
Hidden and blocked posts work as they should when no membership products are created.
Then I tried this:
– I enabled membership products and created two of them – prod1 and prod2.
– I enabled each product separately on my user: a) only prod1, b) only prod2, c) both prod1 and prod2
– In my post I tried all 3 cases: a) no restriction, b) limit access to prod1, c) limit access to prod2In my post if I set it to ‘Blocked’ – it works as expected for all cases above.
If I set the post to ‘Hidden’, then the product is restricted normally as it should when navigating to the single url, but NOT displayed in the index, except if there is no ‘limit access’ option (or essentially set to ‘None’)
So it must be a bug of the post not showing:
– On index
– When ‘Hidden’ is enabled for a post
– When membership products are enabled and limited access is assigned.- This reply was modified 6 years, 5 months ago by scooterlord.
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Hidden post not shown when user is logged inChad, hello again!
Yes, the admin has product access enabled in the profile.
Edit: I created a new user, attached membership products, created new post, changed limit access to both membership products, changed to hidden – same result.
Just making sure – hidden posts are supposed to be hidden for index but NOT archive and search templates, unless a user with membership access logs in, right?
- This reply was modified 6 years, 5 months ago by scooterlord.