Support » Plugin: WP Photo Album Plus » when use ultimate tinyMCE plugin, wpap icon disappeared

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    You must turn it on in the tinymce settings.
    See the Other Plugin’s buttons section below Buttons group 2

    This is done so you can specify in which row it must appear.

    Feature thanx to co-operation between Josh Lobe and me

    How to activate the wppa icon in the new ultimate tiny MCE 4.6visual editor ?

    “See the Other Plugin’s buttons section below Buttons group 2”

    I can’t find this settings 🙁

    Removed Items
    “Removed options for setting other plugins buttons. A new interface will be added soon.”

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I made a patch to fix this.

    de-activate, delete and re-install wppa+

    OR ( if you can edit php files ) :

    edit wp-photo-album-plus/wppa-tinymce.php line from line 19 it reads:

    function action_admin_init() {
    		// only hook up these filters if we're in the admin panel, and the current user has permission
    		// to edit posts or pages
    		if ( current_user_can( 'edit_posts' ) || current_user_can( 'edit_pages' ) ) {
    			if (!is_plugin_active('ultimate-tinymce/main.php')) {
    				add_filter( 'mce_buttons', array( $this, 'filter_mce_button' ) );
    			}
    			add_filter( 'mce_external_plugins', array( $this, 'filter_mce_plugin' ) );
    		}
    	}

    change to:

    function action_admin_init() {
    		// only hook up these filters if we're in the admin panel, and the current user has permission
    		// to edit posts or pages
    		if ( current_user_can( 'edit_posts' ) || current_user_can( 'edit_pages' ) ) {
    //			if (!is_plugin_active('ultimate-tinymce/main.php')) {
    				add_filter( 'mce_buttons', array( $this, 'filter_mce_button' ) );
    //			}
    			add_filter( 'mce_external_plugins', array( $this, 'filter_mce_plugin' ) );
    		}
    	}

    i.e. comment 2 lines away

    Thank you very much, for helping so fast. I deleted the old version and installed the new one and it works fine.
    Many thanks, and have a nice day.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘when use ultimate tinyMCE plugin, wpap icon disappeared’ is closed to new replies.