John Huebner
Forum Replies Created
-
Forum: Plugins
In reply to: [ACF User Role Field Setting] Allow to view but can not editThat would be a readonly field. That’s not what this plugin does. This plugin removed fields for users that should not be allowed to edit them.
There are several topics on doing this on the ACF forums like this one https://support.advancedcustomfields.com/forums/topic/how-to-dynamically-set-specific-field-read-only/
Forum: Plugins
In reply to: [ACF User Role Field Setting] Not working in ACF 5.6.0I just pushed an update that should correct the issue.
Forum: Plugins
In reply to: [ACF User Role Field Setting] Not working in ACF 5.6.0Thanks for letting me know about this. I will see what’s changed in ACF and work on an update as soon as I can.
Forum: Plugins
In reply to: [User Activity Log] MultisiteI’m not sure what you mean by “Run The Updater”. I did a search for this and found nothing. Does this means that something runs when I update WP? If so, this site has never been updated. It is new installation that was installed using WP4.8 so it will not be updated until the next version of WP comes out. Is there some way to force this update to happen?
Having the same problem.
As a temporary fix
File: the-events-calendar/common/src/Tribe/App_Shop.php
Line: 103
Function: is_current_page
Add the following to the beginning of the function
if (is_network_admin()) { return false; }- This reply was modified 9 years ago by John Huebner.
Forum: Plugins
In reply to: [Dynamic Select for Contact Form 7] Add custom item to dynamic selectfunction cf7_dynamic_select() { $output = array(); $args = array( 'post_type' => 'page', 'post_parent' => '1331', 'order'=> 'ASC', 'orderby'=> 'menu_order', 'hide_empty' => 0 ); $the_query = new WP_Query( $args ); while ( $the_query->have_posts() ) : $the_query->the_post(); $output[get_the_title()] = get_the_title(); endwhile; // add another item at end $output['altro'] = 'altro'; return $output; } add_filter('my-filter', 'cf7_dynamic_select', 10, 2);Forum: Plugins
In reply to: [ACF Medium Editor Field] Bug using accented lettersI just did a test on my testing site and I did not have any issue with accented characters. Do you have any other plugins installed or filters in the theme that could have conflicts? If you can narrow down the cause and let me know how to recreate the issue I’ll look into it some more.
Forum: Plugins
In reply to: [Dynamic Select for Contact Form 7] Get custom field value listYes
$choices = array('-- Make a Selection --' => ''); $choices = array_merge($choices, array_flip(get_field('prod_esecuzione')));Forum: Plugins
In reply to: [Dynamic Select for Contact Form 7] Get custom field value listWhat type of ACF field are you using there and what do you have the return set to?
My guess is that it is returning an array of
value => labelpairs and this plugin requires them aslabel => valuepairs. (The reason that I’ve done this is to allow multiple labels to have the same value.)I would try
$choices = array_flip(get_field('prod_esecuzione'));Forum: Plugins
In reply to: [ACF Post-2-Post] relationship fields not being recognized bidirectionallyAfter re-reading your op and then reading the second, I think I might be a little lost. If the field is on just posts then it will work, but that’s the only case. Also, this plugin only works with ACF5, which is currently only available in premium and will not work with ACF4. I just tested, just to make sure, and it is working.
You might want to give a look at how this plugin works as well as the ACF documentation on doing a similar thing. It would be possible to create a two way relationship between a taxonomy field and a relationship field or a post object field or a user field. It’s just that it would need to be coded for the specific fields that your interested in creating the two way relationship for.
Forum: Plugins
In reply to: [ACF Post-2-Post] relationship fields not being recognized bidirectionallyIf I understand you correctly, you have the relationship field on a term/taxonomy. This plugin only works when the relationship field are post on a post and does not work to create a two way relationship between a term and a post.
That is something that would need to be done with AJAX and is beyond the capabilities of this plugin.
Forum: Plugins
In reply to: [WP Super Cache] White Page on One Post Typeupdate, I figured out the issue. It had to do php memory limit. The pages in questions use a lot of it. Problem solved.
Forum: Plugins
In reply to: [Dynamic Select for Contact Form 7] Plugin’s brokenk, I uploaded a new version to the WP repo. Please let me know if there are any other problems.
Forum: Plugins
In reply to: [Dynamic Select for Contact Form 7] Plugin’s brokenThanks for the heads up. I just pushed a new version to GitHub https://github.com/Hube2/contact-form-7-dynamic-select-extension
If anyone can test this an make sure it works before I push the changes to WP that would be really helpful. If not I’ll push the changes here shortly anyway.