yvComment - Comments extension for Joomla! 1.5

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

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.
Locked
Losko
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun May 15, 2011 9:14 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by Losko » Sun May 15, 2011 9:20 pm

Hi, I installed yvcomment and Jnews. I yvcomment configured as shown in the guide, I also installed JNews for newsletters and notification to the comments but here I have a problem, i can not configure yvcomment to notify the responses to comments for users, i receive the notification only as author of the article .

My version of joomla is 1.5.23, thanks for any help.

ami2510
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Sep 12, 2010 8:46 pm

Re: yvComment - Access control in Joomla! 1.6

Post by ami2510 » Tue May 17, 2011 9:25 pm

yvolk wrote:
hugosousa wrote:
yvolk wrote:Dear Hugosousa,
yvComment uses the access control methods as native Joomla! Articles do.
Please see 'components/com_yvcomment/helpers.php' file, functions:
...
Hi, But I saw in components/com_yvcomment/helpers.php line 276

Code: Select all

	
                if ($user->authorize('com_content', 'edit', 'content', 'all')) {
			self::$_UserCanEdit = 'all';
		} elseif ( $user->authorize('com_content', 'edit', 'content', 'own')) {
			self::$_UserCanEdit = 'own';
		}
You use $user->authorize instead of $user->authorise, the parameters are diferents and the authorize is deprecated.

Am I wrong?
You are right, I guess :-)
Looking into 'components/com_content/models/article.php' I see that we should use something based on this code:

Code: Select all

