WordPress.org

Forums

WP Ajaxify Comments
[resolved] Plugin conflict (8 posts)

  1. yoramzara
    Member
    Posted 2 years ago #

    When Ajax Edit Comments plugin is active
    http://wordpress.org/plugins/wp-ajax-edit-comments/
    and
    WP-Ajaxify-Comments plugin is active
    http://wordpress.org/plugins/wp-ajaxify-comments/

    Ajax Edit Comments does not work.

    Can you help?

    http://wordpress.org/extend/plugins/wp-ajaxify-comments/

  2. janjonas
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for your comment.

    As far as I understand the wp-ajax-edit-comments plugin you can use the following 'OnAfterUpdateComments' callback settings:

    //After the deadline
    	$j = jQuery;
    	$j('textarea#comment').before("<div id='aec_edit_options'></div>");
    	if (aec_frontend.atd == 'true') {
    		AtD.rpc_css_lang = aec_frontend.atdlang;
    		$j('textarea#comment').addProofreader();
    		$j("#submit").click(function() {
    				$j(".AtD_edit_button").trigger("click");
    		});
    		var spellcheck = $j("#AtD_0").clone(true);
    		$j("#AtD_0").remove();
    		$j("#aec_edit_options").append(spellcheck);
    	}
    	if (aec_frontend.expand == 'true') {
    		//Don't show this option on a mobile device
    		try {
    			var uagent = navigator.userAgent.toLowerCase();
    			if (uagent.search('iphone') > -1) { return true; }
    			if (uagent.search('ipod') > -1) { return true; }
    			if (uagent.search('webkit') > -1) {
    				if (uagent.search('series60') > -1) {
    					if (uagent.search('symbian') > -1) { return true; }
    				}
    			}
    			if (uagent.search('android') > -1) { return true; }
    			if (uagent.search('windows ce') > -1) { return true; }
    			if (uagent.search('blackberry') > -1) { return true; }
    			if (uagent.search('palm') > -1) { return true; }
    		} catch(err) { }
    		//AEC Expand Comment Option
    		$j("#aec_edit_options").append("<span class='aec_expand'></span>");
    		$j(".aec_expand").colorbox({title: aec_frontend.title,iframe: true,href: aec_frontend.url, width:"90%", height:"90%", opacity: 0.6, onOpen: function() {$j(".AtD_edit_button").trigger("click");}});
    	}
    
    $j.ajaxeditcomments.init();

    Hope this helps...

  3. yoramzara
    Member
    Posted 2 years ago #

    I am not sure I understand. I am a user, not a coder. Should I change something in the Ajax Edit Comments plugin settings? What exactly? Do I need to change the code of the plugin?

  4. janjonas
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry for the confusion... You can copy & paste the code in the 'OnAfterUpdateComments' callback settings which you can on the WP-Ajaxify-Comments plugin settings page (in the admin panel under "Settings > WP-Ajaxify-Comments").

  5. yoramzara
    Member
    Posted 2 years ago #

    Thanks

  6. yoramzara
    Member
    Posted 2 years ago #

    Thanks

  7. yoramzara
    Member
    Posted 1 year ago #

    The issue is not fixed. The thing is that Ajax Edit Comments has usually nice icons "edit" "trash". When WP-Ajaxify-Comments plugin is active. the icons do not show, just the text. I entered the code. It did not help

  8. yoramzara
    Member
    Posted 1 year ago #

    I think I found a solution.In Ajax Edit Comments I chose "Load Scripts in Footer". It seems to fix it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Ajaxify Comments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.