Export Join Date

luxx - June 29, 2009 - 17:03
Project:Profile CSV
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

Pretty nice module, but I need to have Join Date on my reports. Anyone tried something like this?

#1

Teezi - October 12, 2009 - 10:58

I agree. Great module, but a date field would certainly be valuable! Any advise on the matter will be greatly appreciated.

#2

XeroCounter - October 22, 2009 - 18:41

I was expecting the same but could not do that for a long. I modified some code to add date field for me and it's working.

The Attachment contains the profile_csv.txt file. Rename it to profile_csv.module and replace with the old one.

Xero Counter

AttachmentSize
profile_csv.txt 9.4 KB

#3

ggevalt - November 3, 2009 - 19:00

Could something like this be tweaked to give us the date of a user's last access? If so, how? I'm still learning about working with coding -- any tips you can provide would be much appreciated. Or if anyone has a patch that does this, we'd love to know!
Thanks,
Eva (I work with ggevalt-- sorry for any confusion)

#4

ggevalt - November 3, 2009 - 21:04

Here's what I've cobbled together -- appears to be working as we need it to. I've successfully pulled several reports on a local and a live site.

I added both a "Member since" field and a "last access" field, so you can see when your members joined the site (includes date and time) as well as the last time they accessed the site (includes date and time). Note: you will need to check these options in the "General" menu at admin/settings/profile_csv before they will be included in the report.

This is the entire module code; as with XeroCounter's attachment, rename the file to profile_csv.module and replace the old one with this one.

Hopefully this will be helpful for someone.

Eva

AttachmentSize
profile_csv_withdates.txt 9.58 KB

#5

kbahey - November 4, 2009 - 03:36
Status:active» duplicate

Than you for your effort.

Marking this as a duplicate of http://drupal.org/node/611808 which has a far wider scope (including the join date).

#6

tirdadc - November 9, 2009 - 20:17

Here's a small patch that adds the ability to export the user's creation date, it might be handy until this gets committed and rolled out.

AttachmentSize
profile_csv-export_user_created_date.patch 1.79 KB
 
 

Drupal is a registered trademark of Dries Buytaert.