I’m using the WP Voting plugin in conjunction with WP Ajax Edit Comments and they seem to be incompatible. I’m allowing voting on comments by using the WP Voting and allowing subscribers to be able to ONLY EDIT their own comments only. So this work great except that once the user edits and saves the comment, the thumbs up/down buttons don’t work anymore.
Further investigating the WP Ajax Edit Comments it appears that it is extracting the existing comment content, load it to the popup textbox and re-append the edited comment to its original spot without refreshing the page. This action will remove the onclick events associated with the thumbs up/down buttons.
I tried to look at the code behind the WP Ajax Edit Comments but I’m unable to make this work. I need a solution that will atleast refreshs the page when clicking the “Save” button on the Comment Editor popup. A detailed explanation will help a lot as I’m new to WordPress and PHP.
WP Ajax Edit Comments: http://wordpress.org/support/plugin/wp-ajax-edit-comments
WP Voting : http://wordpress.org/extend/plugins/wp-voting/
- The topic ‘WP Ajax Edit Comments incompatible with WP Voting’ is closed to new replies.