I’m sorry, but you can’t with the current version.
Thread Starter
unu4
(@unu4)
Yeah , I saw that much, but I wuz wondering if it could get modified to do this kind of thing.
I mean like forking the plugin to import users instead of posts.
Like “Really Simple User CSV Importer” :))))
I am currently trying to figure out the plugin’s code in order to fork a version that does this. It is for a private (not public) project.
Currently what I am trying to achieve is importing users too , and doing it daily based on some local files(.txt or CSV) that my contributors upload via FTP, instead of manually importing them via the plugin interface.
Any help would be appreciated.
Thread Starter
unu4
(@unu4)
Ok , I managed to write a script that imports the users and I think I found a way of “cron”-ing it.
What still eludes me is how to make your rs-csv-importer.php use a known fixed input file on server(like plugindir/uploads/file.csv) and import it’s contents instead of asking me to upload one.
Been searching with no luck and I am out of ideas for now.
Any suggestions ?
You might be able to do that with copying codes from RS_CSV_Importer->import()
Thread Starter
unu4
(@unu4)
Thanks but I ain’t neither Php or WP guru. Do you have any practical example ?
Wuz reading about wp_handle_sideload and I thought about replacing it on line 71 instead of $file = wp_import_handle_upload();
Or maybe you can suggest another WP function that does this.
Thanks for wasting your time with my problems.