test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • proteus Friend
    #166062

    Hi, I am using JA-Comment with Joomla 1.6 which is working – but I get a couple of code errors on the page where the comment box is visible.

    Firstly, when someone clicks on the ‘Add Comment’ link the commenting article box displays this PHP error immediately above it:

    Warning: Invalid argument supplied for foreach() in /home/mysitename/public_html/mywebsitefoldername/components/com_jacomment/views/comments/view.html.php on line 721

    How can I get rid of this or fix whatever should be happening there?

    Secondly, as I am using JomSocial, I would like to integrate the commenting with JomSocial’s activity stream. The plugin is enabled, but rather than getting the details of the comment appear in the stream, I just get:

    “JOMSOCIAL_ACTIVITI_STREAM_TITLE_REMOVE_COMMENT” or “JOMSOCIAL_ACTIVITI_STREAM_TITLE_COMMENT_NEW_ITEM”

    I realise this part might be a question for JomSocial to answer, but as JA-Comment offered the integration, I kinda hoped someone would be able to tell me what should appear when the integration works properly?

    Thanks in advance. :-[

    Dave.

    Stork11 Friend
    #400872

    Hello,

    For the 2nd problem, please use this link http://www.joomlart.com/forums/downloads.php?do=file&id=1900 to download and upgrade to new version of JA Comment.

    For the 1st, please open “…/components/com_jacomment/views/comments/view.html.php” file, then insert the following code into:

    Line 627, please insert before this line “foreach ($items as $item){”
    [PHP]
    if (!$items) return null;
    [/PHP]

    Line 721, please insert before this line “$children = array();”
    [PHP]
    if (!$itemAll) return null;
    [/PHP]

    This bug occurs when there is no comment posted. It will be fixed in next version of JA Comment.

    Because the 1st problem is an issue of new version, so firstly you need to upgrade to new version of JA Comment, then you use my code to fix the problem “warning message”.

    Thank you.

    wiljanden Friend
    #401054

    Make changes and no longer the problem, thank you very much,

    But I try to comment but do not work the component.

    http://wiljanden.com/Videotutoriales/Calculadoras-hp/Introduccion/Comandos-de-la-seccion-chars-de-la-calculadora-hp.html#ja-contentwrap

    help me, thank you very much.

    proteus Friend
    #401114

    Thanks nhatnx,

    I’ll try this.

    proteus Friend
    #401123

    After uninstalling the JA Comment components and any related modules, and checking via FTP that there were no related files found in either the Administrator, Component, Modules or cache folders, I re-installed the v1.0.3 version that you suggested. Unfortunately, the problem still persists resulting in the same ‘JOMSOCIAL_ACTIVITI_STREAM_TITLE_COMMENT_NEW_ITEM’ entries showing up in the Jom Social activity stream.

    Any further suggestions or help would be appreciated in getting this to work with Jom Social.

    I’ve asked on the Jom Social forum but they are pointing fingers back towards JA Comment, saying that they don’t (and won’t) provide support for any third party plugins.

    Thanks

    Stork11 Friend
    #401298

    <em>@proteus 253108 wrote:</em><blockquote>After uninstalling the JA Comment components and any related modules, and checking via FTP that there were no related files found in either the Administrator, Component, Modules or cache folders, I re-installed the v1.0.3 version that you suggested. Unfortunately, the problem still persists resulting in the same ‘JOMSOCIAL_ACTIVITI_STREAM_TITLE_COMMENT_NEW_ITEM’ entries showing up in the Jom Social activity stream.

    Any further suggestions or help would be appreciated in getting this to work with Jom Social.

    I’ve asked on the Jom Social forum but they are pointing fingers back towards JA Comment, saying that they don’t (and won’t) provide support for any third party plugins.

    Thanks</blockquote>

    Hello,

    Please add the following line into “languageen-GBen-GB.com_jacomment.ini” file:


    JOMSOCIAL_ACTIVITI_STREAM_TITLE_COMMENT_NEW_ITEM="{actor} adds a comment in %s"

    Thank you.

    sophmass1234 Friend
    #405062

    This is fixed a similar problem for me, instead of showing JOMSOCIAL_ACTIVITI_STREAM_TITLE_COMMENT_NEW_ITEM it now says ‘added a comment in” but then says the URL. Is there anyway for it to say “added a comment in (article name)” ? Any code alteration for this?

    Thanks in advance 🙂

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 4 voices, and was last updated by  sophmass1234 13 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum