WordPress.org

Support

Support » Plugins and Hacks » hRecipe » [Resolved] [Plugin: hRecipe] Form Not Popping Up

[Resolved] [Plugin: hRecipe] Form Not Popping Up

  • I installed the latest version of hrecipe, but when I go to write a new post and click on the star button, I’m just seeing a blank pop-up screen with no form or anything to actually enter my recipe information. I have tried deleting and reinstalling, I just can’t get this to work.

    Any help would be greatly appreciated.

Viewing 14 replies - 1 through 14 (of 14 total)
  • windracer

    @windracer

    I’m having the same problem both in Firefox and IE.

    Hi Got the same problem. any thing new?? as far as i can see there is some kind of error.

    I just installed it and I am having the same problem. I tried it using FireFox Mac and PC, Safari Mac, and IE… all recent versions. It does not work.

    Plugin Author Dave Doolin

    @doolin

    Working on the hrecipe javascript issues right now. Thank you for your patience.

    Hope this helps. error generated when clicking on icon

    Message: Object expected
    Line: 25
    Char: 5
    Code: 0
    URI: /wp-content/plugins/hrecipe/tinymceplugin/editor_plugin.js?ver=3393200

    Ran the above javascript at http://www.jslint.com and the following errors came up
    Error:

    Problem at line 5 character 10: Expected exactly one space between ‘function’ and ‘(‘.

    (function() {

    Problem at line 7 character 1: Expected ‘tinymce’ at column 5, not column 1.

    tinymce.PluginManager.requireLangPack(‘hrecipe_plugin’);

    Problem at line 7 character 1: ‘tinymce’ is not defined.

    tinymce.PluginManager.requireLangPack(‘hrecipe_plugin’);

    Problem at line 9 character 1: Expected ‘tinymce’ at column 5, not column 1.

    tinymce.create(‘tinymce.plugins.hrecipe_plugin’, {

    Problem at line 9 character 1: ‘tinymce’ is not defined.

    tinymce.create(‘tinymce.plugins.hrecipe_plugin’, {

    Problem at line 10 character 5: Expected ‘getInfo’ at column 9, not column 5.

    getInfo : function() {

    Problem at line 10 character 23: Expected exactly one space between ‘function’ and ‘(‘.

    getInfo : function() {

    Problem at line 11 character 9: Expected ‘return’ at column 13, not column 9.

    return {

    Problem at line 12 character 13: Expected ‘longname’ at column 17, not column 13.

    longname : ‘hRecipe Support for Editor’,

    Problem at line 13 character 13: Expected ‘author’ at column 17, not column 13.

    author : ‘Dave Doolin’,

    Problem at line 14 character 13: Expected ‘authorurl’ at column 17, not column 13.

    authorurl : ‘http://website-in-a-weekend.net/’,

    Problem at line 15 character 13: Expected ‘infourl’ at column 17, not column 13.

    infourl : ‘http://website-in-a-weekend.net/’,

    Problem at line 16 character 13: Expected ‘version’ at column 17, not column 13.

    version : “0.1”

    Problem at line 17 character 9: Expected ‘}’ at column 13, not column 9.

    };

    Problem at line 18 character 5: Expected ‘}’ at column 9, not column 5.

    },

    Problem at line 20 character 5: Expected ‘init’ at column 9, not column 5.

    init : function(ed, url) {

    Problem at line 20 character 20: Expected exactly one space between ‘function’ and ‘(‘.

    init : function(ed, url) {

    Problem at line 21 character 9: Expected ‘ed’ at column 13, not column 9.

    ed.addButton(‘hrecipe_button’, {

    Problem at line 22 character 13: Expected ‘title’ at column 17, not column 13.

    title : ‘hrecipe_plugin.insertbutton’,

    Problem at line 23 character 13: Expected ‘image’ at column 17, not column 13.

    image : url + ‘/../starfull.gif’,

    Problem at line 24 character 13: Expected ‘onclick’ at column 17, not column 13.

    onclick : function () {

    Problem at line 25 character 17: Expected ‘edInsertHRecipe’ at column 21, not column 17.

    edInsertHRecipe();

    Problem at line 25 character 17: ‘edInsertHRecipe’ is not defined.

    edInsertHRecipe();

    Problem at line 26 character 13: Expected ‘}’ at column 17, not column 13.

    }

    Problem at line 27 character 9: Expected ‘}’ at column 13, not column 9.

    });

    Problem at line 28 character 5: Expected ‘}’ at column 9, not column 5.

    },

    Problem at line 30 character 5: Expected ‘createControl’ at column 9, not column 5.

    createControl : function (n, cm) {

    Problem at line 31 character 9: Expected ‘return’ at column 13, not column 9.

    return null;

    Problem at line 32 character 5: Expected ‘}’ at column 9, not column 5.

    }

    Problem at line 34 character 1: Expected ‘}’ at column 5, not column 1.

    });

    Problem at line 37 character 1: Expected ‘tinymce’ at column 5, not column 1.

    tinymce.PluginManager.add(‘hrecipe_plugin’, tinymce.plugins.hrecipe_plugin);

    Problem at line 37 character 1: ‘tinymce’ is not defined.

    tinymce.PluginManager.add(‘hrecipe_plugin’, tinymce.plugins.hrecipe_plugin);

    Problem at line 37 character 45: ‘tinymce’ is not defined.

    tinymce.PluginManager.add(‘hrecipe_plugin’, tinymce.plugins.hrecipe_plugin);

    Problem at line 38 character 76: Expected ‘(end)’ at column 1, not column 76.

    Problem at line 38 character 76: Expected ‘}’ to match ‘{‘ from line 5 and instead saw ‘(end)’.

    Problem at line 38 character 76: Unexpected space between ‘(end)’ and ‘(end)’.

    Problem at line 38 character 76: Expected ‘)’ to match ‘(‘ from line 5 and instead saw ‘(end)’.

    Problem at line 5 character 1: Do not wrap function literals in parens unless they are to be immediately invoked.

    (function() {

    Problem at line 38 character 76: Expected an assignment or function call and instead saw an expression.

    Problem at line 38 character 1: Expected ‘;’ and instead saw ‘(end)’.

    Implied global: tinymce 7,9,37, edInsertHRecipe 25

    Plugin Author Dave Doolin

    @doolin

    Thanks!

    Most of these are formatting and stylistic issues, which on the one hand are not difficult to “fix,” but on the other hand, don’t usually matter for runtime.

    On the other other hand, I’ve been assuming the problems have been in the main part of the javascript code, not the editor plugin code, which is also many years old. So now I’m inspired to clean this up a bit, and to poke around on the TinyMCE site to verify this code against the API shipping with WP currently.

    Cleaning up these small style issues is encouraging; thanks again for running the jslint check.

    Plugin Author Dave Doolin

    @doolin

    @2porter

    I went ahead an cleaned up all the whitespace complaints on editor_plugin.js.

    This one won’t get changed this time around:
    Problem at line 5 character 1: Do not wrap function literals in parens unless they are to be immediately invoked.

    It turns out that this code is how the TinyMCE editor operates. For better or worse, it’s the official way to handle plugins according to the documentation on the Moxiecode web site.

    Remember, JSLint largely reflects Crockford’s opinion on how code should be written, not Gospel Truth. But he is an outstanding programmer and a really cool guy so I’m going to defer to his recommendations everywhere else possible.

    Coming up: factored out a big hunk of Javascript for recipe formatting and ran it through JSLint as well. It’s nice and clean. I’ll commit and release probably sometime this week.

    I am also having the same problem in IE and Firefox. Have deactivated all plugins — no fix. Thanks for working on it! Theresa

    Plugin Author Dave Doolin

    @doolin

    @theresacs – I’m looking at both hrecipe and wp core code at this very moment. Clearly, something is zooey for some people. It’s still working for me. Crazy.

    I uninstalled it and reinstalled and it worked fine. Whatever you updated worked for me so far. Although the plug-in didn’t indicate there was an update available, I now have a new version with the new editor icon

    Plugin Author Dave Doolin

    @doolin

    @2porter – Excellent. I hope to have another cleanup release out within a couple of hours (which means end of day probably).

    update installed — and fixed! Thanks doolin…much appreciated. I need to donate…I’ve needed to do it for awhile! I can’t figure out how to send you some money — let me know, and thanks again! Theresa

    Plugin Author Dave Doolin

    @doolin

    @theresacs – Thanks for kind words! I hope hrecipe is working really well for you now.

    There’s a Paypal button tucked away on the options page.

    And please visit some of my other web sites listed as well.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Resolved] [Plugin: hRecipe] Form Not Popping Up’ is closed to new replies.
Skip to toolbar