Joomla Mantis Email Notification Solution

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
karthik085
Posts: 10
Joined: 27 Sep 2007, 04:59

Joomla Mantis Email Notification Solution

Post by karthik085 »

If you have Joomla and Mantis tied up using nuy.info (good bridge, by the way) - this annoyance arises:

When a Joomla user logged into mantis for the first time using Joomla - Mantis bridge, a sign up email notification gets sent to user.
(This cannot be turned off by $g_enable_email_notification = OFF)

If you don't want any email notification to be sent to user - you can
add this following option:
$g_joomla_enable_email_notification = OFF;

in config_inc.php

and modifed code in core/email_api.php
function email_signup( $p_user_id, $p_password, $p_confirm_hash ) {

if ( ( OFF == config_get( 'send_reset_password' ) ) || ( OFF == config_get( 'enable_email_notification' ) ) ) {
return;
}


to be

function email_signup( $p_user_id, $p_password, $p_confirm_hash ) {

if ( ( OFF == config_get( 'send_reset_password' ) ) || ( OFF == config_get( 'enable_email_notification' ) )
|| ( OFF == config_get( 'joomla_enable_email_notification' ) )
) {
return;
}

Any better solution would be appreciated. Thanks.
Post Reply