John Huebner
Forum Replies Created
-
Forum: Plugins
In reply to: [ACF User Role Field Setting] Should this work with ACF 5.7.0 pro?I just uploaded a new version that should correct the issue.
This plugin will not work for controlling the number of rows in the repeater. It will not work for your needs. You would need to disable the Add/Remove functions in ACF using custom JavaScript. I do not think there are any plugins available that will do what you want.
Forum: Plugins
In reply to: [ACF User Role Field Setting] Should this work with ACF 5.7.0 pro?I’m going to have to look into this and see if there has been a change I need to deal with.
Forum: Plugins
In reply to: [Dynamic Recipient for Contact Form 7] Set from to senderThe errors don’t really mean anything and cf7 will work for sending the forms event with the error. The main problem is not cf7 but it has to to with your sending email server and the receiving email server potentially blocking the email as spam. Setting the email other than the email of the domain will look like email spoofing. This is the problem with using anything other than SMTP to send emails. I use SMTP on several sites that still use cf7 and the errors are not an issue, I just ignore them. They really are meaningless as long the email server used for the site sends them the receiving email server does not block them. I hope that makes sense to you.
However, using SMTP means that you must use the “reply-to” address so that probably won’t help you much anyway. The place this really needs to be changed is the help desk app to use the reply to address rather than the from address.
I actually don’t use cf7 on new sites that I build and I have very few clients that still use it. It is too limiting for my clients who want to easily build their own forms as well as having both dynamic and conditional fields without needing to call me every time they want to update a form.
Forum: Plugins
In reply to: [Dynamic Select for Contact Form 7] Any way to “include_blank”?Yes, you can include a blank value, this is given in the example. Just set the first element of the array to the value for the label
""and the value to an empty string$values = array( 'Please make a selection' => '' 'label for value 1' => 'value 1' );Forum: Plugins
In reply to: [Dynamic Recipient for Contact Form 7] Contact form problem on my sitePlease see this topic as well as other topics on this plugin https://wordpress.org/support/topic/how-to-use-plugin-7/
Forum: Plugins
In reply to: [Dynamic Recipient for Contact Form 7] Set from to senderOther than an email field that is filled in by the user, I don’t know. I’ve never investigated if that can be done or not.
Forum: Plugins
In reply to: [YITH Request a Quote for WooCommerce] move add to quote buttonLooking at the documentation and digging around in the plugin I came up with this
if( class_exists('YITH_YWRAQ_Frontend')){ remove_action( 'woocommerce_after_shop_loop_item', array(YITH_YWRAQ_Frontend(), 'add_button_single_page' ), 15 ); add_action('custom_yith_quote_button_hook', array( YITH_YWRAQ_Frontend(), 'add_button_single_page' ) ); }Now if I could just figure out how to remove “Browse The List” and add that as a completely separate button I’d be all set
Forum: Plugins
In reply to: [MultilingualPress] Some uploads not copied from “Based on Site”the files are referenced in the database, but when they are uploaded custom code alters the location to something like
/wp-content/uploads/pdf/file.pdf
These files for some reason are not copied. The folder is not created and they are not added to any of the date folders. They just do not exist.Forum: Plugins
In reply to: [Account Engagement] Pass query string vars to pardotThis no longer seems to be working, has something changed?
Forum: Fixing WordPress
In reply to: Google Search Console Server Crawl Errors for wp-includes filesI found this while researching the same issue.
The cause is automatic indexes on folders on your server. For example http://www.yoursite.com/wp-includes/ shows an index of all the files in the folder.
The solution is to turn of indexes
add this to .htaccess
Options -IndexesIf you can’t do this then tell your host to disable indexes
Forum: Plugins
In reply to: [ACF User Role Field Setting] Version 2.1.12 BugIt’s actually given me an idea to improve this plugin by actually checking roles. I’m betting that there are other plugins and modification that also check capabilities and if I can not only get the current user roles but test to see if they currently have those capabilities it might make the display of fields more accurate in some cases. I’ll have to do some more testing and that other plugin will help me with it.
Forum: Plugins
In reply to: [ACF User Role Field Setting] Version 2.1.12 BugI’ve never heard of the plugin, but it looks extremely useful, I was actually just working on menu changes on a site and was logging in and out to see what editors can see….
anyway. I just did a test with with it and for me it has no effect on display of fields in this plugin when installed normally. But it can effect the global
$current_userBasically, line 90 of that plugin removes the first user role from the user,
$this->current_role = array_shift( $current_user->roles );this means that when I check the current user, the first role no longer exists and this is why it may prevent you from ever seeing the field.
We’re both looking at the global on
initwith a priority of 1. What this means is that it depends on which of our plugins is loaded first. If the other plugin get’s loaded first then the role is removed and if mine loads first then it’s fine. I could alter my filter to run at a lower priority, but, the other plugin really has an issue because it should not be making modifications to the global when all it’s really doing is storing the current role in a private variable.Since the other plugin has not been updated in a while you can try changing line 90 to read
$this->current_role = $current_user->roles[0];I just tested this and it does not seem to break the other plugin.
Forum: Plugins
In reply to: [ACF User Role Field Setting] Version 2.1.12 BugI just did a test and I’m not seeing any issue.
Is it working for other field types?
Are you using the
acf/user_role_setting/exclude_field_typesfilter to exclude any field types?Forum: Plugins
In reply to: [Advanced Custom Fields: Font Awesome Field] FontAwesome 5.0An admin setting for the FA version is a perfect solution, and I’m glad you’re going that route. Thanks for the info.
Forum: Plugins
In reply to: [Advanced Custom Fields: Font Awesome Field] FontAwesome 5.0Hey Matt, my comment were for you. I am currently trying to develop a new theme and use FA5. The issues I’m running into is the fact that I use a fair number of “standard” plugins when I build sites for clients. Several of these plugin use FA4. I have a choice of either abandoning all plugins that use FA4 or abandoning the use of FA5 in the theme.
I happened on this conversation while searching for possible solutions.
Let’s say that you do update to using FA5, then I would need to abandon using this plugin, which I have used if I keep the plugins that use FA4.
Some of the plugins I simply cannot build a site without, and there is no indication from them that they plan to upgrade. I imagine that they are thinking of similar issues.
- This reply was modified 8 years, 2 months ago by John Huebner.