allartsoftworks
Forum Replies Created
-
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Problem uploading imagesGod, I solved it. I’ve been so stupid.
I placed two times the “class” attribute in the submit button. For some strange reason it broke everything.
Really hard to debug, but a simple diff showed the culprit.
Thank you really for your kind assistance.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Problem uploading imagesHi, thank you for your reply.
I already contacted Peepso and they are working on my staging and production website to fix the issue.
Before updating Gecko I was able to overwrite templates without problems apart from the ones I already cited.
I already used call_user_func( adverts_field_get_renderer($field), $field, $form ) in my [child theme dir]/wpadverts/add.php template, just to say.
The main issues were that I couldn’t post the advert entry on the production website. Tried the jQuery hack you suggested in other threads, with no luck.
But since I updated Gecko yesterday night I noticed now posting issues are gone: good, but it raised two new issues:
1) the messy layout at the bottom of the “add” page that cannot let the user choose between payments packages
2) the fact that I cannot overwrite my template (I need to put a policy textarea in the form). Peepso option “Disable template overwriting” is disabled.
I once put my templates, as the documentation explained, in my public_html/wp-content/themes/peepso-theme-gecko-child/wpadverts but now they aren’t loaded and I do need to overwrite the default ones.
Now about the errors.
Well, in the console, both in staging or in production website it shows this error:
Uncaught TypeError: Cannot read property ‘attach_id’ of null
at WPADVERTS.File.Singular.<anonymous>but images are correctly submitted, now.
WP_DEBUG set to true doesn’t show any errors submitting the post (in fact, the post now is submitted, using the new Gecko version and no layout overwriting) but I need to overwrite the layout in some way and to fix the overlapping divs at the bottom of the “add” page.
No problems in db, since the advert cpt is posted.
To summarize, I just need to overwrite templates now and fix the graphics, and I’m done.
I can provide you credentials to see the problem, if you need.
Thank you in advance for your help.
- This reply was modified 6 years, 1 month ago by allartsoftworks. Reason: grammar fix
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Problem uploading imagesAnd after the latest Gecko update today I’m not able to overwrite templates anymore…
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Problem uploading imagesHere you can see the issue on my production environment:
Absolutely! Sorry, I didn’t update this thread. It was a temporary ban for policy violation. Beg my pardon.
Forum: Plugins
In reply to: [WooCommerce] Product gallery missing@bgrgroup you are my god! Thank you.
Forum: Plugins
In reply to: [GDPR] Is GDPR compatible with WPMLI put it in my functions.php in my child theme 😉
Forum: Plugins
In reply to: [GDPR] Is GDPR compatible with WPMLI use this code to translate my settings fields, maybe it can help:
/** Pass actual language to Javascript **/
add_action(‘shutdown’, function() {?>
<script>
var getLangCode = ‘<?php echo apply_filters( ‘wpml_current_language’, NULL ); ?>’;
if (getLangCode == ‘en’) {
jQuery(‘.gdpr.gdpr-privacy-bar .gdpr-wrapper .gdpr-content p, .gdpr.gdpr-reconsent-bar .gdpr-wrapper .gdpr-content p’).text(“This website uses: technical cookies… bla bla”);
}if (getLangCode == ‘fr’) {
jQuery(‘.gdpr.gdpr-privacy-bar .gdpr-wrapper .gdpr-content p, .gdpr.gdpr-reconsent-bar .gdpr-wrapper .gdpr-content p’).text(“Ce site utilise: des cookies techniques … bla bla”);
}
</script>
<?php
}, 100);
?>Ok, thank you! I’ll wait 🙂
Forum: Plugins
In reply to: [GDPR] Cookies stil enabledSame problem here with these cookies:
_icl_visitor_lang_js,gdpr[allowed_cookies],gdpr[consent_types],PHPSESSID,woocommerce_cart_hash,wpml_browser_redirect_test
is there a solution?
I can block Analytics cookies using is_allowed_cookie() function in my code, but can’t intercept all the others… is there a way?
Forum: Plugins
In reply to: [GDPR] Blocking Google AnalyticsYes, thank you: ten minutes after my post I’ve found this:
https://ww.wp.xz.cn/support/topic/how-to-set-up-fb-pixel-and-google-analytics-opt-out/#post-10170416
Sorry, didn’t RTFM, lol.
Thank you for the great product, keep up the good work. I’d submit italian translation asap.