Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
Email Notifications to Admin & User on New Event Created
where are in the code are the confirmation messages disposed (triggered) -- such as "Event Created...", "Event updated.."?
=> so that I can customize it and send confirmations to user and admin.
thanks
I think it's essential for an admin to get email notifications on New Event created. Just to share my hack - so maybe others will benefit:
* Modify this files (as per jomsocial support hint): /components/com_community/controllers/events.php - around line 1539:
* right after the line: $message = JText::sprintf('COM_COMMUNITY_EVENTS_CREATED_NOTICE', $event->title);
/* Custom: send email to admin */
$mailer = JFactory::getMailer();
$sender = array('This email address is being protected from spambots. You need JavaScript enabled to view it.', 'Yoursite.com');
$mailer->setSender($sender);
$recipient = array( 'This email address is being protected from spambots. You need JavaScript enabled to view it.', 'This email address is being protected from spambots. You need JavaScript enabled to view it.' );
$mailer->addRecipient($recipient);
$mailer->setSubject('New Event Created: '.$event->title);
$mailer->setBody('New Event Created: '.$event->title.' - See it here: '.$url);
$send = $mailer->Send();
/********** end custom mailer **************/
We have not received any response back from you in over 7 days, and would like to know if you consider this issue to be resolved. If you have any further questions, simply reply to this post.