Title: [Plugin: Ultimate TinyMCE] Shortcodes button
Last modified: August 20, 2016

---

# [Plugin: Ultimate TinyMCE] Shortcodes button

 *  Resolved [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/)
 * Hi,
 * I’ve been having an issue to get the shortcodes dropdown button to display in
   my editor.
 * Problem persists even though I have done following:
 * 1) Tried in Firefox
    2) Tried in Chrome 3) Cleared browser cache 4) Disabled 
   all plugins except for Ultimate TinyMCE 5) Resetting plugin
 * Also, if I enable Firebug on editor page – interestingly I get the following 
   error:
 * “invalid regular expression flag h
    [http://www.mydomain.com/wp-content/plugins/ultimate-tinymce/shortcodes-editor-selector/editor_plugin.js.php?ver=349-20805](http://www.mydomain.com/wp-content/plugins/ultimate-tinymce/shortcodes-editor-selector/editor_plugin.js.php?ver=349-20805)
   Line 2″
 * Any ideas anyone?
 * Cheers,
 * [http://wordpress.org/extend/plugins/ultimate-tinymce/](http://wordpress.org/extend/plugins/ultimate-tinymce/)

Viewing 15 replies - 16 through 30 (of 61 total)

[←](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/?output_format=md)
2 [3](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/?output_format=md)
[5](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/5/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/3/?output_format=md)

 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2891976)
 * 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' );
       ```
   
 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2891977)
 * Hi Josh,
 * I’m OK with the WP debugger.
    Will get debug output from last lot of code (your
   previous response).
 * Cheers,
 * Rob
 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2891978)
 * Hi Josh,
 * Still no go with latest code.
    Will send you soem debug stuff.
 * Cheers,
 * R
 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2891979)
 * 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
 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2891980)
 * 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](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](https://dl.dropbox.com/u/27824132/editor_plugin.js.php)
 * Regards,
 * R
 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2891982)
 * 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/](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.
 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2892025)
 * Hi Josh,
 * Updated to 2.7 and issue with shortcodes button not displaying remains an issue.
 * Regards,
 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2892026)
 * 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.
 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2892028)
 * 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](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2892056)
 * 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.
 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2892057)
 * 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](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2892070)
 * Okay…
 * New Shortcodes button in version 2.8.
 * Let me know how it works for you.
 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2892071)
 * 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,
 *  [aaanadie](https://wordpress.org/support/users/aaanadie/)
 * (@aaanadie)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2892072)
 * 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.
 *  [aaanadie](https://wordpress.org/support/users/aaanadie/)
 * (@aaanadie)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/#post-2892073)
 * 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)

[←](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/?output_format=md)
2 [3](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/?output_format=md)
[5](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/5/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/3/?output_format=md)

The topic ‘[Plugin: Ultimate TinyMCE] Shortcodes button’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ultimate-tinymce.svg)
 * [Ultimate TinyMCE](https://wordpress.org/plugins/ultimate-tinymce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-tinymce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-tinymce/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-tinymce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-tinymce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-tinymce/reviews/)

## Tags

 * [editor](https://wordpress.org/support/topic-tag/editor/)

 * 61 replies
 * 5 participants
 * Last reply from: [Josh](https://wordpress.org/support/users/josh401/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/5/#post-2892117)
 * Status: resolved