$userId	= $user->get('id');
$asset	= 'com_content.article.'.$data->id;
// Check general edit permission first.
if ($user->authorise('core.edit', $asset)) {
	$data->params->set('access-edit', true);
}
// Now check if edit.own is available.
else if (!empty($userId) && $user->authorise('core.edit.own', $asset)) {
	// Check for a valid user and that they are the owner.
	if ($userId == $data->created_by) {
		$data->params->set('access-edit', true);
	}
}
Can you figure out exact replacement?
Any update on that, I would like my registered users to be able to edit their comments or delete them. I tried authoriz(s)e and fiddled with it but no luck. :(

ReDoG
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon May 23, 2011 9:45 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by ReDoG » Mon May 23, 2011 9:52 pm

Trouble Installing v2.0.2a-

Web Designer here, new to Joomla.

I realize there are (3) parts that need to be installed. Using the extensions manager, I have successfully installed the Module and Components, by browsing for their zip files and selecting upload and install.

When I go to do the same for the Plugin zipfile, I get "Cannot find Joomla XML setup file". Where am I going wrong here? The installation guide is not specific about how to install the plugin -

Thank you,
Cliff

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

Post by yvolk » Tue May 24, 2011 5:27 am

ReDoG wrote:Trouble Installing v2.0.2a-

Web Designer here, new to Joomla.

I realize there are (3) parts that need to be installed. Using the extensions manager, I have successfully installed the Module and Components, by browsing for their zip files and selecting upload and install.

When I go to do the same for the Plugin zipfile, I get "Cannot find Joomla XML setup file". Where am I going wrong here? The installation guide is not specific about how to install the plugin -

Thank you,
Cliff
I guess you're installing wrong plugin or to the wrong version of Joomla :)
You have to install yvCommentPlugin-2.00.002.zip on Joomla! 1.6
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

Post by yvolk » Tue May 24, 2011 5:31 am

Losko wrote:Hi, I installed yvcomment and Jnews. I yvcomment configured as shown in the guide, I also installed JNews for newsletters and notification to the comments but here I have a problem, i can not configure yvcomment to notify the responses to comments for users, i receive the notification only as author of the article .

My version of joomla is 1.5.23, thanks for any help.
Hi, reading yvComment's docs, I see that only Author's notification is mentioned:
9.To allow Authors to subscribe to email notifications about new or updated Comments on their Articles (and optionally Comments also)... 'Comments on My Articles' list
So what you need is not implemented yet...
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

ReDoG
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon May 23, 2011 9:45 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by ReDoG » Tue May 24, 2011 9:06 pm

yvolk wrote:
ReDoG wrote:Trouble Installing v2.0.2a-

Web Designer here, new to Joomla.

I realize there are (3) parts that need to be installed. Using the extensions manager, I have successfully installed the Module and Components, by browsing for their zip files and selecting upload and install.

When I go to do the same for the Plugin zipfile, I get "Cannot find Joomla XML setup file". Where am I going wrong here? The installation guide is not specific about how to install the plugin -

Thank you,
Cliff
I guess you're installing wrong plugin or to the wrong version of Joomla :)
You have to install yvCommentPlugin-2.00.002.zip on Joomla! 1.6
I am using yvCommentPlugin-2.00.002.zip on Joomla! 1.6.1 - is this why? Does it need to be 1.6.0?

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

Post by yvolk » Wed May 25, 2011 9:59 am

ReDoG wrote:
yvolk wrote:I guess you're installing wrong plugin or to the wrong version of Joomla :)
You have to install yvCommentPlugin-2.00.002.zip on Joomla! 1.6
I am using yvCommentPlugin-2.00.002.zip on Joomla! 1.6.1 - is this why? Does it need to be 1.6.0?
I don't know about such restriction... and I doubt Joomla! broke such feature in minor release...
Are you sure you have this "Cannot find Joomla XML setup file" error while installing the
yvCommentPlugin-2.00.002.zip file? (Please check again)
That "yvcomment.xml" setup file IS inside the zip file...
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

ReDoG
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon May 23, 2011 9:45 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by ReDoG » Wed May 25, 2011 3:31 pm

yvolk wrote:
ReDoG wrote:
yvolk wrote:I guess you're installing wrong plugin or to the wrong version of Joomla :)
You have to install yvCommentPlugin-2.00.002.zip on Joomla! 1.6
I am using yvCommentPlugin-2.00.002.zip on Joomla! 1.6.1 - is this why? Does it need to be 1.6.0?
I don't know about such restriction... and I doubt Joomla! broke such feature in minor release...
Are you sure you have this "Cannot find Joomla XML setup file" error while installing the
yvCommentPlugin-2.00.002.zip file? (Please check again)
That "yvcomment.xml" setup file IS inside the zip file...

Yes I am seeing it in the zip file as well. I don't see why this would happen either. The exact zip file is yvCommentPlugin-2.00.002.zip I triple checked. :(

Lets go over exactly how I am doing this:

I go to the top menu after logging into admin. I go Extensions Menu - Extensions Manager. Then I select under Upload Package File, I hit browse, then select yvCommentPlugin-2.00.002.zip. Then I hit the button Upload and Install. This is the exact error:

JInstaller: :Install: Cannot find Joomla XML setup file

I dont get why the other two packages worked, why not this one?

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

Post by yvolk » Thu May 26, 2011 6:17 am

ReDoG wrote:Yes I am seeing it in the zip file as well. I don't see why this would happen either. The exact zip file is yvCommentPlugin-2.00.002.zip I triple checked. :(

Lets go over exactly how I am doing this:

I go to the top menu after logging into admin. I go Extensions Menu - Extensions Manager. Then I select under Upload Package File, I hit browse, then select yvCommentPlugin-2.00.002.zip. Then I hit the button Upload and Install. This is the exact error:

JInstaller: :Install: Cannot find Joomla XML setup file

I dont get why the other two packages worked, why not this one?
I've tried to install yvCommentPlugin-2.00.002.zip on fresh Joomla! 1.6.3 stable - it works.
I guess your Joomla! installation is corrupted in some way... I would start from upgrading to Joomla! 1.6.3
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

pipjoom
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Dec 28, 2010 7:17 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by pipjoom » Mon May 30, 2011 11:54 am

Hi,
I'm trying to get this yvComments to work, and I can post comment, but when I click "preview" or "reply" i just get en empty page and no error message:

http://singlespot.dk/index.php/events/4 ... glecamping

Can anyone tell me, what I'm doing wrong?

Thanks in advance :)

User avatar
AdiM
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Fri Mar 16, 2007 12:25 pm
Location: Buzau, Romania
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by AdiM » Sat Jun 11, 2011 1:50 pm

I am using yvcomment with Joomla 1.6 and seems to be great.
Anyway, I would like to add some instructions for users with the comment form,
such as: "Your comment must be decent and on topic, otherwise it may be unapproved (deleted). No spam please."
I tried to locate the PHP file where I could to that, but so far I could not locate it.
Can you add a parameter for it? Like "Instructions text" or "Behavior recommendations" or such.
Or at least where could I add such a text before or after the new comment form and the edit comment form?
Best regards!
AdiM

mberman14
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Oct 17, 2010 1:03 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by mberman14 » Sat Jun 11, 2011 6:50 pm

Can you tell me how I could move the "This is a comment on" line to the top of the comment, instead of its current location at the bottom of the comment?

Thanks,

Matt

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

Re: yvComment - Access control in Joomla! 1.6

