Support » Plugin: amr users » Unwanted CSV file?

  • Resolved bluemoon62


    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author anmari


    One of the lists is ‘public’ by default.

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


    Export wordpress users to csv using amr users plugin

    Changed this question. Sorry. Please see below.

    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?

    Plugin Author anmari


    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??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unwanted CSV file?’ is closed to new replies.