humhub / calendar

Create one-time or recurring events, invite and manage attendees, and keep track of all your events with the Calendar module.
28 stars 46 forks source link

Add additional data to participant export #429

Closed Semir1212 closed 10 months ago

Semir1212 commented 10 months ago

Only for users with permission to "Manage users":

yurabakhtin commented 10 months ago

@Semir1212 @luke- We already had "First name" and "Last name" in previous version for all users even without permission "Manage users". If we hide the columns for users without permission then only single column "Participation Status" will be exported, for me it looks strange, so I just added new columns "Gender", "City" and "Conuntry" in the PR https://github.com/humhub/calendar/issues/429.

Now it works like this for users with the permission:

"First name","Last name","Participation Status","Email","Gender","City","Country"
"David","Roberts","Attending","david.roberts@humhub.yb","","Allwood",""
"Sara","Schuster","Attending","sara.schuster@humhub.yb","male","Friedland","BE"

without the permission:

"First name","Last name","Participation Status"
"David","Roberts","Attending"
"Sara","Schuster","Attending"

Please correct me if something wrong.

Semir1212 commented 10 months ago

@yurabakhtin You are right, thats perfect. Please just also include the username in both cases.

yurabakhtin commented 10 months ago

@Semir1212 Commit https://github.com/humhub/calendar/pull/431/commits/d3c36d81f8b313a04cfef55f091a46955dba1bc2:

"Username","First name","Last name","Participation Status"
"david1986","David","Roberts","Attending"
"sara1989","Sara","Schuster","Attending"