-
AuthorPosts
-
February 25, 2011 at 8:54 pm #160712
I have the Notify author on new post checked in the JaComment backend but the author is not getting an email.
February 28, 2011 at 6:40 am #378742Same thing with “Notify Admin” set…no emails received.
February 28, 2011 at 9:46 am #378811I started a thread on this a little while ago – but I accidentally put it in the solved subforum because I’m a stupid n00b. 🙂
I didn’t see this forum at all.
Here’s the link to my thread: http://www.joomlart.com/forums/topic/ja-comment-isnt-sending-out-notification-of-new-comment/
jsliao Friendjsliao
- Join date:
- April 2008
- Posts:
- 817
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 25
- Thanked:
- 236 times in 210 posts
February 28, 2011 at 10:02 am #378817are you able to receive emails using the default joomla contact form?
February 28, 2011 at 8:31 pm #378932<em>@jsliao 224337 wrote:</em><blockquote>are you able to receive emails using the default joomla contact form?</blockquote>
Yes I am. For me, the emails are working fine for admin notification and emails to comment replies… it is just the author emails that are not being sent for some reason.nghiatd Friendnghiatd
- Join date:
- October 2009
- Posts:
- 324
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 39 times in 37 posts
March 3, 2011 at 7:06 am #379392Hello,
Please open file componentscom_jacommenthelpersjahelper.php and remove code:
“return;” (default in line 746).
In previous version of joomla we already commented this code.March 7, 2011 at 8:48 pm #380122<em>@nghiatd 225110 wrote:</em><blockquote>Hello,
Please open file componentscom_jacommenthelpersjahelper.php and remove code:
“return;” (default in line 746).
In previous version of joomla we already commented this code.</blockquote>Sorry, I do not understand what you mean by this.
At line 746, this is what I see…
[PHP]function sendMailWhenNewCommentApproved($commentID, $wherejatotalcomment = ”, $type = ”, $post = ”) {[/PHP]March 8, 2011 at 2:33 am #380173<em>@nghiatd 225110 wrote:</em><blockquote>Hello,
Please open file componentscom_jacommenthelpersjahelper.php and remove code:
“return;” (default in line 746).
In previous version of joomla we already commented this code.</blockquote>I tried removing the code and nothing happend. Right now I can’t even submit a comment (with the above edit or without). I’m really disappointed with the Joomla 1.6 extensions at the moment. I realize that you guys are probably busy with a lot of request, but right now I give all the extensions a FAIL. We have clients to answer to and better communication from Joomlart would sure help
nghiatd Friendnghiatd
- Join date:
- October 2009
- Posts:
- 324
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 39 times in 37 posts
March 8, 2011 at 3:37 am #380190<em>@max power 226085 wrote:</em><blockquote>Sorry, I do not understand what you mean by this.
At line 746, this is what I see…
[PHP]function sendMailWhenNewCommentApproved($commentID, $wherejatotalcomment = ”, $type = ”, $post = ”) {[/PHP]</blockquote>Please open file componentscom_jacommenthelpersjahelper.php
find the function name:function sendmail($to, $nameto, $subject, $content, $filters = "", $from = '', $fromname = '', $attachment = array(), $header = true) {
(default in line 693).
Then replace it to:
[PHP]function sendmail($to, $nameto, $subject, $content, $filters = “”, $from = ”, $fromname = ”, $attachment = array(), $header = true) {
global $jacconfig;if ($header) {
$header = $this->getEmailTemplate ( “mailheader” );
$footer = $this->getEmailTemplate ( “mailfooter” );
if ($header)
$content = $header->content . “n” . $content . “nn”;
if ($footer) {
$content .= $footer->content;
}
}if (is_array ( $filters )) {
foreach ( $filters as $key => $value ) {
$subject = str_replace ( $key, $value, $subject );
$content = str_replace ( $key, $value, $content );
}
}$content = html_entity_decode(stripslashes ( $content ));
$subject = html_entity_decode(stripslashes ( $subject ));
//get admin email
$config = new JConfig ( );if (! $from)
$from = $jacconfig [‘general’]->get ( ‘fromemail’, $config->mailfrom );
if (! $fromname)
$fromname = $jacconfig [‘general’]->get ( ‘fromname’, $config->fromname );
$sendmail = $jacconfig [‘general’]->get ( ‘mail_view_only’, 0 );
$mail = null;
//only view email
//echo mail
if ($sendmail == 1) {
//echo mail
if (is_array ( $to ))
$to = implode ( ‘, ‘, $to );
echo JText::_ ( “SENDER” ) . ‘ ‘ . $fromname . ‘ (‘ . $from . “)” . “<br>”;
echo JText::_ ( “SEND TO” ) . ‘ ‘ . $nameto . ‘ (‘ . $to . “)” . “<br>”;
echo JText::_ ( “SUBJECT” ) . ‘ ‘ . $subject . “<br />”;
echo JText::_ ( ‘CONTENT’ ) . ‘ ‘ . str_replace ( “n”, “<br/>”, $content ) . “<br />—————————–<br />”;
return true;
} else {
//send email
$mail = JFactory::getMailer ();
$mail->setSender ( array ($from, $fromname ) );
$mail->addRecipient ( $to );
$mail->setSubject ( $subject );
$mail->setBody ( str_replace ( “n”, “<br/>”, $content ) );if ($jacconfig [‘general’]->get ( ‘sendmode’, 1 ))
$mail->IsHTML ( true );
else
$mail->IsHTML ( false );if ($jacconfig [‘general’]->get ( ‘ccemail’ ) != “”)
$mail->addCc ( explode ( ‘,’, $jacconfig [‘general’]->get ( ‘ccemail’ ) ) );if ($attachment)
$mail->addAttachment ( $attachment );$sent = $mail->Send ();
if (JError::isError($sent)) {
//$this->setError($sent->getError());
return false;
}elseif (empty($sent)) {
//$this->setError(JText::_(‘COM_USERS_MAIL_THE_MAIL_COULD_NOT_BE_SENT’));
return false;
}else{
return true;
}
}
return false;
}[/PHP]Please make sure your site in j16 can send mail.
Best Regards
nghiatd Friendnghiatd
- Join date:
- October 2009
- Posts:
- 324
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 39 times in 37 posts
March 8, 2011 at 3:40 am #380192<em>@californiasup 226151 wrote:</em><blockquote>I tried removing the code and nothing happend. Right now I can’t even submit a comment (with the above edit or without). I’m really disappointed with the Joomla 1.6 extensions at the moment. I realize that you guys are probably busy with a lot of request, but right now I give all the extensions a FAIL. We have clients to answer to and better communication from Joomlart would sure help</blockquote>
Please Make sure your site can send mail.
Kindly test send mail function when you create new user or use contact form.
If this error still happend please send me your ftp account in this link:
http://support.joomlart.com/index.php?/Tickets/Ticket/View/65766/-1/-1/-1
or submit new ticket for me.Best Regards.
March 8, 2011 at 5:04 pm #380346nghiatd,
I emailed you the ticket number which contains all the information requested. Thank you.
March 10, 2011 at 5:55 am #380656<em>@nghiatd 226169 wrote:</em><blockquote>Please open file componentscom_jacommenthelpersjahelper.php
find the function name:function sendmail($to, $nameto, $subject, $content, $filters = "", $from = '', $fromname = '', $attachment = array(), $header = true) {
(default in line 693).
Then replace it to:
[PHP]function sendmail($to, $nameto, $subject, $content, $filters = “”, $from = ”, $fromname = ”, $attachment = array(), $header = true) {
global $jacconfig;if ($header) {
$header = $this->getEmailTemplate ( “mailheader” );
$footer = $this->getEmailTemplate ( “mailfooter” );
if ($header)
$content = $header->content . “n” . $content . “nn”;
if ($footer) {
$content .= $footer->content;
}
}if (is_array ( $filters )) {
foreach ( $filters as $key => $value ) {
$subject = str_replace ( $key, $value, $subject );
$content = str_replace ( $key, $value, $content );
}
}$content = html_entity_decode(stripslashes ( $content ));
$subject = html_entity_decode(stripslashes ( $subject ));
//get admin email
$config = new JConfig ( );if (! $from)
$from = $jacconfig [‘general’]->get ( ‘fromemail’, $config->mailfrom );
if (! $fromname)
$fromname = $jacconfig [‘general’]->get ( ‘fromname’, $config->fromname );
$sendmail = $jacconfig [‘general’]->get ( ‘mail_view_only’, 0 );
$mail = null;
//only view email
//echo mail
if ($sendmail == 1) {
//echo mail
if (is_array ( $to ))
$to = implode ( ‘, ‘, $to );
echo JText::_ ( “SENDER” ) . ‘ ‘ . $fromname . ‘ (‘ . $from . “)” . “<br>”;
echo JText::_ ( “SEND TO” ) . ‘ ‘ . $nameto . ‘ (‘ . $to . “)” . “<br>”;
echo JText::_ ( “SUBJECT” ) . ‘ ‘ . $subject . “<br />”;
echo JText::_ ( ‘CONTENT’ ) . ‘ ‘ . str_replace ( “n”, “<br/>”, $content ) . “<br />—————————–<br />”;
return true;
} else {
//send email
$mail = JFactory::getMailer ();
$mail->setSender ( array ($from, $fromname ) );
$mail->addRecipient ( $to );
$mail->setSubject ( $subject );
$mail->setBody ( str_replace ( “n”, “<br/>”, $content ) );if ($jacconfig [‘general’]->get ( ‘sendmode’, 1 ))
$mail->IsHTML ( true );
else
$mail->IsHTML ( false );if ($jacconfig [‘general’]->get ( ‘ccemail’ ) != “”)
$mail->addCc ( explode ( ‘,’, $jacconfig [‘general’]->get ( ‘ccemail’ ) ) );if ($attachment)
$mail->addAttachment ( $attachment );$sent = $mail->Send ();
if (JError::isError($sent)) {
//$this->setError($sent->getError());
return false;
}elseif (empty($sent)) {
//$this->setError(JText::_(‘COM_USERS_MAIL_THE_MAIL_COULD_NOT_BE_SENT’));
return false;
}else{
return true;
}
}
return false;
}[/PHP]Please make sure your site in j16 can send mail.
Best Regards</blockquote>
Tried that, didn’t work. I am using J1.5 and can send mail no problem. Admins get emails and users who have commented and subscribed to the comments get emails. Also, you say the code starts at line 693, but for me it starts at 677… are we looking at the same version? I am using the latest available download for J1.5 (1.1.0).
Any ways, I didn’t spend 50 bucks so I could be a bug tester for JoomlArt. These simple requirements for a comment system should have been all worked out by now. Also, some of the tags in the email templates do not work. I don’t feel like explaining whats working and whats not since its not that important for me, its just annoying. These things need to be looked at and tested, and not by your subscribers.
March 10, 2011 at 6:23 am #380658<em>@max power 226766 wrote:</em><blockquote>Any ways, I didn’t spend 50 buck so I could be a bug tester for JoomlArt. These simple requirements for a comment system should have been all worked out by now. Also, some of the tags in the email templates do not work. I don’t feel like explaining whats working and whats not since its not that important for me, its just annoying. These things need to be looked at and tested, and not by your subscribers.</blockquote>
Exactly how I’m begining to feel. At the least, our subscriptions should be exteneded. At the moment I am using zero of the 1.6 extension in their full capacity due to issues.
nghiatd Friendnghiatd
- Join date:
- October 2009
- Posts:
- 324
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 39 times in 37 posts
March 11, 2011 at 3:56 am #380852Hello,
@1) RPX is enabled and JA Janrain is configured an enabled. When I click the “Login” for comments, nothing happens. The following error is being generated:
You already custom my code in plugin so it can’t run.
@3) No Comment notification via email – site login provided above
Please login as admin in this link: administrator/index.php?option=com_jacomment&view=configs&group=general
find field “Enable send email” and check in it to turn of send mail system.
@2) The Comment box is not appearing on pages which I’ve installed Simple Image Gallery (SIG)
Please check again and send me your conflicting page.Best Regards.
March 13, 2011 at 5:17 am #381078<blockquote>
@1) RPX is enabled and JA Janrain is configured an enabled. When I click the “Login” for comments, nothing happens. The following error is being generated: You already custom my code in plugin so it can’t run.</blockquote>I’m not sure what you mean??
<blockquote>@3) No Comment notification via email – site login provided above
Please login as admin in this link: administrator/index.php?option=com_jacomment&view=configs&group=general
find field “Enable send email” and check in it to turn of send mail system.</blockquote>This has been “checked”
—-Email notification is now working on NON-Gallery Pages….see @2 below.<blockquote>@2) The Comment box is not appearing on pages which I’ve installed Simple Image Gallery (SIG)
Please check again and send me your conflicting page.</blockquote>All pages with a SIG gallery (most of my articles). For example http://californiastandup.com/index.php/sup-life/life-style/photos/506-ty-bergman-venice-beach-photo
-
AuthorPosts
This topic contains 17 replies, has 5 voices, and was last updated by max power 13 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum