Posted: July 23, 2013 at 3:40 pm
|
Hi, Hoping you guys can help me with this. I need to add another “action” to the attendee list in the admin and for the user to see… very similar to the ticketing plugin but simpler in nature. I am using the events as classes and the attendees receive a certificate for taking the class. I am looking to have it create a certificate using: Event Title, Attendee Name, Event Date, and some additional custom event meta. How can I create a template like the ticket and have a link for it show up in both the admin attendee list and “Espresso My Events” table?? As I said, almost identical to the Ticketing. Thanks! |
|
Hi, Well you could in theory use the ticketing add on for this purpose but obviously if it is already in use for tickets that wont work. Other than that you really are looking at a custom add on. I doubt we could take this on currently, but you can certainly send in a request – https://eventespresso.com/contact/customization-request-form/ Alternatively you could contact one of our recommended developers to see if they can assist you – https://eventespresso.com/developers/event-espresso-pros/ |
|
Had the same thought, but it is already in use for tickets. Could it be possible to DUPLICATE the ticketing add on renaming it and the functions? Then make the necessary adjustments to the newly created add on… I would think this would be possible. The only thing I would need to know is if there are any necessary hooks to add (possibly in the theme functions.php) to have Event Espresso know about the new add on to make it work and show up like the ticketing. Right?? |
|
Hi, It is possible yeah but you would need to go through the ticketing add on and the core plugin looking for the right functions to rename and also to be able to even link the add on with the core plugin. So you would still be making modifications to the core plugin. |
|
So there would not be a way to do it without modifying the core plugin directly? No way to call or add the functions from another file, say in the new add on? I don’t want to have to mess with the core plugin directly because of updating. |
I built an add-on, back in October 2011, that was never released, that may help you get started. Here is a link to it: Just not sure if it still works, but it may help you get started. Please let us know what happens. |
|
|
I wanted to see this in action myself, so I made a few tweaks to get it at least functioning on the latest version of Event Espresso. https://dl.dropboxusercontent.com/u/14389794/espresso-certificates.1.0.zip Looks like it will still need some work though, to polish it up and make it unique for your needs. Remember to add a Business logo in the General settings and to use the [certificate_link] shortcode in the emails. There’s a brief readme in the zip file. |
Thanks Dean. I think I will post these files on Github. |
|
Dean I added this to Github: |
|
|
Awesome! Thanks guys! I will have a look at this and really mess around with it early next week. I’ll Let you know how it goes. |
|
Thanks Seth! Cam, please do let us know your thoughts. |
|
Okay, so I have uploaded/activated the plugin the standard WordPress route, but nothing is showing up. (Using the files from Github) It is showing as active…. though there is no new “Certificate Templates” menu under Event Espresso or any new Action icon/name showing next to an attendee. Is anything suppose to appear? If not, how would I go about making it appear? Is Event Espresso not recognizing it? Will be looking through it a little more………. Set up on: |
|
Have been looking through the core files (3.1.33.3.P) and there are 3 important files with functions being called to have the ticketing appear: espresso.php, event_list_attendees.php, and admin-menu.php (Adds the “Ticketing Templates” link in WP menu). By changing the admin_menu.php, I was actually able to see the Certificate Template options, but I don’t want to change a core file. espresso.php: event_list_attendees.php: admin-menu.php (only 1 portion): Seth, you maybe able to help with this since I notice you have worked on the “Custom Add On”….could I add these functions (or similar) to the Custom Add On: custom_functions.php to have it essentially add to the above files to build out the table and menu?? Again, Thanks for all your help and patience guys! |
|
One other thing. I also noticed you guys may have already been working on adding a certificate. This is mentioned in the general settings ‘Logo Help Box’: “The default logo will be used in your custom invoice, ticketing, certificates, and payment templates.” AND….. this was found in espresso.php: Along with the shortcode [certificate_link], a few other references to certificate_launch and more in email.php (includes/functions/email.php) |
|
Hi, First off are you using the file I linked to or Seths Github? If mine, remove that add on and use Seths Github link, he’s polished it up a bit. Regarding the usgae, it requires a shortcode in the email to the user and they click on that and get sent to a page with the certificate they can print off. The certificate is an HTML file so is quite easily modified. Hope that helps. |
|
Hey Dean, Yup the file from Githup is being used and I do know about the shortcode usage and the HTML template file. The trouble is I need the certificate to be a link in the WP Admin area next to the Attendee under “Actions” and for it to also be a link on the USER event list just like the ticket. I’m sure I can get this working by “hacking” the core module using the files I listed above, but looking for a way to do it without hacking. Ideally it would be nice to edit/select a template in the WP Admin area, too, which is already part of the files on Github but aren’t being displayed. Although this is not required to get it working for my needs. |
|
Hi Cam, I’m currently awaiting some feedback from one of the developers on this, so sorry for the slow response. I will get back to you as soon as it is possible. |
|
Thanks for letting me know Dean…. I will wait to hear back. |
|
Hi Cam, I spoke to the developer on this (he’s busy moving so been a bit slow responding) and basically, what you need wont be possible with this version, at least not without hacking at the code. This version is really just a proof of concept, designed to be a base for users (and ourselves) to build upon. I will raise a few feature request tickets on this, to see if we can add these in in future versions, and perhaps make this a more formal add on. I don’t know the timescale on this, as 4.X is taking up most of our resources (new features are actually on hold currently). |
|
Okay. I guess I will have to hack the core module and keep the notes on the hacks for now. Thanks again for all the help in looking into this and putting in the feature requests! Look forward to seeing this in a future version. I will let you know if and how it goes with the hacks to possibly give you guys some ideas. |
|
Thanks Cam, feedback is always welcome especially with new beta products! |
The support post ‘Simple Attendee Addon Action (Similar idea to Ticketing)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.