starent1
Forum Replies Created
-
Forum: Plugins
In reply to: [CampTix Event Ticketing] Need email sent to event organizerOk, 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
In reply to: [CampTix Event Ticketing] Need email sent to event organizerI replaced “\\do your stuff” with the wp_mail code that worked using the originally-posted function (only that one sent it twice).
Forum: Plugins
In reply to: [CampTix Event Ticketing] Need email sent to event organizerWhen 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 726Note in case it’s in question: I did replace “\\do your stuff” with the wp_mail code.
Forum: Plugins
In reply to: [CampTix Event Ticketing] Need email sent to event organizerOk, 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 <[email protected]>' . "\r\n"; wp_mail('[email protected]', "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
In reply to: [CampTix Event Ticketing] Need email sent to event organizerThanks 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
In reply to: [CampTix Event Ticketing] Give access to other user roles?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
In reply to: [CampTix Event Ticketing] Give access to other user roles?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
In reply to: [CampTix Event Ticketing] Is it possible to copy current tickets?Resolved this using the Duplicate Post plugin. Works like a charm!
Not anymore, since I added those lines to htaccess… perhaps it was something completely unrelated?
It was the one found in the wordpress repository (v1.3.4.9).
<accidental duplicate post deleted>
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