cameck
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Turn off Validation for Phone #sPerfect that works! Thanks!!
add_filter( 'woocommerce_billing_fields' , 'custom_override_checkout_fieldss', 99 ); function custom_override_checkout_fieldss( $fields ) { unset($fields['billing_phone']['validate']); return $fields; }Forum: Plugins
In reply to: [WooCommerce] Turn off Validation for Phone #sHey Mike! Thanks for the awesome plugin and the speedy response!
I tried this and added it to functions.php:
add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fieldss', 99 ); function custom_override_checkout_fieldss( $fields ) { unset($fields['billing']['billing_phone']['validate']); return $fields; }But that did not work. What am I missing?
You’re welcome! You guys deserve it!
Forum: Plugins
In reply to: [Limit Login Attempts] Imposibble Too many failed login attempts notificationSame Problem here, I’m just using WordFence exclusively now as it offers the same features and more. It is also updated on a regular basis.
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Can't BackupHuh You are right, surprisingly the culprit is LayerSlider
I had a similar situation. I downloaded the WP Optimize Plugin and deleted the transient tables per the plugin instructions. This fixed the problem.
Thank you!
Hey bhaldie,
I’m currently backing everything up into another file program, after that’s done I’ll update and let you know.
This is great news! Unfortunately I don’t have the plugin anymore nor the same configurations. Sorry!
Forum: Plugins
In reply to: [WP Job Manager] Adding Select Options to Job Post PageHey Adam,
There’s no documentation I am missing on handling ‘select’ or ‘multiselect’ or ‘radio’ ?
You’ve provided excellent documentation on how to do everything but ‘select’ or ‘multiselect’ or ‘radio’.
Best,
Cameron
All right thank you everyone, I finally figured it out.
I was not able to find a function that worked for my specific task.
Luckily I had a custom BuddyPress field that also designated the user Level.
I got the field ID of “55” by hovering over the edit portion of the custom profile field.
This is the final working code:
<?php if(is_user_logged_in() && xprofile_get_field_data( 55 ) == 'Employee'){ ?> <div class="paybox"> <h3>Make Payment with PayPal®</h3> <?php $uemail = getDisplayedUserEmail(); ?> <?php echo do_shortcode('[gravityforms id="7" field_values="recip-email=' . $uemail . '"]'); ?> </div><!-- .paybox --> <?php } ?>Ok I think I’m realizing the problem here, all of theses codes are outputting the user access level of the person who is logged in, not the profile. I need to check the user access level of the user who’s profile is being viewed. All the code I am finding checks the user level of the logged in user. I haven’t been able to find the code I’m looking for there. Do I make sense? I feel I might be being a little confusing
Ya, I don’t know either, I appreciate you keeping in touch on it though. As far as folders being exported, all I get is the files – the folder structure is gone if I export.
Yes, that works, but it only restores the lost files not the folder structure. All the folders are gone. I restored from backup, so I’m back but that was terrifying. Is the folder structure exported anywhere? Is there a way to capture that. In the mdocs file in wp-content/uploads there is all the files but no note of file structure.
Update, downloaded the update and immediately all my folders were deleted.