janjonas
Forum Replies Created
-
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Refresh entry content tooIf you change the “Comments container selector” in a way that it matches a container, that wraps also the comments and content, both the comments and the content are refreshed.
Another option is to use the ‘OnAfterUpdateComments’ callback. In this callback the variable
newDomis defined that can be used to extract the new content to replace the existing one with.Hope this helps…
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Not working! Help please!@one4thrd: Do you see a comment form when disabling the WP-Ajaxify-Comments plugin? The plugin just uses the existing comment forms and adds some AJAX-logic, rendering the comment form is not part of the plugin. And please open a new thread if you still have problems with the plugin.
Hope this helps…
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Not working! Help please!Have you disabled the Inline Comments plugin? If yes, please reset all WP-Ajaxify-Comments options to the default settings.
Hope this helps.
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Not working! Help please!Hi, I need to take a look at your page but unfortunately the link http://goo.gl/rkqZ4f seems to be down (it just shows an empty page)…
IMHO, the ‘OnBeforeUpdateComments’ callback could be used to redirect the user to another page. I assume, that there is another (JavaScript) problem, that causes the callbacks not to be called.
Could you please send me a link to a page where I can reproduce the problem?
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Not working! Help please!Hi,
do the problems still exist? Are they related to the “inline-comments” plugin? If so, Kevin are you working on a solution?
Best regards,
JanCould you please send me the JavaScript code you used for the ‘OnAfterUpdateComments’ callback.
Thanks
JanCould you please check if the element with the id commentform is the comment form’s <form> tag?
You can see a live demo of the plugin here: http://blog.janjonas.net/2012-06-08/wordpress-ajax-comment-wp-ajaxify-comments-plugin
Hope this helps…
Have you enabled the plugin’s debug mode (see question “The plugin is not working, what can I do?” here http://wordpress.org/plugins/wp-ajaxify-comments/faq/)?
You should at least see some info messages. Please send me a copy of the output.Do you get any error message on my website? I’ve successfully tested the contact form.
Could you please enable the plugin’s debug mode and take a look into the browser’s console to see if there are any errors?
Thanks for your comment.
Please send me a link to your page where I can reproduce the problem.
You can either reply to this message or send me a private message here http://blog.janjonas.net/contact.Thanks for your message.
The problem is, that WordPress does not send any feedback to the user if the comment is marked as spam (due to blacklisted words). My plugin just “ajaxifies” the default WordPress comment workflow, i.e. if WordPress does not send any feedback to the user without my plugin, there is also no feedback when using the AJAX way.
What you can do is write a little customization that shows an appropriate message to the user in the default WordPress comment feeedback workflow (just like the “ERROR: please fill the required fields (name, email).” message) and my plugin will show exactly this message in a popup.Hope this helps…
Glad to hear that you find a solution :).
Please think about write a short review or make a small donation to support the plugin. Thanks in advance…
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Multilanguage issuePlease try to set the ‘OnBeforeSelectElements’ callback option to:
var form = jQuery(dom).find(WPAC._Options.selectorCommentForm); var actionUri = new Uri(form.attr("action")); if (!(actionUri.getQueryParamValue("lang"))) { form.attr("action", actionUri.replaceQueryParam("lang", (new Uri(window.location)).getQueryParamValue("lang")).toString()); }Please try the following settings:
Post container selector: div[id^=’post-‘]
Comment pages URL regex: .*Hope this helps…