Viewing 2 replies - 31 through 32 (of 32 total)
  • Hi najeeb,

    I have found the problem. your add_menu_page() and add_submenu_page() function hooks are not receiving the page name values from variable $nmf_page_name = ‘nm-file-uploader’ in file: file-upload-options.php. I have hard coded it as follows:-

    add_menu_page($nmf_name,
    “Nmedia File Upload”,
    ‘edit_plugins’,
    ‘nm-file-uploader’,
    ‘nm_file_admin’,
    plugin_dir_url(__FILE__ ).’images/option.png’);

    add_submenu_page( ‘nm-file-uploader’,
    ‘Files List’,
    ‘Files List’,
    ‘manage_options’,
    ‘nm-user-files’,
    array(‘nmFileUploader’, ‘listUserFiles’));

    This is working fine now but feel free if you wanted to update the plugin yourself.

    Thanks

    Plugin Author N-Media

    (@nmedia)

    Hi,

    well thanks for sharing the code and fixing the issue at your own ;).

    But I don’t see any issue with same code running on many other sites. Thanks again.

Viewing 2 replies - 31 through 32 (of 32 total)
  • The topic ‘[Plugin: Nmedia Users File Uploader Plugin] Didn't work for me’ is closed to new replies.