Viewing 7 replies - 1 through 7 (of 7 total)
  • 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…

    Thread Starter yoramzara

    (@yoramzara)

    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?

    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”).

    Thread Starter yoramzara

    (@yoramzara)

    Thanks

    Thread Starter yoramzara

    (@yoramzara)

    Thanks

    Thread Starter yoramzara

    (@yoramzara)

    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

    Thread Starter yoramzara

    (@yoramzara)

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin conflict’ is closed to new replies.