yvComment - Comments extension for Joomla! 1.5

This forum is for general questions about extensions for Joomla! version 1.5.x.
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - "The comment was not found" message

Postby yvolk » Fri Oct 24, 2008 7:37 pm

Chris wrote:I read some amazing reviews about your component and decided it would make a great addition to our site, so I installed the component, module and plugin step-by-step like your documented on your site, but when I open an article I get this error:

The comment was not found.: ArticleID=0; (Child ArticleID=125)
This means, that you opened an Article (with ID=125) that is not a Comment (so it has no "Parent article" with ID=0), but yvComment thinks, that it IS a Comment.
This may be due to the fact, that Section of this Article is the same as "Section for comments", configured in yvComment plugin parameters.

Am I right?
Why did this happen, how can I improve documentation? ...

transparencia
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Sun Oct 12, 2008 10:01 pm

Re: yvComment - Comments extension for Joomla! 1.5

Postby transparencia » Fri Oct 24, 2008 9:15 pm

Can I align the comment box to the left?

User avatar
woody_sud
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jun 21, 2006 1:30 pm
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Postby woody_sud » Wed Oct 29, 2008 11:19 pm

Hi Yuri,

I'm using your great component and let me tell you is the best solution I found for my comments web site, now I was asking if you could include an option for a admin replay only and date filter for administration list page, so we can control comments reception for day or week.

Greetings, Raul

KrusevacOpen
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Aug 24, 2008 5:17 pm

Re: yvComment - Comments extension for Joomla! 1.5

Postby KrusevacOpen » Thu Oct 30, 2008 1:46 am

Hello!

This is really great component, and it worked just fine for some time, but now I have this problem:
Every time I comment the article, the comment doesn't show up! However, the comment appears in my articles (meaning backend, in a separate section and category, both only for comments, as asked in installation). So, the comments are there, they just don't show up! Furthermore, only "strange" thing that I've noticed is that all new articles have "order" value of 1. When I change this, all of the comments for that specific article appears!

When I first installed yvcomment, I used Joomla! 1.5.5 and yvcomment 1.18, and It worked perfectly. The problem occurred shortly after I upgraded my Joomla! to 1.5.6.
I tried to install latest version of yvcomment, to change user, to change section and category, to upgrade to Joomla! 1.5.7, but nothing happend...

I saw someone here had similar problem as I do, and you said that probably "Auto close comments" is turned on, but that's not case here. I even tried to give it a large value, but no success whatsoever...

I think that it has to do something whit that article ordering, but again, I'm no expert for these things...

Hope to see you write something about this, preferably the solution :)

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Postby yvolk » Thu Oct 30, 2008 6:23 am

KrusevacOpen wrote:Every time I comment the article, the comment doesn't show up! However, the comment appears in my articles (meaning backend, in a separate section and category, both only for comments, as asked in installation). So, the comments are there, they just don't show up! Furthermore, only "strange" thing that I've noticed is that all new articles have "order" value of 1. When I change this, all of the comments for that specific article appears!

Maybe comments are unpublished? (And after you change something, e.g. order, they become published).
I will guess better, if you give us _exact_ contents of jos_content table record (of this comment) before and after modification...

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Postby yvolk » Thu Oct 30, 2008 6:29 am

woody_sud wrote:Hi Yuri,

I'm using your great component and let me tell you is the best solution I found for my comments web site, now I was asking if you could include an option for a admin replay only and date filter for administration list page, so we can control comments reception for day or week.

Greetings, Raul

Hi, Raul!
As I understood you, you ask to add 'filter by date' (e.g. last day, last week...) to the admin page (List of comments view...).
But I didn't get what you mean by 'option for a admin replay only' :(

User avatar
woody_sud
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jun 21, 2006 1:30 pm
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Postby woody_sud » Fri Oct 31, 2008 6:10 pm

yvolk wrote:Hi, Raul!
As I understood you, you ask to add 'filter by date' (e.g. last day, last week...) to the admin page (List of comments view...).
But I didn't get what you mean by 'option for a admin replay only' :(


Ok, thats a minor issue just for my own site, look, I need a reply only from any admin, and option in "allow_comment_on_comment" plugin parameter have "owner_reply_only", "one_level_deep" and "threaded_comments", so an option "admin_only" would be great.
I already made a little patch in "/components/com_yvcomments/helpers.php", hopping you dont mind so much:

line 920|

Code: Select all

static $ArticleID = null;

changed to

Code: Select all

global $mainframe; static $ArticleID = null;

just adding global $mainframe var to the function ambit.

line 1010|

Code: Select all

if ( $user->get('id') != $ArticleAuthorID ) {

changed to

Code: Select all

if ( ($user->get('id') != $ArticleAuthorID) || !$framework->isAdmin() ) {

adding an admin validation so only admin can reply comments.

Just waitting your approvation, and sorry for my poor english I'm from Mexico.

This is my website
http://www.tapachula.gob.mx

Thanks, Raul

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Postby yvolk » Sat Nov 01, 2008 5:22 am

woody_sud wrote:I need a reply only from any admin, and option in "allow_comment_on_comment" plugin parameter have "owner_reply_only", "one_level_deep" and "threaded_comments", so an option "admin_only" would be great.

Ok, I'll add this to the next version of yvcomment:
---
Add new value to "Allow comments on comment" option: "Administrator's reply only". - Same as "Owner's reply only", but only Administrators (or users, who have all rights to edit comments) are allowed to add comment on Comment.
---
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

Vigilante
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Wed Jan 10, 2007 2:21 pm

Re: yvComment - Comments extension for Joomla! 1.5

Postby Vigilante » Mon Nov 03, 2008 11:16 am

Is there any simple way to make the ymComment module hide article author information when listing new comments? Is it possible to make it display comment and details about comment, but not to show the name of the author whose article is commented?

Thanks in advance.

malinaboy
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Nov 04, 2008 12:35 pm

Re: yvComment - Comments extension for Joomla! 1.5

Postby malinaboy » Tue Nov 04, 2008 2:05 pm

Could you add a button Report abouse - like they have : http://www.azrul.com/articles/happy_hal ... l#comments

with box: "Comment reported to site administrator " [x]

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Postby yvolk » Wed Nov 05, 2008 6:42 am

Vigilante wrote:Is there any simple way to make the ymComment module hide article author information when listing new comments? Is it possible to make it display comment and details about comment, but not to show the name of the author whose article is commented?

Thanks in advance.

Hi! Out of the box, in the yvComment module you have three layouts for the 'List of Comments" view. As I see, you need some combination of them.
To do this, you have to create your custom layout as some combination of existing... (read more about 'template override'... in the forum and on the homepage).
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Postby yvolk » Wed Nov 05, 2008 6:48 am

malinaboy wrote:Could you add a button Report abouse - like they have : http://www.azrul.com/articles/happy_hal ... l#comments

with box: "Comment reported to site administrator " [x]

I don't know, if Joomla! has such API...
Maybe we should use Joomla!'s existing 'rating' (voting) feature (plugin)? Lowest rating may mean 'abuse'?!
Please, investigate this: this may work out of the box already (just enable yvComment to execute content plugins...)?!
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

mikehu
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Nov 02, 2008 9:29 pm

Re: yvComment - Comments extension for Joomla! 1.5

Postby mikehu » Thu Nov 06, 2008 8:48 am

I had the same problem, like Chris: "The comment was not found.: ArticleID=0; (Child ArticleID=125)". Yuri sent me a solution. I had to say special thanks for this GREAT SUPPORT!!

Mike from Hungary

malinaboy
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Nov 04, 2008 12:35 pm

Re: yvComment - Comments extension for Joomla! 1.5

Postby malinaboy » Thu Nov 06, 2008 11:30 am

no , It's meas when somebody find a "BAD" command he can very quickly add info to admin to del this post!

sudie97
Joomla! Intern
Joomla! Intern
Posts: 71
Joined: Tue Feb 19, 2008 6:22 pm
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Postby sudie97 » Thu Nov 06, 2008 2:25 pm

This plugin is AWESOME! Thank you, thank you, thank you!

ivytony
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 150
Joined: Fri Dec 16, 2005 12:33 am

Re: yvComment - Comments extension for Joomla! 1.5

Postby ivytony » Fri Nov 07, 2008 3:17 pm

I've installed this component on my Joomla 1.5.7 site, however, at the bottom of each article, I get this:

The comment was not found.: ArticleID=0; (Child ArticleID=382)


see this url

I wonder how to make it work again, because it used to work fine after a fresh install. I've enabled guest commenting though

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

The comment was not found.: ArticleID=0; (Child ArticleID=12

Postby yvolk » Sat Nov 08, 2008 7:20 am

mikehu wrote:I had the same problem, like Chris: "The comment was not found.: ArticleID=0; (Child ArticleID=125)". Yuri sent me a solution. I had to say special thanks for this GREAT SUPPORT!!

Mike from Hungary

I want to add, that this bug is for those, who don't "Use content table". The fix will be included in the next release.

I'm attaching patched files for v.1.19.002 only:
1. 'components/com_yvcomment/helpers.php'
2. 'components/com_yvcomment/models/comment.php'
You do not have the required permissions to view the files attached to this post.

Floddy
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Wed Sep 10, 2008 6:08 am
Location: Sweden
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Postby Floddy » Sat Nov 08, 2008 3:48 pm

Hi,

I searched the thread but didn't come up with anything.

Is it possible (with some modifications?), to get the comments visible in the category blog view, not just the article view? I've been browsing the code, but I'm only getting dizzy. :p

If so, I would be able to place the comments in hidden divs, and use a "collapse" javascript (show/hide-button) to show the comments "in-line" after each article.

Thanks,
Floddy

ivytony
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 150
Joined: Fri Dec 16, 2005 12:33 am

Re: The comment was not found.: ArticleID=0; (Child ArticleID=12

Postby ivytony » Sat Nov 08, 2008 6:11 pm

yvolk wrote:
mikehu wrote:I had the same problem, like Chris: "The comment was not found.: ArticleID=0; (Child ArticleID=125)". Yuri sent me a solution. I had to say special thanks for this GREAT SUPPORT!!

Mike from Hungary

I want to add, that this bug is for those, who don't "Use content table". The fix will be included in the next release.

I'm attaching patched files for v.1.19.002 only:
1. 'components/com_yvcomment/helpers.php'
2. 'components/com_yvcomment/models/comment.php'


Have used the patched files to overwrite existing files, however, this doesn't solve my problem. I do enable the 'Use content table' option though.

the error message is:
The comment was not found.: ArticleID=0; (Child ArticleID=382)


see http://www.panda-greatwall.com/everythi ... group.html

Thanks for the wonderful component & plugin!! I wish I could figure out how to make it fully functional for me.

Lambas
Joomla! Apprentice
Joomla! Apprentice
Posts: 46
Joined: Wed Sep 19, 2007 2:03 pm

Re: yvComment - Comments extension for Joomla! 1.5

Postby Lambas » Sat Nov 08, 2008 6:34 pm

hi! any chance to have a "notify me for reply" option in a new version?? :-[

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - List of comments in 'blog' view

Postby yvolk » Sat Nov 08, 2008 8:48 pm

Floddy wrote:Is it possible (with some modifications?), to get the comments visible in the category blog view, not just the article view? I've been browsing the code, but I'm only getting dizzy. :p

If so, I would be able to place the comments in hidden divs, and use a "collapse" javascript (show/hide-button) to show the comments "in-line" after each article.

Hi, Floddy!
Maybe, some time this will be an option, but now you may try to hack the code:
see the file 'components/com_yvcomment/views/comment/view.html.php'.

Just a clue:
1) These lines switch on/off display of 'Comments (N)'

Code: Select all

&& $yvComment->ParentView() != 'article'
...
    $ShowNumberOfCommentsAlone = ( ($nCommentsTotal > 0) || $MayAdd);


2) These lines restrict display list of comments to 'article' view only:

Code: Select all

if ( $yvComment->ParentView() == 'article') {
  $ShowComments = true;
}

Good luck!
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Create content subscription extension for Joomla!

Postby yvolk » Sat Nov 08, 2008 8:59 pm

Lambas wrote:hi! any chance to have a "notify me for reply" option in a new version?? :-[

Hi, Lambas!
I can do this in yvComment, but I think this is a wrong way.
Please see Create content subscription extension 'challenge' for those, who want to contribute this function for the whole Joomla! CMS, not for yvComment alone.

Accept the challenge!
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Abuse report for yvComment

Postby yvolk » Sat Nov 08, 2008 9:13 pm

malinaboy wrote:no , It's meas when somebody find a "BAD" command he can very quickly add info to admin to del this post!

I mean, that this is You - site Admin/Developer, who defines 'semantics' (meaning), who decides, what 'lowest rating' etc. means in your site. Why don't have both 'rating' and 'abuse reporting' in one 'dimension' (one field of the table...) ?!

yvolk wrote:
malinaboy wrote:Could you add a button Report abouse - like they have : http://www.azrul.com/articles/happy_hal ... l#comments

with box: "Comment reported to site administrator " [x]

I don't know, if Joomla! has such API...
Maybe we should use Joomla!'s existing 'rating' (voting) feature (plugin)? Lowest rating may mean 'abuse'?!
Please, investigate this: this may work out of the box already (just enable yvComment to execute content plugins...)?!
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

Floddy
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Wed Sep 10, 2008 6:08 am
Location: Sweden
Contact:

Re: yvComment - List of comments in 'blog' view

Postby Floddy » Sun Nov 09, 2008 12:22 am

yvolk wrote:Hi, Floddy!
Maybe, some time this will be an option, but now you may try to hack the code:
see the file 'components/com_yvcomment/views/comment/view.html.php'.

Just a clue:
1) These lines switch on/off display of 'Comments (N)'

Code: Select all

&& $yvComment->ParentView() != 'article'
...
    $ShowNumberOfCommentsAlone = ( ($nCommentsTotal > 0) || $MayAdd);


2) These lines restrict display list of comments to 'article' view only:

Code: Select all

if ( $yvComment->ParentView() == 'article') {
  $ShowComments = true;
}

Good luck!


Hi!

I got the "Comments (N)" hidden by just setting it in the plugin preferences, and then made the comments visible by commenting out the "if" part in 2).

Then, with a template override and some JavaScript, I've managed to get the "show/hide" work. Now I just have some styling to do, and I also have to think about what approach I should use to make the comments hidden by default, but also accessible on non-JavaScript browsers.

Thanks a lot!

Regards,
Floddy

tomzio
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sun Nov 09, 2008 9:46 am
Location: Poland

Re: yvComment - Comments extension for Joomla! 1.5

Postby tomzio » Sun Nov 09, 2008 10:06 am

Hello

i've uninstalled older ver. of yvComent because I had problem with Bigo captcha (no picture). Other compatible captcha solutions failed. So i decided to reinstall both Captha and yvComment extensions. New 1.19.2 yvComment was available. Now its installed but ... and here goes my question: "Add new comment" form is missing. All comments are visible but no form to add new ones. What to do to fix this.
Additional info:
- J! 1.5.7
- Guest account created as Author
- Guest can add comments set to YES

Link to page with example (no Add New Comment form) - http://mlodytata.pl/index.php?option=co ... &Itemid=68

Thank you in advance for you help
Tomasz

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

yvComment - Why "Add your comment" form is missing?

Postby yvolk » Sun Nov 09, 2008 1:17 pm

tomzio wrote:"Add new comment" form is missing. All comments are visible but no form to add new ones. What to do to fix this.
Additional info:
- J! 1.5.7
- Guest account created as Author
- Guest can add comments set to YES

Hi, Tomasz! There may be very many reasons, why the form is not shown...
These reasons fall into two groups:
- Current user is not allowed to add comments
- Current Article is not allowed to be commented on...

To figure out, what is a reason in your case, you may insert some 'trace messages' into 'components/com_yvcomment/views/comment/view.html.php' file.
Debugging this part of code (and inside functions, that are being called from it...) will give all answers:

Code: Select all

   $MayAdd = false;
   $MayUpdate = false;
   $AddEnabledForArticle = false;
   $CommentsAreClosed = false;
   switch ($task) {
     case 'deletedisplay':
     case 'editdisplay':
         $MayUpdate = $yvComment->EditEnabled($this->get('yvCommentID'));
         break;
      default:
         $AddEnabledForArticle = $yvComment->AddEnabledForArticle($ArticleID);
         $CommentsAreClosed = $yvComment->CommentsAreClosed($ArticleID);
         if ($AddEnabledForArticle) {
            $MayAdd = $yvComment->AddEnabledForUser();
         }
         //$message[] = 'MayAdd="' . $MayAdd . '"; AddEnabledForArticle="' . $AddEnabledForArticle . '"';
   }
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

tomzio
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sun Nov 09, 2008 9:46 am
Location: Poland

Re: yvComment - Comments extension for Joomla! 1.5

Postby tomzio » Sun Nov 09, 2008 8:04 pm

Hi once again! :)

