janjonas
Forum Replies Created
-
Now I get “Error establishing a database connection” …
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Conflict with Spam PluginHi,
thanks for your comment. The problem is, that the Kama SpamBlock is not initialized properly after a comment was posted with AJAX.
To fix this you can set the following JavaScript callbacks on the WP-Ajaxify-Comments settings page:
Before select elements:
if (!window['Kama_Nounce']) window['Kama_Nounce'] = document.getElementById('submit').onclick;After update comments:
document.getElementById('submit').onclick = window['Kama_Nounce'];Please replace “submit” by the id of your submit button if your theme does not use the id “submit” (defined in the kama_spamblock.php in variable $sibmit_button_id)
Hope this helps…
It seems that your website is currently offline …
I cannot test the comments without a login …
Thanks for your bug report. Please update to the most recent version 0.9.0 to fix the bug.
Hope this helps…
Hi,
please try out the new developer version 0.9.0 (http://downloads.wordpress.org/plugin/wp-ajaxify-comments.zip). I’v minimized the number of queries to one per page load.
In future versions I will add an option to enable the plugin on “none-single-post”-pages and this option will require at least one query per page.Hope this helps …
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] calling this with ajaxGreat 🙂
Is your site public available?
I do not think the “Anchor element not found” error is the problem. If this error occurs the plugin is not able to scroll to the new comment. The ajax part (inserting new comments) should not be effected by this problem.
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] calling this with ajaxHi,
please try out the new developer version 0.9.0 (http://downloads.wordpress.org/plugin/wp-ajaxify-comments.zip). This new version adds a method JavaScript wpac_init() that can be used to initialized the plugin manually. This new method also ensures thet the initialization is only done once.
Hope this helps…
Thanks for your comment.
Could you please provide me some more details? Which (additional) queries do you see when enabling the plugin?Resolved 🙂
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Comments on category pageOk, I see. This is not supported at the moment. I will think about supporting scenarios like yours out of the box in a future release…
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Comments on category pageWhat do you mean by “call the plugin”?
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Comments on category pageThe plugin does not initialize the AJAX functionality on “non-comment pages” and theses pages are detected by the following statement
((is_page() || is_single()) && comments_open($post->ID)
and I think this statement returns false on your category pages.Which theme are you using? How do I create such a category page with a comment form?
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] Comments on category pageCould you please send me a link to your category page?