Post by yvolk » Tue Jun 14, 2011 7:06 pm

hugosousa wrote:
yvolk wrote:Dear Hugosousa,
yvComment uses the access control methods as native Joomla! Articles do.
Please see 'components/com_yvcomment/helpers.php' file, functions:
...
Hi, But I saw in components/com_yvcomment/helpers.php line 276
... You use $user->authorize instead of $user->authorise, the parameters are diferents and the authorize is deprecated.
ami2510 wrote:Any update on that, I would like my registered users to be able to edit their comments or delete them. I tried authoriz(s)e and fiddled with it but no luck. :(
yvComment v.2.00.003 Beta is published. What's new:
+ ACLs (of com_content component, it's "Category for comments" and of Comments as "articles" ) are used to Add (Create), Edit, Publish (Edit state) and Delete comments.

And yes, you can set permissions for "Comments" category to enable some user's group(s) to edit their own comments. In this case:
- users will be allowed to edit their own comments;
- users will even see their own unpublished comments (even Joomla! core can't do this yet :-) ).
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:

yvComment - Where is commenting form?

Post by yvolk » Tue Jun 14, 2011 7:26 pm

AdiM wrote:I am using yvcomment with Joomla 1.6 and seems to be great.
Anyway, I would like to add some instructions for users with the comment form,
such as: "Your comment must be decent and on topic, otherwise it may be unapproved (deleted). No spam please."
I tried to locate the PHP file where I could to that, but so far I could not locate it.
Can you add a parameter for it? Like "Instructions text" or "Behavior recommendations" or such.
Or at least where could I add such a text before or after the new comment form and the edit comment form?
Hi AdiM,
The commenting form is in this file: '/components/com_yvcomment/views/comment/tmpl/default.php'.
The form itself starts from

Code: Select all

<div class='CommentForm'>
I don't think additional parameter is good for "Instructions text" or "Behavior recommendations": it's more appropriate to customize User Interface with Layouts Overrides Joomla! feature (was Template Override. This is your custom copy of above mentioned file...)
BTW, yvComment supports Layout Override even for plugin (Joomla! core can't do this yet)!
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 - how to move "This is a comment on" line

Post by yvolk » Tue Jun 14, 2011 7:53 pm

mberman14 wrote:Can you tell me how I could move the "This is a comment on" line to the top of the comment, instead of its current location at the bottom of the comment?
Hi Matt,
please see the file: '/components/com_yvcomment/views/comment/tmpl/default.php'
The "This is a comment on" line is in the block:

Code: Select all

<?php if ($this->params->get('ShowParentArticle')) : ?>
<div class='CommentParentArticle'>
...
<?php endif; // ShowParentArticle ?>
It tells that the Article is itself a comment.
In order to move the line to any other position of the Article you should:
- Set plugin position to "Defined by Article template" (read more on the Homepage)
- Customize Article (and/or "Featured...", Category... ) template (layout) so that will:
1. Read '$this->item->comments' property
2. Extract <div class='CommentParentArticle'> ... </div> from it and write it in one place of the page.
3. Everything else put in other place (e.g. below the Article).
... This is VERY "advanced", but doable :)

PS: I mean, short instruction above is for Joomla! programmer who've read yvComment's documentation.
Last edited by yvolk on Thu Jun 16, 2011 2:32 pm, edited 1 time in total.
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
AdiM
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Fri Mar 16, 2007 12:25 pm
Location: Buzau, Romania
Contact:

Re: yvComment - Where is commenting form?

Post by AdiM » Tue Jun 14, 2011 8:08 pm

yvolk wrote: Hi AdiM,
The commenting form is in this file: '/components/com_yvcomment/views/comment/tmpl/default.php'.
Great answer! Thank you very much, I found the file and I could do what I needed!!!
Best regards!
AdiM

User avatar
sweup
Joomla! Guru
Joomla! Guru
Posts: 885
Joined: Tue Dec 02, 2008 1:22 pm
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by sweup » Wed Jun 15, 2011 6:18 am

Is there any plans to implement support for Jomsocial?
http://www.joomlasverige.se
Översättningar av tillägg, intervjuer och mer
..
http://www.begravningsportalen.se - Allt om begravning, sorg och gemenskap

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

Re: yvComment and JomSocial

Post by yvolk » Wed Jun 15, 2011 7:39 am

jokrsolutions wrote:Is there any plans to implement support for Jomsocial?
Hi jokrsolutions,
1. Do you mean plans to create JomSocial plugin to see Comments created by yvComment in JomSocial interface?
- yvComment has such plugin for CommunityBuilder (it creates new Tabs for Comments) - it's very simple (as yvComment own plugins and module are): 99% of data is in a single place inside yvCommentComponent package.

I think some similar plugin for JomSocial should be developed & maintained by JomSocial developer.

2. On the other hand, yvComment may use something from JomSocial (some Comment's Author info shown with comment).
This is yvComment's part of work... but I don't have such plans yet because I don't see much users of yvComment + JomSocial ;) You're the first one :)
Plus I'm dreaming about some standardized (commonly used...) interfaces for avatars, user info... in order not to create new plugin for each User's info provider :)
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
sweup
Joomla! Guru
Joomla! Guru
Posts: 885
Joined: Tue Dec 02, 2008 1:22 pm
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by sweup » Wed Jun 15, 2011 10:07 am

Both 1 and 2 would be nice, strange that JS users are not using this yv, specially when Jomcomments are not maintained.

I have attached Swedish translation for J16 version
You do not have the required permissions to view the files attached to this post.
http://www.joomlasverige.se
Översättningar av tillägg, intervjuer och mer
..
http://www.begravningsportalen.se - Allt om begravning, sorg och gemenskap

mberman14
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Oct 17, 2010 1:03 pm

Re: yvComment - how to move "This is a comment on" line

Post by mberman14 » Wed Jun 15, 2011 3:29 pm

yvolk wrote:please see the file: '/components/com_yvcomment/views/comment/tmpl/default.php'
The "This is a comment on" line is in the block:

Code: Select all

<?php if ($this->params->get('ShowParentArticle')) : ?>
<div class='CommentParentArticle'>
...
<?php endif; // ShowParentArticle ?>
It tells that the Article is itself a comment.
In order to move the line to any other position of the Article you should:
- Set plugin position to "Defined by Article template" (read more on the Homepage)
- Customize Article (and/or "Featured...", Category... ) template (layout) so that will:
1. Read '$this->item->comments' property
2. Extract <div class='CommentParentArticle'> ... </div> from it and write it in one place of the page.
3. Everything else put in other place (e.g. below the Article).
... This is VERY "advanced", but doable :)
Ok, well, I appreciate you taking the time to respond, but I understood almost none of that. Sounds like it may be beyond my pay grade at present.

Thanks,
Matt

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

Re: yvComment - Swedish translation for Joomla! 1.6

Post by yvolk » Thu Jun 16, 2011 2:44 pm

jokrsolutions wrote:Both 1 and 2 would be nice, strange that JS users are not using this yv, specially when Jomcomments are not maintained.

I have attached Swedish translation for J16 version
Thank you for contribution, jokrsolutions
...but in order for it to be used by ordinary users :) :
- files should be in UTF8 encoding;
- thease files should be packaged just like in 4_LanguagePackTemplate