Problem solved. Thx. Just inverted meaning of fields with section ID's for which adding comments was prohibited :)

But unforunatly have other problem - Bigo Captcha.

For yvComment I have the following settings:
Use Captcha: Yes
Delay Captha Image : NO

The problem is that captcha image shows from time to time so rarely that it is hard for me to say more about when captcha image shows and when it doesn't (I can only see the text).

Can you help me with that ?

BR
Tomasz

P.S. I know that it is not the topic about Bigo Captcha but you have so much experience that maybe you will be able to help me :)

[SOLVED]
Last edited by tomzio on Tue Nov 11, 2008 9:27 pm, edited 1 time in total.

ivytony
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 150
Joined: Fri Dec 16, 2005 12:33 am

Re: yvComment - Comments extension for Joomla! 1.5

Postby ivytony » Mon Nov 10, 2008 1:46 am

hi yvolk,

can you look into my problem?
Section is not set. Please configure Section for yvComments (in Plugin Manager for yvComment Plugin).


http://www.panda-greatwall.com/everythi ... s-day.html

what is going wrong? thanks

I've left the section list empty in the plugin configuration.

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Postby yvolk » Mon Nov 10, 2008 6:42 am

tomzio wrote:Hi once again! :)

Problem solved... But unforunatly have other problem - Bigo Captcha.

Hi, Tomasz! I answered you in Bigo Captcha forum

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Postby yvolk » Mon Nov 10, 2008 6:45 am

ivytony wrote:hi yvolk,

can you look into my problem?
Section is not set. Please configure Section for yvComments (in Plugin Manager for yvComment Plugin).


http://www.panda-greatwall.com/everythi ... s-day.html

what is going wrong? thanks

I've left the section list empty in the plugin configuration.

Hi! You MUST set 'Section for comments' and 'Category fo comments' options. Please read instructions on the Homepage


Return to “Extensions for Joomla! 1.5”

Who is online

Users browsing this forum: Yahoo [Bot] and 15 guests