amr users
[resolved] Unwanted CSV file? (5 posts)

  1. bluemoon62
    Posted 2 years ago #

    I have been finding a basic users list exported as a csv file in my images directory. (Just a few fields are in the list.)

    However, I don't see where that was set up in my options.

    Am I missing something? I believe that it is originating from this plugin, and I have the latest version.

    Any tips or advice on how to correct this?

    Perhaps it needs to be reset by reinstalling it.


  2. anmari
    Plugin Author

    Posted 2 years ago #

    One of the lists is 'public' by default.

    Untick the public and no csv lists will be stored/cached


  3. bluemoon62
    Posted 2 years ago #

    Changed this question. Sorry. Please see below.

  4. bluemoon62
    Posted 2 years ago #

    Okay, the CSV file appears in the images directory, and I want to make sure that is on purpose (by design).

    It was actually in two different directories within the images directory at one point.

    Is that a normal default location for the CSV file? Can I control where the CSV file outputs?

  5. anmari
    Plugin Author

    Posted 2 years ago #

    Hi bluemoon,

    For these public lists, it has to store the csv file somewhere 'public'ish and also where the folder protection settings are such that plugins can store a file.
    So the code asks wp for whatever you have specified as the 'uploads' folder in your wp settings and then creates a subdirectory with a 'silent' index.

    $upload_dir = wp_upload_dir();
    	$csv_path = $upload_dir['basedir']. '/users_csv';

    If you changed your uploads settings at some point, then the location of the csv file would change. So you can control the location to the same extent that you can control the uploads folder.
    I'm loath to create too many settings - makes a plugin feel too cumbersome and it hardly seems like a very necessary thing to be able to change.

    If you had some good reason why you needed to be able to control the location, I'd probably look at making the function amr_users_get_csv_path pluggable. would have to test that nothing else got broken.
    If it means a lot to you, you could try doing that and let me know, and I'll consider the change for the next update.

    alternatively making one could make the user_csv translateable??

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • amr users
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.