Could you create the package? Please ;)
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
sweup
Joomla! Guru
Joomla! Guru
Posts: 885
Joined: Tue Dec 02, 2008 1:22 pm
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by sweup » Thu Jun 16, 2011 7:08 pm

I think the files are in UTF-8 (?).

I repacked, i hope i did it correct ;)
You do not have the required permissions to view the files attached to this post.
http://www.joomlasverige.se
Översättningar av tillägg, intervjuer och mer
..
http://www.begravningsportalen.se - Allt om begravning, sorg och gemenskap

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

Re: yvComment - Swedish translation for Joomla! 1.6

Post by yvolk » Fri Jun 17, 2011 5:44 am

jokrsolutions wrote:I think the files are in UTF-8 (?).

I repacked, i hope i did it correct ;)
Thank you, I've published your Swedish translation at JoomlaCode.
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
sweup
Joomla! Guru
Joomla! Guru
Posts: 885
Joined: Tue Dec 02, 2008 1:22 pm
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by sweup » Fri Jun 17, 2011 6:17 am

Great :)
http://www.joomlasverige.se
Översättningar av tillägg, intervjuer och mer
..
http://www.begravningsportalen.se - Allt om begravning, sorg och gemenskap

Hartzell
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Jun 22, 2011 2:24 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by Hartzell » Wed Jun 22, 2011 2:34 pm

Hi!

First, thanks for a nice comment system. :)

I have some problems.

When I use the JSN Epic template two "add comment" fields appears under each article. And nothing happens when I hit the Send button.
The only way it works is when I use the option to have a text link to another page with the comment form.
But it still shows two textlinks on the first page.
I have searched for some bug in the html (default.php) without success.

I would be very glad if someone could help me on this one.

