It would be a very handy feature to have the role names of each individual user in the CSV download for easier reference, especially if you have several roles and must select users of only one role. There is already a "role selector" in the settings page, so I think this could be easily included into the CSV download file as well!
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | profile_csv_611-121126-1429.diff | 2.69 KB | serialbob |
| #18 | profile_csv_611_add-roles_20121124-1036.diff | 3.81 KB | serialbob |
| #14 | profile_csv_611_roles_01.patch | 1.08 KB | Anonymous (not verified) |
| #13 | profile_csv_611_roles_01.patch | 1.19 KB | Anonymous (not verified) |
| #5 | roles.patch | 2.1 KB | BeMathis |
Comments
Comment #1
BeMathis commentedAgreed, I have seen patches roaming around for this but none exist for 6.x
Any help?
Comment #2
BeMathis commentedHere is my patch that will add this feature
Edit: This patch is bad, see new patch bellow
Comment #3
BeMathis commentedComment #4
kbahey commentedThe patch fails to apply completely. Please read http://drupal.org/patch for details on how to create a proper patch.
Comment #5
BeMathis commented*scratches head*
not too sure what went wrong there.
Anyway, here is the correct patch.
Comment #6
kbahey commentedStill fails.
Comment #7
AliMartin commentedHi there!
I really need this patched version too. Is it possible to upload the final patched module instead?
I've previously found other patches/patched versions but they appear to be buggy, e.g.
- profile_csv drops off the admin menu
- database warnings and errors
BeMathis - would it be possible to upload the patched module please?
Kind regards,
Ali
Comment #8
AliMartin commentedHi kebahey
The patch file from BeMathis does work (thank you BeMathis) but, as a first time patcher, it took some time to find out how to do it.
The following page explains it all:
http://idonny.com/analysis/windows-diff-patch-command-prompt-drupal-GNUW...
:o)
Comment #9
AliMartin commentedI've found another way to do exactly the same thing without using the Profile_CSV module. I'm probably reinventing the wheel here but hopefully it'll help you and others out as you trawl through the forums.
You can write CSV exports using the Views and the Views Bonus Pack modules.
Once installed create a "user" view type (instead of the usual "node" view type) and pick out all the user profile fields you want to display, including those troublesome roles and hidden profile fields.
Then add a "feed" display for the view and under "style", courtesy of the Views Bonus Pack, you can now choose CSV and XLS formats. Tweak the style settings and click on "provide as file" and specify a filename.
It'd be a good idea to restrict access to the view too.
Hope this helps :o)
Comment #10
BeMathis commentedNice though Ali! Using Views could effectively do all this.
@kbahey if you don't mind, I would like to know what, specifically, is failing for you. The patch works fine on my end. I haven't posted many of my fixes to the community and would like to learn exactly what I am doing that is causing problems for you. The patch works fine on my end so it is frustrating to hear that you are having problems :(
Comment #11
ksohail commentedHi,
I have just install profile CSV, Its allow me to set configuration, But I am not getting idea from where to export users profile in CSV.
Please guide me from where I can export profiles.
Thanks Regards,
Kamran Sohail
Comment #12
kbahey commentedDo not divert issues to another topic.
Comment #13
Anonymous (not verified) commentedI've made a patch for the 6.x-1.1 version (without some while)
Comment #14
Anonymous (not verified) commentedSorry, have an extra line. This is the clean code
Comment #15
dandaman commentedIn #13 and #14 the patch is not a unified diff so it doesn't apply in my application.
Comment #16
Gareth10 commentedCan anyone confirm that this patch works?
Comment #17
serialbob commentedIt doesn't works.
Comment #18
serialbob commentedHi,
I've made them.
Another problem, Microsoft Office Mac doesn't support very well the UTF-8 formatting. I will try to solve this problem.
Regards
Comment #19
serialbob commentedFormat date fields in a readable display.