PDidee
Forum Replies Created
-
Thank you this was resolved it was actually EXACTLY that WP function to scale images larger than 2560px. Thank you for looking into this.
Tried deactivating WebP display option didn’t fix the problem unfortunately. I also tried restoring the original image but the file url still stays the same with the scaled version of the image. I’m using an acf image field to select the iamge if that helps.
Actually ended up being a conflict with a different count down timer plugin that caused the error. All good now thanks!
In addition to adding display:none; to the #acf-image-crop-overlay I did a pseudo to add a new overlay.
.acf-image-crop.cropping .crop-section:after{ content:""; display: block; height: 100%; position: fixed; top: 0; left: 0; right:0; bottom:0; width: 100%; background-color: rgba(0,0,0,0.8); z-index: 2; }
Forum: Plugins
In reply to: [Private groups] Infusionsoft HTTP PostThanks Robin I’ll give this a shot!
Forum: Plugins
In reply to: [Private groups] Possible plugin conflict with “Replies Created” tabHey Robin,
I had another developer look into the issue after trying to trouble shoot this with no success. We did find a solution though and a possible bug in the plugin:
“This wasn’t easy to investigate but I managed to find the cause, which is in bbp-private-groups/includes/replies.php. The filter causing the problem is:
add_filter (‘bbp_get_user_replies_created’, ‘pg_get_user_replies_created’);The problem appears to be that the above filter expected $user_id as the first parameter, but bbPress uses “bbp_has_replies” (boolean) as the first parameter and “user_id” as the second parameter.”
You can fix the problem by disabling that one filter:
// NEW CODE START
function aa_fix_bbp_private_groups_on_user_replies_created_profile() {
remove_filter(‘bbp_get_user_replies_created’, ‘pg_get_user_replies_created’);
}
add_action( ‘init’, ‘aa_fix_bbp_private_groups_on_user_replies_created_profile’ );
// NEW CODE ENDHope this helps.
Forum: Plugins
In reply to: [Private groups] Possible plugin conflict with “Replies Created” tabLemme know if you need me to create an admin login for you on the staging site.
Forum: Plugins
In reply to: [Progress Tracker] Setting page brokenHey Alex!
Checking in on this to see if you were able to reproduce the error.
Thanks again for looking into this.
Forum: Plugins
In reply to: [Progress Tracker] Setting page brokenI get this error in the console with a clean install of wordpress with the Twenty Nineteen theme and NO other plugins activated.
“Failed to load resource: the server responded with a status of 500 (Internal Server Error)”
It happens AFTER I start marking pages as complete on the front end. If I drop the data for the table wp_as_progress_tracker_users in the DB it clears the error. But as soon as I start trying to complete pages it happens again.
Forum: Plugins
In reply to: [Progress Tracker] Setting page brokenActually hold the phone, as soon as I start completing items I get the error again.
ScreenshotBrowser console says: Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Forum: Plugins
In reply to: [Progress Tracker] Setting page brokenNM was a corrupt DB table. ?? All is good now. Ever add that feature to swap out the radial for a bar in the widget? I just added this style to keep it within the sidebar area…
.ptracker_widget .progress {
width: 100% !important;
}Is there a filter I can apply in the meantime without changing the actual plugin code?
Thanks!
Okay thanks. Maybe we can convince the client to have the endorsements under theme options and we can pull them from there instead each time they use the template. Is that possible though?
- This reply was modified 7 years, 3 months ago by PDidee.
Can’t seem to get anything to load. Not sure if I need to set it as a repeater or a flexible. Either way nothing loads or is there. I’m hardcoding the shortcode within my custom page template like this:
<?php if ( have_rows( 'page_builder' ) ): ?> <?php while ( have_rows( 'page_builder' ) ) : the_row(); ?> <?php if ( get_row_layout() == 'endorsements' ) : ?> <!-- ENDORSEMENTS --> <div id="endorsements"> <h2>Endorsements</h2> <?php echo do_shortcode('[ajax_load_more preloaded="true" preloaded_amount="6" posts_per_page="6" scroll="true" button_label="Load More" button_loading_label="Loading..." acf="true" acf_field_type="repeater" acf_field_name="single_endorsement" container_type="div" css_classes="endo-flex" transition="fade"]'); ?> <?php endif; ?> </div> <?php elseif ( get_row_layout() == 'chapter_download' ) : ?> ...
And my repeater template in ALM like this:
<article> <?php $img = get_sub_field('img'); $img = $img['sizes']['thumbnail']; ?> <div class="single"> <?php if ( $img ) { ?> <div class="left"><img src="<?php echo $img; ?>" alt="" /></div> <?php }?> <div class="right"><?php the_sub_field('copy');?></div> </div> </article>
Forum: Plugins
In reply to: [Progress Tracker] Possible to keep tracking on all pages?Yeah that makes sense but I’ll take your suggestion and leave it as is.
Forum: Plugins
In reply to: [Progress Tracker] Progress BarTo implement the css toggle you can do this:
$pTrackerToggler.= '<span id="markAsReadButton"><label class="switch"><input type="checkbox"><span class="slider round"></span></label></span>';
on line 445 in class-draw.php