Page 25 of 61

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

Posted: Fri Oct 24, 2008 7:37 pm
by yvolk
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? ...

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Fri Oct 24, 2008 9:15 pm
by transparencia
Can I align the comment box to the left?

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Wed Oct 29, 2008 11:19 pm
by woody_sud
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

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Thu Oct 30, 2008 1:46 am
by KrusevacOpen
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 :)

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Thu Oct 30, 2008 6:23 am
by yvolk
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...

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Thu Oct 30, 2008 6:29 am
by yvolk
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' :(

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Fri Oct 31, 2008 6:10 pm
by woody_sud
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

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Sat Nov 01, 2008 5:22 am
by yvolk
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.
---

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Mon Nov 03, 2008 11:16 am
by Vigilante
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.

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Tue Nov 04, 2008 2:05 pm
by malinaboy
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]

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Wed Nov 05, 2008 6:42 am
by yvolk
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).

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Wed Nov 05, 2008 6:48 am
by yvolk
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...)?!

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Thu Nov 06, 2008 8:48 am
by mikehu
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

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Thu Nov 06, 2008 11:30 am
by malinaboy
no , It's meas when somebody find a "BAD" command he can very quickly add info to admin to del this post!

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Thu Nov 06, 2008 2:25 pm
by sudie97
This plugin is AWESOME! Thank you, thank you, thank you!

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Fri Nov 07, 2008 3:17 pm
by ivytony
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

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

Posted: Sat Nov 08, 2008 7:20 am
by yvolk
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'

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Sat Nov 08, 2008 3:48 pm
by Floddy
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

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

Posted: Sat Nov 08, 2008 6:11 pm
by ivytony
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.

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Sat Nov 08, 2008 6:34 pm
by Lambas
hi! any chance to have a "notify me for reply" option in a new version?? :-[

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

Posted: Sat Nov 08, 2008 8:48 pm
by yvolk
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!

Create content subscription extension for Joomla!

Posted: Sat Nov 08, 2008 8:59 pm
by yvolk
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!

Abuse report for yvComment

Posted: Sat Nov 08, 2008 9:13 pm
by yvolk
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...)?!

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

Posted: Sun Nov 09, 2008 12:22 am
by Floddy
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

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Sun Nov 09, 2008 10:06 am
by tomzio
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

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

Posted: Sun Nov 09, 2008 1:17 pm
by yvolk
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 . '"';
   }

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Sun Nov 09, 2008 8:04 pm
by tomzio
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]

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Mon Nov 10, 2008 1:46 am
by ivytony
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.

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Mon Nov 10, 2008 6:42 am
by yvolk
tomzio wrote:Hi once again! :)

Problem solved... But unforunatly have other problem - Bigo Captcha.
Hi, Tomasz! I answered you in Bigo Captcha forum

Re: yvComment - Comments extension for Joomla! 1.5

Posted: Mon Nov 10, 2008 6:45 am
by yvolk
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