Vlado Grcic
Forum Replies Created
-
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Slow load times@wesleylindsey @mfigatow @wiktorradecki Sorry for the very long wait. I’ve restricted that part of the code to registered users, it seems to not load when not needed. Please try version 1.6.6 when you can and see if its working for you. @mfigatow thanks for the help, I’ll try and look over this again over the weekend to be sure.
Sorry for the late reply. What screenshot?
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Adding pages after purchaseSorry for the late reply. I don’t understand what you need. Could you rephrase it?
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Undefined arraySorry, I didn’t see your last message so I didn’t remember to check. Your debug.log doesn’t contain any useful logs so I can’t fix it and the one it does show wouldn’t cause this. Besides I wasn’t able to recreate it either way. Please try to switch theme to a default one and try to disable one by one plugin since one of them might be interfering with it. Thats what I can think of right now.
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Setting local timeThere is no way. Its using the server time. Which should be local user time but I didn’t think of that at the time. Not sure when I’ll implement that.
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Incompatible with WooCommerce errorSorry for the late reply. Could you tell me what features? Is it listed?
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Counter don’t stopCould you tell me where it doesn’t stop?
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Undefined arrayCould you check you debug.log for any more issues?
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Undefined array key “customer-logout”Sorry for the late reply. Not really sure what to do here. It only shows the logout link is missing, that part of the code shouldn’t be removing it. Maybe try older versions?
- This reply was modified 1 year, 3 months ago by Vlado Grcic.
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Unable to restrict pagesCan you check your debug.log file and get back to me? Also did you update lately?
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Change User Account Page WordingChange “Restricted Pages” to “Restricted Pages List” and change “Purchased Content” to what you want.
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Change User Account Page Wording@spac3race Sorry I made a mistake. Here is the updated:
function wpdocs_translate_text( $translated_text, $untranslated_text, $domain ) { global $post; $post_slug = $post->post_name; if ( 'my-account' === $post_slug ) { if ( 'Restricted Pages' === $translated_text ) { $translated_text = 'Purchased Content'; return $translated_text; } } return $translated_text; // Now do your checking for your string within the 'blah' domain } add_filter( 'gettext', 'wpdocs_translate_text', 99, 3 );
- This reply was modified 1 year, 4 months ago by Vlado Grcic. Reason: Fixed messes up most of the text on admin and my account page
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Change User Account Page Wording
Of course, we always try to avoid editing PHP or stylesheets due to the likelihood of changes being erased every time we fully update a plugin or theme.You can use a child theme. Then you can update the theme without overwriting anything.
Forum: Plugins
In reply to: [Page Restrict for WooCommerce] Page crashes for non-admin userSorry for the late reply, I couldn’t get to you sooner.
site crashes to non admin users
but still whole site crashes, logged in user is OK.
Could you explain? Non admin would suggest logged in regular user but you are now saying its ok.
If we buy three units of such a product, how can we make sure that the access time to restricted content increases to 15 minutes?
It already should. 3 products times 5 is 15 min so it should be like that. Could you explain those unpredictable ways? Only thing I can think of is that you are disregarding the time between purchases so it goes over 15 min given your calculation.