| Anonymous | Login | Signup for a new account | 02-09-10 22:07 GMT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0003598 | phplist | Subscriber Import | public | 14-07-05 20:07 | 18-02-08 14:19 | ||||||
| Reporter | jotazzu | ||||||||||
| Priority | normal | Severity | feature | Reproducibility | N/A | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 2.8.12 | ||||||||||
| Target Version | 2.11.X | Fixed in Version | |||||||||
| Summary | 0003598: Import without file uploading for the topic 'import emails with different values for attributes' | ||||||||||
| Description | This is a solution to import emails without file uploading for the topic 'import emails with different values for attributes' in PHPlist 2.8.12. The code to be changed is only in admin/commonlib/pages/importcsv.php. The solution is also useable for older versions of PHP (tested with v4.1.2). | ||||||||||
| Additional Information | The basic idea is to paste the email data in a textarea field in the import form. The pronblem is to keep the email data persistent for some time between page requests. I did this by storing the email data itself in the $_SESSION["import_file"] variable instead of the file name of the temporary file. In this way the changes to be made to the code keep minimal. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0005674) michiel (administrator) 15-07-05 02:23 |
but if you've been hacking the existing importcvs file and only made a few changes, it may be more desirable to make those changes to that file and make it optional. Otherwise, the whole process of importing a CVS-type list of emails, from whatever source would have to be updated twice in case a bug is found. Maybe make it some "config" thing to choose whether to see one or both. Isn't that a better approach? Alternatively, we could split importcsv into a "retrieve source" and "process source" section, where the former would be two and the latter one. Also, if you do so, can you work from the CVS, as the latest importcsv has changed a lot to handle the translations. |
| Copyright © 2000 - 2010 MantisBT Group |