wbenterprises
Forum Replies Created
-
Apologies for the delay in responding.
It isn’t an issue of “Where do these posts appear?” It’s an issue of them NOT appearing. This occurs on the archive page which shows many posts (with pagination options). If a post is restricted, it is still counted when using pagination broken into page numbers (i.e. NOT infinite scrolling) even if it’s not visible to the current user.
Forum: Plugins
In reply to: [Gallery Custom Links] Why are regular image blocks using the external links?I’d like to add one more point here. The IMAGE block in WordPress already provides the user a place for adding a link which can be external.
The setting in Gallery Custom Link OVERRIDES this user input which is both unexpected and unnecessary. At a very minimum, GCL should provide an option in the IMAGE block to disable the GCL setting PER BLOCK for instances where the image is NOT part of a gallery but used instead for other purposes (such as sampling content).
Forum: Plugins
In reply to: [Gallery Custom Links] Why are regular image blocks using the external links?Ok, that’s fair, so I would like request an option to disable it on images, or per post. Images serve more purpose than just being in a gallery, they are also thumbnails used to draw attention to other posts or to encourage purchasing of originals. There are times when we want the external link to function, and times when we wouldn’t (such as linking to the actual gallery or to a post that the thumbnail represents). It shouldn’t be “all or none.” Now, we’d be forced to upload two versions of an image to avoid it and that’s wasteful of storage/resources/time.
Thank you.
- This reply was modified 3 years, 5 months ago by wbenterprises.
No thanks, not interested in opening another account for support. Here should be good enough.
Also, I forgot to add in the code above:
'paid_for' => -1
This needs to be added to the array parameter list in the extract function on line 14.
I added the feature myself, so if you can’t take a suggestion from here then I apologize, I don’t want to sign up for yet another forum. I have to say that the coding in the plugin is not very clean for the comparison options AND/OR. It’s not designed with adding features in mind, that’s for sure.
Add @line 110 of mycred/includes/shortcodes/mycred_hide_if.php
NOTE: This code does not honor the AND/OR comparison and overrides any other parameters.
[mycred_hide_if PAID=(0|1)]
if ( $paid_for > 0 && function_exists( 'mycred_user_paid_for_content' ) ) { // applies if PAID parameter set to 1 (TRUE) $paid_status = mycred_user_paid_for_content( $user_id, get_the_ID() ); if ( $paid_status ) $should_hide = true; } if ( $paid_for == 0 && function_exists( 'mycred_user_paid_for_content' ) ) { // applies if PAID parameter set to 0 (FALSE) $paid_status = mycred_user_paid_for_content( $user_id, get_the_ID() ); if ( ! $paid_status ) $should_hide = true; }
- This reply was modified 3 years, 5 months ago by wbenterprises.
Forum: Plugins
In reply to: [GutenBee - Gutenberg Blocks] Image Settings not workingI stopped trying to use this plugin so I cannot provide any more details. I cannot provide a URL because this issue was within the editor. Sorry.
Forum: Plugins
In reply to: [Simple Basic Contact Form] Pre-filling / fixed field inputsUnderstood. I have decided to use another forms plugin in the end, so this is no longer relevant to me.
Forum: Plugins
In reply to: [WP 2FA - Two-factor authentication for WordPress] Cannot click ButtonsNormally, I would be very happy to download and test the patch but I cannot this time due to the status of the site. I’ll leave it as-is and wait for the next opportunity to try the patch or the updated version. Apologies to you, and thank you for addressing this.
UPDATE:
I believe the issue may have been with another plugin used for 2FA which overrode redirects. I reset the settings for the 2FA and it seems to be working now.
My User Role settings were set to “Refresh active page” for Login, so I don’t think it was that.
Forum: Plugins
In reply to: [GutenBee - Gutenberg Blocks] Image Settings not workingI can see the image sizes in the settings. I have thumbnails configured and they are being created. There is no other plugin removing my thumbnails.
In the screenshot you posted, I have all the options listed and I can pull the menu down and highlight them. However, when I click one, it does NOT change and remains on Full.
My website is configured to be accessible to Everyone (UM > Settings > Access > Global Site Access), but the posts are restricted to logged in users. However, after login from an external link, I can see the “redirect_to=http…” parameter in the URL, but it lands on the Account page and does not redirect the user.
I added the code you provided to functions.php of my theme, but it didn’t change any behavior that I can see.
For anybody interested in fixing this issue right away, edit:
File: mycred/addons/coupons/includes/mycred-coupon-functions.php
Modify Line 19:
&& ( $coupon_id === $mycred_coupon->post_id || strtoupper($coupon_id) === strtoupper($mycred_coupon->code) ) // ADDED UPPER CASE COMPARE
Forum: Plugins
In reply to: [WP 2FA - Two-factor authentication for WordPress] Cannot click ButtonsYou’re right. By setting “Enforce 2fA on…” the modal functions as expected.
This appears to be a bug. Even if I do not require users to enable 2FA, but I offer them the option to set it up, the modal should function. Correct?
Forum: Plugins
In reply to: [WP 2FA - Two-factor authentication for WordPress] Cannot click ButtonsI am also using Ultimate Member v2.1.20 and mycred v2.1.0.3.
I have disabled minify in WP-Optimize, but I also tested with it enabled.
Forum: Plugins
In reply to: [WP 2FA - Two-factor authentication for WordPress] Cannot click ButtonsAlso discovered this data from the Firefox Debugger whenever I click the button:
Uncaught TypeError: this.modal is null value https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/micro-modal.js?ver=1.6.1:1 show https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/micro-modal.js?ver=1.6.1:1 <anonymous> https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/wp-2fa.js?ver=1.6.1:1 jQuery 2 dispatch handle micro-modal.js:1:19326 value https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/micro-modal.js?ver=1.6.1:1 show https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/micro-modal.js?ver=1.6.1:1 <anonymous> https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/wp-2fa.js?ver=1.6.1:1 jQuery 2 dispatch handle