Eventbrite Shortcode

A shortcode to pull in your Eventbrite attendees list.

Example shortcode useage:

[eventbrite-attendees id="384870157"]

More options: [eventbrite-attendees id="YOUR_EVENT_ID" sort="true|false" clickable="true|false" user_key="USER_KEY(IF_NOT_SET_IN_SETTINGS)"]

Shortcode args:

  1. id: with your Eventbrite event id.
  2. sort: Should the attendee list be sorted by puchase date?
  3. clickable: Should links be clickable?
  4. user_key: Your API user key if not saved in the settings.

Leave any comments about the Eventbrite Attendees Shortcode here.

Attendee output control. Eventbrite returns a lot of information in regards to each attendee. You can filter out what you do not want by creating a filter. Use the example code bellow in your theme or a functionallity plugin:

// See: http://developer.eventbrite.com/doc/events/event_list_attendees/ 'only_display' for allowed keys.
function frosty_eventbrite_attendee_data_to_remove( $data ) {
    // If you want to start fresh use the next line
    //$data = array( 'ticket_id', 'tax' ); // etc..
    
    // If you want to remove additional info from the default
    //$newdata = array( 'eventbrite_fee', 'created' ); // etc..
    //$data = array_unique( array_merge( $newdata, $data ) );
    return $data;
}
add_filter( 'eventbrite_attendees_only_display', 'frosty_eventbrite_attendee_only_display );

Removed is the old app_key and replaced with the user_key. If you want to use your own app key filter it like so:

function frosty_eventbrite_attendees_app_key( $key ) {
    return 'MY_NEW_KEY';
}
add_filter( 'eventbrite_attendees_app_key', 'frosty_eventbrite_attendees_app_key' );

Template $make_clickable example; here are two examples:

#1
$name = 'display_name'
function frosty_eventbrite_attendees_make_display_name_clickable() {
    return true; //default is false
}
add_filter( "eventbrite_attendees_{$name}_make_clickable", 'frosty_eventbrite_attendees_make_display_name_clickable' );

#2
$names = array( 'display_name', 'company' );
foreach ( $names as $name ) :
    add_filter( "eventbrite_attendees_{$name}_make_clickable", "frosty_eventbrite_attendees_make_clickable" );
endforeach;
 
function frosty_eventbrite_attendees_make_clickable() {
    return true; //default is false
}

Download

Latest version: Download Eventbrite Shortcode v1.1.3 [[zip]] (Downloaded: 1538 times)

FAQ

Donations?

Please! Or support my by visting Extendd.com; A premium WordPress plugin marketplace.

Why create this plugin?

I created this plugin to easily show your attendees from any event you’ve created on Eventbrite.

Changelog

Version 1.1.3 (10/29/14)
  • Added array_unique to eventbrite_attendees_keys_to_unset filter.
  • Remove ‘eeeee’ typo in email class.
  • Added global $attendee_website variable. Add a website link to any template with the global var.
  • Added: eventbrite_attendees_{$name}_make_clickable filter where $name is the template name ex: email, first_name, display_name or etc.
    • Default is false, if true will add the website URL to the template value.
  • Updated default and display_name template.
Version 1.1.2 (10/24/14)
  • Added more keys to eventbrite_attendees_keys_to_unset filter.
Version 1.1.1 (10/24/14)
  • Added eventbrite_attendees_folder_template filter for template name in your current theme.
  • Added eventbrite_attendees_only_display filter for the display only Eventbrite fields.
  • Removed ‘event_id’ and ‘id’ from the attendee output.
Version 1.1 (10/20/14)
Version 1.0 (2/20/14)
  • Well hello there! Everything is new.
  • Be sure to get your developer API Key and enter it in the settings.
Version 0.3.3 (11/8/11)
  • Feeds updated.
  • WordPress 3.3 check.
Version 0.3.2 (9/8/11)
  • Dashboard fix.
Version 0.3.1 (6/23/11)
  • [BUG FIX] An error in the dashboard widget is casuing some large images. Sorry. Always escape.
Version 0.3
  • Complete rewrite and overhaul.
Version 0.2.1α
  • Removed javscript link causing hang-ups.
Version 0.2α
  • array_slice fix.
  • Spelling fixes
Version 0.1
  • Admin upgrade.
  • RSS feed changed to list items in one listed element.
Version 0.1α
  • Initial release.

Screenshots

  1. eventbrite-attendees-shortcode screenshot 1

    Eventbrite Attendees Shortcode Settings page.

  2. eventbrite-attendees-shortcode screenshot 2

    Shortcode generator on post page.

16 Comments


  1. are you still supporting this plugin? I do not think Eventbrite publishes the rss feed of the attendee list…..can you help me out?

    Reply

    1. They still are, but may not show a link to the rss feed. You’ll have to find the ID somewhere on the event page, than manually enter the feed address like so: http://www.eventbrite.com/rss/event_list_attendees/778341039 where you would change the bold text to your event ID.

      Maybe try clicking on the tweet this button to get the ID?

      Reply
  2. Alison

    are they still supporting it? i’ve tried all the numbers i can find and nothing is working.

    Reply
    1. Alison

      scratch that, got it to work on the last number i found. ay chance of getting different fields to display?

      Reply

      1. No, what shows is the only thing Eventbrite outputs in their feed.

        Reply
  3. Danny

    Please help!
    Since upgrading to version 0.3 I cannot get it to work like before.
    I keep getting this error message: “Error: Please define an Event in your Shortcode.”
    I’m using this shortcode format as specified: [eventbrite-attendees feed="http://www.eventbrite.com/rss/event_list_attendees/xxxxxxxxxx/" /]
    where xxxxxxxxxx is the Eventbrite event ID.
    Thanks

    Reply

        1. I had no issues when I used the latest plugin version with your eventbrite ID.

          [eventbrite-attendees feed="http://www.eventbrite.com/rss/event_list_attendees/1485229361"]
          Reply
          1. Danny

            Still not working… that’s really odd. I’m running the latest version of WP. Is there anyway I can download the pre-0.3 version of the plugin? Thanks

  4. Joe Clarke

    Awesome plugin. Any chance for widget support? This would make a fabulous scrolling widget. Cheers!

    Reply
  5. Larry Bradshaw

    Can we make it where we just get the attendee’s name. I don’t need their order # or the # of tickets?

    Reply

    1. At this time it outputs each attendee’s first name, last name, company, job title and website. All of the fields you don’t want can be hidden with some javascript or CSS.

      Reply

  6. Can anyone help?

    I have used this plugin about a year ago and worked perfectly. Now I have been trying for an hour to get this to work and nothing but the following error:

    An error has occurred
    exception 'Exception' with message 'Please provide your User Key in the URL as "?user_key=".' in /home/laeventc/public_html/wp-content/plugins/eventbrite-attendees-shortcode/library/classes/Eventbrite.php:109
    Stack trace:
    #0 /home/laeventc/public_html/wp-content/plugins/eventbrite-attendees-shortcode/eventbrite-attendees-shortcode.php(354): Eventbrite->__call('event_list_atte...', Array)
    #1 /home/laeventc/public_html/wp-content/plugins/eventbrite-attendees-shortcode/eventbrite-attendees-shortcode.php(354): Eventbrite->event_list_attendees(Array)
    #2 [internal function]: Eventbrite_Attendees_Shortcode->shortcode(Array, '', 'eventbrite-atte...')
    #3 /home/laeventc/public_html/wp-includes/shortcodes.php(290): call_user_func(Array, Array, '', 'eventbrite-atte...')
    #4 [internal function]: do_shortcode_tag(Array)
    #5 /home/laeventc/public_html/wp-includes/shortcodes.php(204): preg_replace_callback('/\[(\[?)(embed|...', 'do_shortcode_ta...', '[eventbrite-att...')
    #6 [internal function]: do_shortcode('[eventbrite-att...')
    #7 /home/laeventc/public_html/wp-includes/plugin.php(214): call_user_func_array('do_shortcode', Array)
    #8 /home/laeventc/public_html/wp-includes/post-template.php(222): apply_filters('the_content', '[eventbrite-att...')
    #9 /home/laeventc/public_html/wp-content/themes/themerush/page-nosidebar.php(13): the_content()
    #10 /home/laeventc/public_html/wp-includes/template-loader.php(74): include('/home/laeventc/...')
    #11 /home/laeventc/public_html/wp-blog-header.php(16): require_once('/home/laeventc/...')
    #12 /home/laeventc/public_html/index.php(17): require('/home/laeventc/...')
    #13 {main}
    

    I have created an APP key and entered it in settings. I have the Event ID.

    Thanks!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>