Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • max power Friend
    #160712

    I have the Notify author on new post checked in the JaComment backend but the author is not getting an email.

    californiasup Friend
    #378742

    Same thing with “Notify Admin” set…no emails received.

    ko79 Friend
    #378811

    I 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 Friend
    #378817

    are you able to receive emails using the default joomla contact form?

    max power Friend
    #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 Friend
    #379392

    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.

    max power Friend
    #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]

    californiasup Friend
    #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 Friend
    #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 Friend
    #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.

    californiasup Friend
    #380346

    nghiatd,

    I emailed you the ticket number which contains all the information requested. Thank you.

    max power Friend
    #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.

    californiasup Friend
    #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 Friend
    #380852

    Hello,

    @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.

    californiasup Friend
    #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

Viewing 15 posts - 1 through 15 (of 17 total)

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