janjonas
Forum Replies Created
-
Hi localhost_8080,
you can use the “onAfterUpdateComments” callback option to add your own JavaScript code that should be executed after the comments have been replaced.
Hope this helps…
JanPlease try to set the “Comments container selector” option to
div.comments-areaHope this helps…
Thanks for your feedback. I will mark this topic as resolved.
Please think about supporting the plugin by making a small donation or writing a short review.
Thanks in advance,
JanPlease try the following settings:
‘OnAfterUpdateComments’ callback:
if(typeof gdsr_cnst_cache!=="undefined"&&gdsr_cnst_cache==1){var ela="";var elc="";jQuery(".gdsrcacheloader").each(function(e){el=jQuery(this).attr("id").substring(6);if(el.substring(0,1)=="a"){ela+=el+":"}else{elc+=el+":"}});if(ela.length>0){ela=ela.substring(0,ela.length-1);jQuery.getJSON(gdsr_cnst_ajax,{_ajax_nonce:gdsr_cnst_nonce,vote_type:"cache",vote_domain:"a",votes:ela},function(e){var t;for(t=0;t<e.items.length;t++){var n=e.items[t];jQuery(jquery_escape_id(n.id)).replaceWith(n.html)}if(jQuery.browser.msie){jQuery(".gdsr_rating_as > a").attr("href","javascript:gdsrEmpty()")}if(jQuery.browser.msie){jQuery(".gdthumb > a").attr("href","javascript:gdsrEmpty()")}if(jQuery.browser.msie){jQuery(".gdsr_multisbutton_as > a").attr("href","javascript:gdsrEmpty()")}if(jQuery.browser.msie){jQuery(".gdsr_multis_as > a").attr("href","javascript:gdsrEmpty()")}jQuery(".gdsr_rating_as > a").unbind("click");jQuery(".gdsr_rating_as > a").click(function(){gdsr_rating_standard(this)});jQuery(".gdthumb > a").unbind("click");jQuery(".gdthumb > a").click(function(){gdsr_rating_thumb(this)});jQuery(".gdsr_multisbutton_as > a").unbind("click");jQuery(".gdsr_multisbutton_as > a").click(function(){gdsr_rating_multi_button(this)});jQuery(".gdsr_multis_as > a").unbind("click");jQuery(".gdsr_multis_as > a").click(function(){gdsr_rating_multi_stars(this)})})}if(elc.length>0){elc=elc.substring(0,elc.length-1);jQuery.getJSON(gdsr_cnst_ajax,{_ajax_nonce:gdsr_cnst_nonce,vote_type:"cache",vote_domain:"c",votes:elc},function(e){var t;for(t=0;t<e.items.length;t++){var n=e.items[t];jQuery(jquery_escape_id(n.id)).replaceWith(n.html)}if(jQuery.browser.msie){jQuery(".gdsr_rating_as > a").attr("href","javascript:gdsrEmpty()")}if(jQuery.browser.msie){jQuery(".gdthumb > a").attr("href","javascript:gdsrEmpty()")}jQuery(".gdsr_rating_as > a").unbind("click");jQuery(".gdsr_rating_as > a").click(function(){gdsr_rating_standard(this)});jQuery(".gdthumb > a").unbind("click");jQuery(".gdthumb > a").click(function(){gdsr_rating_thumb(this)})})}}if(gdsr_ie()){jQuery(".gdsr_rating_as > a").attr("href","javascript:gdsrEmpty()")}jQuery(".gdsr_rating_as > a").click(function(){gdsr_rating_standard(this)});if(gdsr_ie()){jQuery(".gdthumb > a").attr("href","javascript:gdsrEmpty()")}jQuery(".gdthumb > a").click(function(){gdsr_rating_thumb(this)});if(gdsr_ie()){jQuery(".gdsr_integration > a").attr("href","javascript:gdsrEmpty()")}jQuery(".gdsr_integration > a").click(function(){var e=jQuery(this).attr("id").split("X");var t="#"+jQuery(this).parent().attr("id");var n=e[1]*e[2];jQuery(t+"_stars_rated").css("width",n+"px");jQuery(t+"_value").val(e[1])});if(gdsr_ie()){jQuery(".gdsr_multisbutton_as > a").attr("href","javascript:gdsrEmpty()")}jQuery(".gdsr_multisbutton_as > a").click(function(){gdsr_rating_multi_button(this)});if(gdsr_ie()){jQuery(".gdsr_multis_as > a").attr("href","javascript:gdsrEmpty()")}jQuery(".gdsr_multis_as > a").click(function(){gdsr_rating_multi_stars(this)});if(gdsr_ie()){jQuery(".gdsr_mur_static > a").attr("href","javascript:gdsrEmpty()")}jQuery(".gdsr_mur_static > a").click(function(){var e=jQuery(this).attr("id").split("X");var t=e[4];var n=e[5];var r=t*n;var i="#gdsr_murvw_stars_current_"+e[1]+"_"+e[2]+"_"+e[3];var s=".gdsr_int_multi_"+e[1]+"_"+e[2];jQuery(i).css("width",r+"px");var o=jQuery(s).val().split("X");o[e[3]]=t;var u;for(u=0;u<o.length;u++){if(parseInt(o[u])===0){break}}jQuery(s).val(o.join("X"))}) jQuery("img[data-lazy-src]").each(function(){var e=jQuery(this).attr("data-lazy-src");if(!e)return;jQuery(this).removeAttr("data-lazy-src").attr({"data-lazy-loaded":"true",src:e})})Hi donmcleman,
this feature is included in version 0.17.0 of the plugin which is going to be released this weekend.
Best regards,
JanCould you please send me a link to your WordPress page where I can reproduce the problem?
Which plugins do have installed to add the “GD Star Rating” and the avatar feature?
Hi Vulture345,
please try to update to the most recent developer version 0.17.0 (http://downloads.wordpress.org/plugin/wp-ajaxify-comments.zip).
I’ve added an options to customize (default) WordPress messages.Hope this helps…
Hi,
please try the most recent developer version 0.17.0 from here http://plugins.svn.wordpress.org/wp-ajaxify-comments/trunk.
(Auto) scrolling is now disabled when comments are updated by “Auto update idle time”.Hope this helps,
JanProblem seems to be solved…
Thanks for your comment. I’ve added an option to enable/disable auto scrolling when using the auto-update function on my todo list…
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] wptouch proThe theme also seems to do some comment validation/handling on mobile devices. I cannot read the Arabic messages you get when trying to submit a comment. Could you please try to modify your theme to disable all the (special) mobile comment function?
Hi andy,
Thanks for your comment. I will add this feature on my todo list.
Best Regards,
JanHi Vaughan,
the idle time is defined per “tab”, i.e. each tab has it’s own idle time counter that refreshes the comments on that tab/page.
If the comments are refreshed you should see an overlay popup saying “Loading comments, please wait…”. Please turn on the plugin’s debig mode and check your browser console (F12) to see if there are any errors.
If you have further questions, please open a new support thread or contact me here http://blog.janjonas.net/contact.
Thanks
JanProblem seems to be fixed. Please feel free to reopen the thread if you need further assistance…