WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Ultimate TinyMCE] Shortcodes button

[Resolved] [Plugin: Ultimate TinyMCE] Shortcodes button

Viewing 15 replies - 16 through 30 (of 61 total)
  • Plugin Author Josh
    Participant

    @josh401

    Then… here is my next attempt…

    Again, going back to the beginning…

    Replace this:

    require_once('../../../../wp-admin/admin.php');
    require_once('../../../../wp-admin/includes/admin.php');

    With this:

    $parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] );
    $parse_uri2 = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] );
    require_once( $parse_uri[0] . 'wp-admin/admin.php' );
    require_once( $parse_uri2[0] . 'wp-admin/includes/admin.php' );

    Hi Josh,

    I’m OK with the WP debugger.
    Will get debug output from last lot of code (your previous response).

    Cheers,

    Rob

    Hi Josh,

    Still no go with latest code.
    Will send you soem debug stuff.

    Cheers,

    R

    Hi Josh,

    Not seeing any WP specific errors.
    Note that I use GD Press Tools plugin which has a neat feature for showing a while range of debug stuff on any screen (backend or frontend).

    If you want a specific file emailed to you let me know.

    I’ll check that firebug error again.

    R

    Hi,

    If I click on this error in Firebug:

    “invalid regular expression flag h
    http://www.kuakawa.biz/wp-content/plugins/ultimate-tinymce/shortcodes-editor-selector/editor_plugin.js.php?ver=349-20805
    Line 2″

    …it opens up following file (can’t see a way to attach). Here’s a dropbox link to file:
    https://dl.dropbox.com/u/27824132/editor_plugin.js.php

    Regards,

    R

    Plugin Author Josh
    Participant

    @josh401

    Yeah, that’s the file we are working on with the code from above.

    Okay, will you send me the login info for the site that’s not working?

    You can send it securely here:
    http://www.joshlobe.com/contact-me/

    Also, if you have FTP access to the same site, that would be fantastic.

    I’m gonna be fairly busy for the next day or two… but this is a priority for me. So, any free time I get, I’ll be working on this.

    Hi Josh,

    Updated to 2.7 and issue with shortcodes button not displaying remains an issue.

    Regards,

    Plugin Author Josh
    Participant

    @josh401

    Dangit!

    Okay, can you list the shortcodes that you DO see in the dropdown?

    Then, can you try to remember a few that you had which are not there now?

    Thanks.

    Hi Josh,

    The problem is I do not see any shortcodes.
    I don’t even get the shortcodes button in the editor!

    Plugin Author Josh
    Participant

    @josh401

    I’m working on a completely new shortcodes interface. It’s been a pain in the A**!!

    But, it’s close. It’ll be slightly different… you’ll get a popup window with a list of all available shortcodes with a radio button selection interface. Select which shortcode you want to insert, and it’ll do the rest.

    I only wish I knew javascript as much as I know php 🙂

    So… a few more days.

    Hi Josh,

    Appreciate the heads up.
    Let me know of you want me to do any testing.

    Sorry, can’t help you with the js.

    Cheers,

    Plugin Author Josh
    Participant

    @josh401

    Okay…

    New Shortcodes button in version 2.8.

    Let me know how it works for you.

    Hi Josh,

    You been burning the midnight oil mate?
    Appreciate you pursuing this problem. 2.8 downloaded and tested:

    1) I think you cracked it! well almost…
    2) Error appears inside and top of shortcode pop-up selection panel:

    “Notice: Undefined offset: 1 in ****/public_html/wp-includes/vars.php on line 28:”

    Cheers,

    I have WP 3.4.1 with Ultimate TinyMCE 2.7, the shortcodes button was working ok, but I updated to 2.8 today and shortcodes button stopped working (when I press shortcodes button only got a blank window).
    I uninstalled, deleted and reinstalled Ultimate TinyMCE 2.8 but still the issue.

    Update:
    I made other test: installed a fresh WordPress 3.4.1 (same server, just a subdomain), then installed Ultimate TinyMCE 2.8 and loaded default settings, went to edit sample page and … same issue.

Viewing 15 replies - 16 through 30 (of 61 total)
  • The topic ‘[Resolved] [Plugin: Ultimate TinyMCE] Shortcodes button’ is closed to new replies.