janjonas
Forum Replies Created
-
Please try to add the following code at the end of your already existing “‘OnAfterUpdateComments’ callback” option:
jQuery(document).ready(function(e){e(".woocommerce-tabs .panel").hide();e(".woocommerce-tabs ul.tabs li a").click(function(){var t=e(this),n=t.closest(".woocommerce-tabs");e("ul.tabs li",n).removeClass("active");e("div.panel",n).hide();e("div"+t.attr("href"),n).show();t.parent().addClass("active");return!1});e(".woocommerce-tabs").each(function(){var t=window.location.hash;t.toLowerCase().indexOf("comment-")>=0?e("ul.tabs li.reviews_tab a",e(this)).click():e("ul.tabs li:first a",e(this)).click()});e("#rating").hide().before('<p class="stars"><span><a class="star-1" href="#">1</a><a class="star-2" href="#">2</a><a class="star-3" href="#">3</a><a class="star-4" href="#">4</a><a class="star-5" href="#">5</a></span></p>');e("body").on("click","#respond p.stars a",function(){var t=e(this),n=e(this).closest("#respond").find("#rating");n.val(t.text());t.siblings("a").removeClass("active");t.addClass("active");return!1}).on("click","#respond #submit",function(){var t=e(this).closest("#respond").find("#rating"),n=t.val();if(t.size()>0&&!n&&woocommerce_params.review_rating_required=="yes"){alert(woocommerce_params.i18n_required_rating_text);return!1}});e("form.cart").submit(function(){e(this).find(":submit").attr("disabled","disabled")})});Hope this helps…
On the page http://www.dropshipping-france.fr/modules-dropshipping-prestashop/ I get the JavaScript error “ReferenceError: WPAC is not defined”. Could you please try to enable the option “Always include scripts”.
Hope this helps…
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Error message on pagesI tried it again and still so a 404 error in the network panel. After submitting a comment on the author page you blog tries to redirect the user to http://atmossatoshi.me/author/comment-page-1/#comment-14 (which results in a 404 error).
Have you tried the comment functionality on the author page after disabling to plugin? I would assume, that this will also not work because the error not is caused by the plugin…Hi anoriell,
IMHO, this schould be possible with the most recent version of the plugin. You can use the option “Comment pages URL regex” to enable the plugin based on the URL.
Hope this helps …
Could you please send me a link to your page where I can reproduce the problem?
Thanks for your feedback and thanks for your 5-star review.
Unfortunately, I don’t understand the “:::p.comment-form-rating ; p.stars ; select#rating” problem …
Please try to use the following code in the “‘OnAfterUpdateComments’ callback” option:
var $ = jQuery; /******* blog stuff ******/ $('textarea#comment').focus(function(){ $('.form-allowed-tags').slideDown(); $('.form-submit').slideDown(); }); $('textarea#comment').blur(function(){ if(!$(this).val()){ $('.form-allowed-tags').slideUp(); $('.form-submit').slideUp(); } });Hope this helps…
Hi Vivek,
my plugin only takes car about comments. You can ue the “Auto update idle time” to automatically refresh the comments each x milliseconds. But refreshing the list of existing posts is out of scope. Sorry…
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] NicEdit & AjaxifyHi,
sorry for the late reply. Could you please send me a link to your page where I can reproduce the problem?
Btw: Both (NicEdit itself and the WP NicEdit plugin) does not seem to be under active development, so I would suggest to switch to another WYSIWYG editor.
Best regards,
JanForum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Error message on pagesHi,
if you post a comment on the auhor page your WordPress system redirects the user to “not found 404 page” (the URL looks like http://atmossatoshi.me/author/comment-page-1/#comment-13).I would assume, that commenting on the auther page does also not work, if the WP-Ajaxify-Comments plugin is disabled because some other configuration cuases the issue. Could you please check this?
Hope this helps…
You can do the following:
– Activate option “Always include scripts”
– Use “Comment pages URL regex” to disable the auto initializing on all pages where the the comment form is dynamically created/added
– Use javscript API to manually initialize the plugin on pages where the comment form is dynamically created/added:
WPAC.Init();Hope this helps…
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Error message on pagesCould you please provide more information about the error or a link where I can reproduce the problem?
Please try out the new developer version 0.21.0 (http://downloads.wordpress.org/plugin/wp-ajaxify-comments.zip). I’ve added an option “Disable scroll to anchor”.
Hope this helps…
Could you please send me a link where I can reproduce the problem?
I’m not 100% sure if I understand your problem. Would an plugin option like “disable scroll to anchor” solve your problem?Best regards,
JanHave you tried to enable the setting “Disable URL update”?