mfrethy
Forum Replies Created
-
Forum: Plugins
In reply to: [Volunteer Sign Up Sheets] Force number of needed reductionTotally understand the why. Copying sheets doesn’t really work. These tasks are recurring literally daily. For every day of the year. It’s truly a recurring sign-up. I generally add the tasks a year at a time and update the dates at the beginning of the year. Obviously making this change in January would be easy. Making it in September means going back to every day of the year and clearing a spot. Not really a working solution either. And forcing everything in the database just means my sheet managers can no longer do their job. More than happy to take the conversation offline if this isn’t a support issue but it is one I would like to come up with a solution for. I’m a subscriber to all of your products. Not just the free plugin.
Forum: Plugins
In reply to: [Volunteer Sign Up Sheets] Force number of needed reductionOkay, forcing the change in the database did work but now I can’t make any changes to the front end on that sheet. I get the same error message when making changes to that sheet as if I’m trying to still reduce that number even when just trying to make task description updates.
Forum: Plugins
In reply to: [Volunteer Sign Up Sheets] Force number of needed reductionPerfect. Thank you.
Forum: Plugins
In reply to: [Volunteer Sign Up Sheets] Force number of needed reductionThank you. I have PHPMyAdmin access. Any tips on finding the correct one? Just find the sheet number? I have like 30 active sheets. Only need to edit tasks on two of them.
Forum: Plugins
In reply to: [Volunteer Sign Up Sheets] Sign Up Not Recognizing Logged In UserConfirmed working. Thank you.
All of the codex stuff seems to not work in 2.0. It all returns null even when a static number is passed. Oh well. I fixed the problem.
// Set user role on approved add_action('um_after_user_is_approved', 'my_after_user_is_approved', 10, 1 ); function my_after_user_is_approved ( $user_id ) { // Set UM role $wp_user_object = new WP_User( $user_id ); $wp_user_object->set_role( 'um_volunteer' ); }
Well that didn’t exactly work. I’ve set the user first. When I set it dynamically or using a static ID it throws an error.
Okay, looking through the 2.0 codex and hooks I figured out that this code achieves what I’m looking for:
add_action( 'um_after_user_is_approved', 'my_after_user_is_approved', 10, 1 ); function my_after_user_hash_is_changed( $user_id ) { $ultimatemember->user->set_role('volunteer'); }
Ah yes…so when I first started building this site a couple years ago I was testing various ways to have users log in. I still had an old plugin, Sidebar Login Widget installed and activated. Removing it fixes the issue. Thank you.
I would also like to perform the reverse of this and set the default user role to -none- but have it update to a particular role upon activation.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Event Details dropdown stopped workingFound two ways that fixed it for me. Number one is simply deleting the plugin and re-installing (backup/restore your events database first!). The other was in settings. I noticed that the options were also not populating in the settings screen. On that screen there’s a button that says if you can’t see this page click here (only shows when the settings options aren’t loading). Clicking on it fixed the settings window and also fixed the event creation window.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Event Details dropdown stopped working@benjamin
Any other complaints about this? I’m experiencing the exact same problem. Been using AI1EC for well over a year with no problems. Same exact theme. Suddenly I go to create an event today and I have no control over Event Details or any other options. I had been holding off on updating anything. This happened without making any changes to my site or updates. I went ahead and updated WP and the plugin. Still have the problem. I’m not going to change my theme. Is there any support for this issue? (Yes I’ve gone through the troubleshooter).Forum: Plugins
In reply to: [Insert Pages] Insert Page by Button ClickFor example, one page that is blank and has two buttons. One button says Load Page 1, the other button says Load Page 2. Clicking button one loads one page. Clicking button two loads a different page. So, using the insert page shortcode for two different pages on the same page. But neither one is loaded to start.
Forum: Fixing WordPress
In reply to: Toggle Visibility of Separate Javascript Files on Same PageI have tried to manage the following with mixed results
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'></script> <script type='text/javascript'> function displayForm(c) { if (c.value == "2") { jQuery('#claremontdogContainer').toggle('show'); jQuery('#chdogContainer').hide(); } if (c.value == "1") { jQuery('#chdogContainer').toggle('show'); jQuery('#claremontdogContainer').hide(); } }; </script> <label>Please select a location to view:</label> <form> <input value="1" type="radio" name="formselector" onClick="displayForm(this)"></input>Chino Hills <input value="2" type="radio" name="formselector" onClick="displayForm(this)"></input>Claremont </form> <div style="display:none" id="chdogContainer"> <script src="https://toolkit.rescuegroups.org/j/3/FzemP6HU/toolkit.js"></script> <script type="text/javascript"> </script> </div> <div style="display:none" id="claremontdogContainer"> <script src="https://toolkit.rescuegroups.org/j/3/4ANRW3x8/toolkit.js"></script> <script type="text/javascript"> </script> </div>
This gets pretty close to what I need. The problem I have is the jquery seems to conflict with the JS they provide. It will display the initial result but does not carry any of the functionality that it should have. https://pricelesspetrescue.org/test-page/ Nothing is clickable inside those results and should be.
Been searching through various similar posts and the wordpress codex and…and…I just haven’t been able to come up with anything that seems close enough to what I’m looking for to make the answer click in my head.
Forum: Plugins
In reply to: [PayPal for WooCommerce] Proceed to Checkout Button is backI modified angelleye’s code to be this:
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: none; }
My theme has a place for custom CSS which is where I entered it. However, you could also enter it into the style.css file. I would recommend having a child theme before doing it though. So in your child theme’s style.css file just enter the above code somewhere ( I like to enter new things directly above the last line of the file ) and it should work. This bypasses the checkout page all together and uses the plugin’s paypal express button instead. Exactly what I was looking for.