WordPress Meta #262
After having tried my hands at some of the bugs with “good-first-bugs” tag in the meta section, I thought it wise to move to other open tickets.
And here I land at #262.
The WordCamp organizers generally print and/or distribute the Badges at their wordcamps which are often called “Gravatar Badges”. These are made by fetching the Gravatars from the emails that the attendees enter while booking their tickets through the Camptix plugin used by WordCamp.org .
At present the process is too long and is not that simple. Ian has made it slightly automated to fetch the gravatars but its still not that convenient.
The Current Process is mentioned here.
The #262 is basically about making that process slightly simple. So, I looked to build upon the Script that Ian had already put up here and tried to make the patch.
The patch basically adds a Tab to ‘Tickets > Tools’ in WP admin and the tab shows various data available about the Attendee as well as the Questions that you yourself have added in the Ticketing form. You can select the data that you want to export (i.e. if I only want the First Name, Last name and the email id to be there I select those and Click Export to CSV. And there I get my CSV with customised data columns. This was an added functionality.
Now the main problem. For getting all the Gravatar images and the CSV to be used in InDesign, as a ZIP file. I create a temporary folder and save all the gravatars into that and finally zip them into a ZIP file and send it in the headers.
The New Admin Tab will be like this :
So now, the new process is slightly simpler as the admins have to just go to Tickets > Tools > Gravatars Fetch and Export. Check which column data they want. Check the Fetch Gravatar checkbox and Click Export to ZIP and they are done.!
I am welcome to any suggestions regarding the process as well as the Patch and Plugin itself.
Ticket URL : meta.trac.wordpress.org/ticket/262
Plugin now hosted on WordPress Official Plugin Repository : https://wordpress.org/plugins/camptix-automatic-gravatar-fetch-and-export/