Contact Me

Feel free to add a comments below, I will answer as soon as possible.

 

565 thoughts on “Contact Me

  1. Scarlett

    Is there no way for a user (type selected in Allowed to Upload) to upload a document on the frontend? My installation is not providing any Upload link on the Docs Library page.

    Reply
  2. Patrick

    HI, awesome plugin! I am having one issue on an Intranet site i developed – the time is displayed correctly for my timezone (EST) everywhere EXCEPT for the widget. The widget only displays UTC time. I have the widget set on the homepage to show users recently uploaded files and the time stamp is off by 5 hours.

    I checked out the mdocs-functions.php and found the time variables and OFFSET but for the life of me I can’t figure out how to display it correctly in the widget. Any help would be awesome!!

    Thank you!!

    Reply
  3. jmla

    Hi Bhaldie,
    GREAT job your extension.
    I have a little problem

    The window opened on the file (right clic) has a problem for one site. Like
    File options
    >
    download
    >
    description

    It seems that the window is not enough wide or too much CR.

    I have the same problem for the directories
    >
    Folders
    >
    Documents

    Thanks for your help. I can send you a hard copy, I needed.
    jean-marc

    Reply
  4. David

    Hi Ian,

    I’m the developer of a CRM plugin that extends the WordPress search via the posts_search hook to include select ACF fields for the CRM’s CPTs in search results.

    After version 3.7 of your Memphis Documents Library plugin, this search functionality has ceased with no obvious insights as to what’s taken place. Either disabling the Memphis Documents Library plugin, or downgrading it to version 3.7, restores the search functionality in our CRM plugin.

    From your Changelog for 3.7.1 I see “Bug – Fixed issue with search functionality.” and can’t help but think there must be some correlation.

    Any thoughts on what might be happening here?

    Reply
    1. Bhaldie Post author

      my only suggestion currently would be to disable advance search from the docs dashboard > Options > Settings > uncheck Turn on Advance Search

      Reply
      1. David

        Hi Ian,

        I checked various mdocs settings initially to no avail.

        Looking into this further the issue is in the mdocs_alter_searchfilters function. Basically what’s taking place is you’re implicitly setting the query_vars post_type to post and page if it was initially null and mdocs-hide-all-posts-non-members is false, which changes the default WP search behaviour, by default the query’s post_type is not set.

        It may be worth revisiting the logic for this function as it seems a tad off. One would think that if your intent is to not to include mdocs-posts in the query you shouldn’t alter the query.

        The resolution for our particular issue was to simply comment out the add_filter for this function’s inclusion in the pre_get_posts.

        Reply
        1. Bhaldie Post author

          here is a better solution, i’ve added all public post type to the search criteria which should solve your problem:


          // HIDES OR SHOWS MDOCS POST IN SEARCH
          function mdocs_alter_searchfilters($query) {
          if($query->is_search && !is_admin()) {
          $the_post_types = get_post_types(array('public' => true), 'names');
          if(get_option('mdocs-hide-all-posts') == false && get_option('mdocs-hide-all-posts-non-members') == false) {
          $post_types = array();
          foreach($the_post_types as $pt) { array_push($post_types, $pt); }
          $query->set('post_type', $post_types);
          } else {
          $post_types = array();
          foreach($the_post_types as $pt) { if($pt != 'mdocs-posts') array_push($post_types, $pt); }
          $query->set('post_type', $post_types);
          }
          }
          return $query;
          }

          Reply
          1. David

            Hey Ian,

            I can confirm your revised function logic works, and yes it is a better solution.

            Our CRM has a similar option to exclude it’s posts from search results, and has a more elegant approach that doesn’t alter the query in any fashion, it simply changes it’s exclude_from_search post type parameter. Having reviewed said code, I cobbled together a quick function as a tested working demonstration and this method may be worth considering.

            function mdocs_alter_searchfilters($query) {
            global $WP_Query, $wp_post_types;

            if ( ! is_admin() && $query->is_main_query() && $query->is_search ) {
            if ( post_type_exists( ‘mdocs-posts’ ) && (get_option(‘mdocs-hide-all-posts’) || get_option(‘mdocs-hide-all-posts-non-members’)) ) {
            $wp_post_types[‘mdocs-posts’]->exclude_from_search = true;
            }
            }

            return $query;
            }

            Not only does this method not alter the query, it insures it’s in the main query and it’s post type is still available so as not to interfere with other code running secondary queries or modifications to currently available post types.

            Unrelated but worth a mention, we had to make a minor edit in modoc-settings-page.php on line 306 to prevent error log flooding with ‘ PHP Notice: Undefined index: show’, if ( !empty($option[‘show’]) && $option[‘show’] ) $checked = “checked=’checked'”;

          2. Bhaldie Post author

            Thanks David, at first glance is looks to be a better solution.

            Thanks again for your help 🙂

  5. Joshua Wuebben

    Hello,
    I recently started using the “Memphis Docs” plugin and every time I try to upload a file the screen displays “502 Bad Gateway” and “The server returned an invalid or incomplete response”. Is there any way to fix this?

    Reply
  6. Adam

    Hi Ian,
    Not sure if this is the channel for bug reporting but here it goes.
    I have your awesome plugin on a couple of sites I run, and have noticed a potential bug.

    Basically, the modals’ html is being injected into wp_head and is interfering with other plugins.
    Looking through the code: /memphis-documents-library/includes/mdcs-settings.php ~ line 210 mdocs_document_ready_wp()

    Sorry if this has already been captured.

    Reply
    1. Bhaldie Post author

      Yes you can report bug here 🙂

      Yes I see that… I will have to find a new place to load the modals. Thanks for the report I should have a solution for this asap.

      Reply
  7. Stephen Summers

    Hi Ian,

    When I try to upload a document I now get the following message. {“mdocs-categories”:null,”post-tags”:””,”gmdate”:”16-10-2017 1:02″}. I can close this box that shows up, and upload fine but it is annoying to have pop up every time. A few thoughts….I redid the website on a staging server and synced it back to production. The other detail is that the actual page to fill out information of the document I am uploading has the box “Version” with a red line around it, and it is version 1.0. Hope you can help.

    The library is backend, so if you need access to view let me know.

    Reply
  8. Hans

    Hello Ian,

    I get next error:

    Warning: array_push() expects parameter 1 to be array, string given in /home/vzi/www.vzi.nl/wp-content/plugins/memphis-documents-library/includes/mdocs-functions.php on line 845

    since last week (after update??)

    What could this be?

    ciao
    Hans

    Reply
    1. Bhaldie Post author

      it’s just a warning, but it is weird that the query is return null. What the array should be is a list of post_types. You do have posts on your site right?

      Reply
      1. Hans

        Yes,

        it has worked well but after a message of a visitor that he had troubles with bbPress-forum I saw the error.
        After disabling your plugin the bbPress-forum worked well again.

        Version 3.7.2.1 is installed

        Reply
    1. Bhaldie Post author

      No I don’t do paid work.. this is a hobby of my and I work at my own pace. Search is on my list of things to do but I have no timeframe it will be ready.

      Reply
  9. LJA

    Hello!
    Great plugin! really useful 😀
    sorry to disturb, but i have two problem:
    in particular:
    “mdocs_display_description” function does not exist.
    “mdocs_display_real_author” function does not exist.
    I know i just have to add the corresponding function, and i already found “where” to do it, but i am still not used to php and cannot find how to say “show the description of the current doc!” so please…can you help me? thanks!

    my second doubt is about folders: every time i click on a folder in the site document view, it refreshes the whole page: is there a way to make it “refresh” only the widget, or something like that?

    Really thank you, hope to hear from you soon and close this last feature of my requested site soon after!
    LJA

    Reply
    1. Bhaldie Post author

      For you first issue. This can be turn off if you goto mDocs dashboard > Options > Settings > Displayed File Information > and uncheck Show Description and Show Author.

      I will have a fix soon for this issue but until then use this method.

      as for the second issue, there is no plans to added this methodology to mdocs.. I will add it to the feature request this thou.

      Reply
  10. Carlos Lander

    Hello How’re you? thanks for your work
    Sorry for bothering you… but I’m encountering this error everytime I upload a file, How can I fix it?

    Warning: Creating default object from empty value in /htdocs/clickandbuilds/wp-content/plugins/memphis-documents-library/includes/mdocs-post-page.php on line 52

    Reply
    1. Bhaldie Post author

      this is just a warning and should not cause file uploads to break. But the issue is related to the mdocs post, have you altered the mdocs applications code in any way?

      Reply
  11. Floyd

    I absolutely love this plugin. The only problem I have is the short code [mdocs single-file="Enter the file name."]
    I have tried using the File Name I gave the document [mdocs single-file="TLF Humanitarian Grant Application"]
    and the actual filename [mdocs single-file="TLF_HumanitarianGrantApplication.pdf"]
    I get error on the page that says “No files found in this folder.” Does the file name need to be the entire URL of the file?

    Reply
  12. Frans van Santbrink

    Hi,

    The plugin is good however when I go to the settings and change any setting upon saving it gives the following error:
    Apologies, but the page you requested could not be found. Perhaps searching will help.

    I am logged in as administrator. and the file is there actually.

    Reply
  13. Mariano

    Hi Ian,

    Is there a way of avoiding Memphis Documents Library becoming the front/home page for the site? I’m using WordPress 4.8.1 with Sydney theme 1.41, and if I activate this plugin, it automatically sets the home page to be a list of the documents uploaded to Memphis Documents Library database; if I then deactivate it, the home page returns to its original.

    I think your plugin is great but I just want to keep my original home page. I’ve looked through Memphis Documents Library and Sydney theme settings but couldn’t find a way to avoid that effect. Many thanks in advance.

    Reply
  14. Jimmy Hemmingsson

    Hi!
    Have problem when i like to add a new document.
    When i hit the red button “Add New Document” a new window appears, so far so good..

    But, on the top of the new window it just says “loading…”
    Under the loading text i get couple of fields “File name, Folder, version, etc etc.. ”
    Under the description field its two buttons, “Close” and one small with blue color (no text inside)..

    I fill in all the information and attach the file… But i cant finish the process.. if i hit the blue button it closes the window without adding the file, and off course if i hit the close button, same result..

    Pls help!
    regards,
    Jimmy

    Reply
    1. Bhaldie Post author

      This means there is javascript errors. Please open a browser inspector and look for any errors that are occurring and then report them back here.

      Reply
  15. Shyju

    Hello

    Thanks for the wonderful work.
    I don’t need to show all post uploaded..instead i want to show only post of last five according to date.
    How to set that. any short-code?

    Reply
  16. Rochelle

    I am having an issue for the file downloading by way of the download button on the UI. But if I take the URL displayed and refresh it the document becomes available for download. Can you please help me to figure out what I can do so the object (document) can be downloaded. http://middlemendoc.com/mdocuments-library/ is the link to my website were you can try it.

    Thank you

    Reply
    1. Bhaldie Post author

      I took a look at your site and it seems your site redirect every click even to an ajax call. The file did open in an XHR page but could not be downloaded. Can I ask why you need to have ajax calls for every link on your site?

      Reply
  17. Ellie Nowels

    I am taking over maintaining the site of a non-profit that uses Memphis documents. I am working on setting up backups of the site and I don’t see how to back up the documents library. I compared the document library to the uploads folder of the manual backup I did, and the Memphis documents are not there. How do I do a backup of these important documents?

    Reply
    1. Bhaldie Post author

      all files are located under the normal upload folder, whatever it was set to then mdocs/. So for example /the/upload/folder/mdocs/

      Reply
    1. Bhaldie Post author

      there is no current eta on this feature… I’m not really doing any new stuff right now but hope to get to new features soon.

      Reply
    2. gabriel moreiradasilva

      Matt
      I am in the process of evaluating your plugin to use in an intranet site.
      I would like to upload a series of documents to be viewed from the Documents folder without making a blog post.
      Is it possible to upload a document to be listed/view able/downloadable in the Library of Documents, without automatically placing a blog post?
      If so, what is the process to accomplish this?
      Thanks for your help

      Reply
      1. Bhaldie Post author

        you can’t stop the creation of post but you can hide post from people from the mdocs Options > Settings menu.

        Reply

Leave a Reply

Your email address will not be published. Required fields are marked *