The free version of the template is here:
http://www.joomlashine.com/joomla-templ ... tails.html

Best regards.
Mattias

Edit: Look at the code here. Two links to comments, one outside the article DIV! Why? :'(

Code: Select all

<div class="article"><h2 class="contentheading">Renovering av bildskärm</h2>
	<div class="jsn-article-toolbar">
		<ul class="jsn-article-tools">
		<li class="jsn-article-icon-edit">
		<span class="hasTip" title="Ändra"><a href="/?task=art...eybQ==" ><img src="/m....png" alt="ändra"  /></a></span></li></ul>
	</div>
				
	<div class="jsn-article-content"><p>Hello CSKA Moskow.</p>
					
	        <div class="yvComment" id="yvComment59" >
		<div class="NumCommentsAlone">
		<a href='/index.php/component/yvcomment/?view=comment&ArticleID=59&amp.. ..Q==#yvComment59'>Kommentarer (2)</a>	</div>
		<div class="CommentClr"></div>
	</div>	
	
</div>
	
	<span class="article_separator">&nbsp;</span> 
		
	       <div class="yvComment" id="yvComment59" >
		<div class="NumCommentsAlone">
		<a href='/index.php/component/yvcomment/?view=comment&ArticleID=59&amp.. ..Q==#yvComment59'>Kommentarer (2)</a>	</div>
		<div class="CommentClr">
		</div>
	</div>
</div>
Last edited by Hartzell on Thu Jun 23, 2011 11:42 am, edited 5 times in total.

pozitive
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jun 22, 2011 3:54 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by pozitive » Wed Jun 22, 2011 3:56 pm

super.. thanks :)

vtgav
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Thu Jan 26, 2006 1:43 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by vtgav » Thu Jun 23, 2011 3:38 pm

I am trying out the J1.6 version but am having a small problem here.

I have disabled the option of guests commenting, and assumed that registered users would be able to create comments, but they can't ?!? higher level users ( authors, admins etc. ) can comment OK but 'simple' registered users do not get the option on an article to create a comment ??

I have searched the install /config notes but have not seen what to do.

Can you please advise what I have to do to allow any registered user to comment on articles ?

Apologies if the information is there and I am too dumb to see it !

thanks in advance,
Gav

Hartzell
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Jun 22, 2011 2:24 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by Hartzell » Thu Jun 23, 2011 4:19 pm

I found my problem.
The last lines in article default.php looked like this...

<?php echo $this->item->event->afterDisplayContent; ?>
</div>
<span class="article_separator">&nbsp;</span>
<?php echo $this->item->event->afterDisplayContent; ?>
</div>
</div>


If someone encounter the same problem...

riccardosl
Joomla! Apprentice
Joomla! Apprentice
Posts: 43
Joined: Tue Jan 06, 2009 7:28 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by riccardosl » Fri Jun 24, 2011 8:14 am

Why i can't see a clear Captcha image after the comments login ?

Wich plugin do you use for captcha?

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

Re: yvComment - User permissions

Post by yvolk » Fri Jun 24, 2011 8:38 am

vtgav wrote:I am trying out the J1.6 version but am having a small problem here.

I have disabled the option of guests commenting, and assumed that registered users would be able to create comments, but they can't ?!? higher level users ( authors, admins etc. ) can comment OK but 'simple' registered users do not get the option on an article to create a comment ??

I have searched the install /config notes but have not seen what to do.

Can you please advise what I have to do to allow any registered user to comment on articles ?

Apologies if the information is there and I am too dumb to see it !

thanks in advance,
Gav
Hi Gav,
Starting from v.2.0.003 yvComment uses ACLs (of com_content component, it's "Category for comments" and of Comments as "articles" ) to authorize the actions: Add (Create), Edit, Publish (Edit state) and Delete comments.
So what does this mean? :)
1. Please read the "ACL Tutorial for Joomla 1.6"
2. For your current situation:
- you have users, who are members of one User group: "Registered"
- by default users of this group can't "Create" Articles. Comments are (type of) articles also, so these users are not allowed to add comments.
- You want these users to be able to add comments but not other types of content, so you set permissions on one Category and not on the whole 'com_content' component (not for all Articles...):
in the Menu go to the:
Content->Category Manager->Edit category which is configured as your "Category for Comments" (for this Type of comments..., e.g. for "Comments Type 1")
For the "Registered" user group, "Create" Action set "Allowed" permission (in the "Select New Setting" column).
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Locked

Return to “Extensions for Joomla! 1.5”