Title: starent1's Replies | WordPress.org

---

# starent1

  [  ](https://wordpress.org/support/users/starent1/)

 *   [Profile](https://wordpress.org/support/users/starent1/)
 *   [Topics Started](https://wordpress.org/support/users/starent1/topics/)
 *   [Replies Created](https://wordpress.org/support/users/starent1/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/starent1/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/starent1/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/starent1/engagements/)
 *   [Favorites](https://wordpress.org/support/users/starent1/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CampTix Event Ticketing] Need email sent to event organizer](https://wordpress.org/support/topic/need-email-sent-to-event-organizer/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/need-email-sent-to-event-organizer/#post-3446487)
 * Ok, I must have fat-fingered something the first time. Works perfectly!
 * Thank you very much for taking the time to answer this for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CampTix Event Ticketing] Need email sent to event organizer](https://wordpress.org/support/topic/need-email-sent-to-event-organizer/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/need-email-sent-to-event-organizer/#post-3446483)
 * I replaced “\\do your stuff” with the wp_mail code that worked using the originally-
   posted function (only that one sent it twice).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CampTix Event Ticketing] Need email sent to event organizer](https://wordpress.org/support/topic/need-email-sent-to-event-organizer/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/need-email-sent-to-event-organizer/#post-3446481)
 * When I switch to your code, I get the following in browser after submitting the
   form online:
 * `Warning: Missing argument 2 for new_registration_notify() in /.../wp-content/
   themes/<theme>/functions.php on line 726`
 * Note in case it’s in question: I did replace “\\do your stuff” with the wp_mail
   code.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CampTix Event Ticketing] Need email sent to event organizer](https://wordpress.org/support/topic/need-email-sent-to-event-organizer/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/need-email-sent-to-event-organizer/#post-3446430)
 * Ok, I was more ambitious than I figured… I plugged this into the functions.php:
 *     ```
       // function to be executed when custom post type tix_attendee is published
       function new_registration_notify() {
       		$message = "Message...";
       		$headers = 'From: Who From <from@emailaddress.com>' . "\r\n";
       		wp_mail('to@emailaddress.com', "Subject...", $message, $headers);
       }
   
       	add_action('publish_tix_attendee', 'new_registration_notify');
       ```
   
 * This actually seems to work! However, I’m receiving two copies of the email for
   some reason. Any idea why?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CampTix Event Ticketing] Need email sent to event organizer](https://wordpress.org/support/topic/need-email-sent-to-event-organizer/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/need-email-sent-to-event-organizer/#post-3446390)
 * Thanks for pointing me there; and while I love learning new things, my timeframe
   is tight. Unfortunately, I don’t know this type of stuff well, and need to get
   this site online asap.
 * Any chance you would be willing to provide some code to get this done, referencing
   only the attendee post type?
 * I would be willing to compensate you for your time, if necessary.
 * Thank so much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CampTix Event Ticketing] Give access to other user roles?](https://wordpress.org/support/topic/give-access-to-other-user-roles/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/give-access-to-other-user-roles/#post-3443200)
 * Thanks for the quick reply!
 * Any chance you could break down this procedure for me, or point me to some instructions?
   Haven’t had the need to deal with this type of thing, but is very important for
   our needs.
 * I suppose I could create a new capability, and change all the manage_options 
   items in your code to it, but that doesn’t seem like an ideal solution, and would
   break if plugin is updated.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CampTix Event Ticketing] Give access to other user roles?](https://wordpress.org/support/topic/give-access-to-other-user-roles/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/give-access-to-other-user-roles/#post-3443197)
 * Ok, so just to clarify– If I use Capability Manager plugin, and add “camptix_capabilities”
   to a user role that I want to have access to it, that’s all that’s required? 
   ie. I’m hoping to just have an account with “Read” access, but can also manage
   tickets.
 * Thanks,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CampTix Event Ticketing] Is it possible to copy current tickets?](https://wordpress.org/support/topic/is-it-possible-to-copy-current-tickets/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/is-it-possible-to-copy-current-tickets/#post-3443600)
 * Resolved this using the Duplicate Post plugin. Works like a charm!
 * [http://wordpress.org/extend/plugins/duplicate-post/](http://wordpress.org/extend/plugins/duplicate-post/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Firelight Lightbox] Incompatibility with plugins that call old-style media library listing](https://wordpress.org/support/topic/incompatibility-with-plugins-that-call-old-style-media-library-listing/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/incompatibility-with-plugins-that-call-old-style-media-library-listing/#post-3373732)
 * Not anymore, since I added those lines to htaccess… perhaps it was something 
   completely unrelated?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Firelight Lightbox] Incompatibility with plugins that call old-style media library listing](https://wordpress.org/support/topic/incompatibility-with-plugins-that-call-old-style-media-library-listing/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/incompatibility-with-plugins-that-call-old-style-media-library-listing/#post-3373730)
 * It was the one found in the wordpress repository (v1.3.4.9).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Firelight Lightbox] Incompatibility with plugins that call old-style media library listing](https://wordpress.org/support/topic/incompatibility-with-plugins-that-call-old-style-media-library-listing/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/incompatibility-with-plugins-that-call-old-style-media-library-listing/#post-3373715)
 * <accidental duplicate post deleted>
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Firelight Lightbox] Incompatibility with plugins that call old-style media library listing](https://wordpress.org/support/topic/incompatibility-with-plugins-that-call-old-style-media-library-listing/)
 *  Thread Starter [starent1](https://wordpress.org/support/users/starent1/)
 * (@starent1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/incompatibility-with-plugins-that-call-old-style-media-library-listing/#post-3373714)
 * Essentially, they were saying wordpress ran out of memory. I did some google 
   searching, and found an article about memory errors related to media library.
   It was for an older version of wordpress, but it worked to resolve the issue 
   with WP 3.5. I no longer get the errors after adding the following to my htaccess
   file:
 *     ```
       #BEGIN Image Upload HTTP Error Fix
       <IfModule mod_security.c>
       <Files async-upload.php>
       SecFilterEngine Off
       SecFilterScanPOST Off
       </Files>
       </IfModule>
       #END Image Upload HTTP Error Fix
       ```
   

Viewing 12 replies - 1 through 12 (of 12 total)