acephalia
Forum Replies Created
-
Found the solution by editing the code from the More settings documentation.
add_filter('woobe_user_can_edit', function($is_forbidden, $field_key, $shop_manager_visibility_array) { $user = wp_get_current_user(); //print_r($shop_manager_visibility_array); if (in_array('shop_manager', (array) $user->roles)) { $is_forbidden = 1; } return $is_forbidden; }, 10, 3);Forum: Plugins
In reply to: [NP Quote Request for WooCommerce] Pro version support – no repliesHello I have checked the spam folder, I even tried replying to the confirmation email I got via the contact form. I was confused myself because I did noticed replies on the WP forum and plugin updates.
My query was whether the request quote could be activated at a cart level if a product from a certain category or shipping class was added to the cart. And if all other payment gateways could be disabled in this instance and the customer could only request a quote instead of paying and checking out.
thank you.
Forum: Plugins
In reply to: [HandL UTM Grabber / Tracker] Contact Form 7 displaying code in front endP.s : I’ve also tried :
[utm_campaign_i]<input type="hidden" name="utm_campaign" value="%s" />[/utm_campaign_i] [[utm_source_i]<input type="hidden" name="utm_source" value="%s" />[/utm_source_i]] [[utm_medium_i]<input type="hidden" name="utm_medium" value="%s" />[/utm_medium_i]] [[utm_term_i]<input type="hidden" name="utm_term" value="%s" />[/utm_term_i]] [utm_content_i]<input type="hidden" name="utm_content" value="%s" />[/utm_content_i] [[gclid_i]<input type="hidden" name="gclid" value="%s" />[/gclid_i]]Which results in the following being displayed on the front end :
<input type=”hidden” name=”utm_campaign” value=”” />
[utm_source_i]<input type=”hidden” name=”utm_source” value=”%s” />[/utm_source_i]
[utm_medium_i]<input type=”hidden” name=”utm_medium” value=”%s” />[/utm_medium_i]
[utm_term_i]<input type=”hidden” name=”utm_term” value=”%s” />[/utm_term_i]
<input type=”hidden” name=”utm_content” value=”” />
[gclid_i]<input type=”hidden” name=”gclid” value=”%s” />[/gclid_i]
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Shortcode For Divi Builder Not Working@afterpayit hopefully you guys will figure out a better integration for this. In the interim I do agree with @thunk303 on adding this to the help page.
@thunk303 glad you’ve got it all sorted.
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Shortcode For Divi Builder Not WorkingHi Dean
Glad you’ve made some progress.
The hook field cannot be left blank. You need to enter the word :noneinto the field or else it just sets the default hook which is why you are seeing it on the top of the page.
That should hopefully sort you out.
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Shortcode For Divi Builder Not WorkingNot sure I can help you with that. Having said that the easiest solution I can think of is to manually update.
Download the latest version from : https://ww.wp.xz.cn/plugins/afterpay-gateway-for-woocommerce/ to your computer.
After that login into your servers file manager head to the /wp-content/plugins/ folder and then rename the old plugin to Afterpay.old
Upload the new zip file to /wp-content/plugins/ and unzip.
Done. This should update you to the latest version.
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Shortcode For Divi Builder Not WorkingIt slipped my mind that I asked this question. I figured this one out a few days after I initially posted my question.
Similar to what was suggested my settings on the afterpay.
Payment Info on Individual Product Pages is as follows.
Enable – Checked
Afterpay Text : (Enter as required)
Hook : none (you need to type in none here)
Priority : 15After this I just used the shortcode [afterpay_paragraph] within a custom template in themebuilder and assigned it to all products.
More info on Global templates and themebuilder : https://www.elegantthemes.com/documentation/divi/the-divi-theme-builder/
Hope this helps.
- This reply was modified 5 years, 10 months ago by acephalia.
Found the solution on Authors code canyon page for anyone else who runs into this issue :
It seems that some other plugin uses Less and that causes conflict with our plugin. Can you please deactivate other plugins, activate our plugin and then activate again other plugins, this will solve the issue.
I just disabled all my plugins and then activated Amelia and then reactivated all the other plugins again. Worked!
Answer for anyone else who may have the same question :
add_filter( 'rocket_lazyload_placeholder', function( $placeholder ) { $placeholder = 'your-spinner-url-here'; return $placeholder; } );@wp_rocket I’m pretty sure I’m being quite daft with this questions and I didn’t want to open a duplicate thread for this same question.
Could you please elaborate on where/how one could use the
rocket_lazyload_placeholderfilter? I.e : is it a css class? Or via PHP in the functions file?Many thanks in advance!
I had a malware warning on one of the Javascript files in the plugin. I use : https://ww.wp.xz.cn/plugins/gotmls/ and have actually never had an alert before so I’m guessing it was a false positive given that you guys seem hardly likely to have any malicious code. But I was trying to use the plugin on a production site so uninstalled it till I could check it out in a test environment as I did not want to take any chances. Will shout your way with a link as requested once I’ve set up a test area.
Worked a charm Ben. Thank you so much and have a great weekend!
I’ve tried pretty much every combination of settings with no success. Turning off the Whitelist option completely locks me out and I have to restore the code.
But on a positive light I guess this does make everything pretty much bulletproof as far as unauthorised access goes.
One extra step of adding the current IP to the whitelist via htaccess for security isn’t a bad trade off at all.
Thanks!
Thanks for the replies.
The log files seem to be empty.
I did notice that if I disable the firewall section entirely it works fine. Not sure if there is any correlation there.
I do have the whitelist feature enabled. I will try disabling it and giving it a go.
Please do give me a couple of days to test it and revert back.
Thank you!