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
kgunnell
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Thu Nov 06, 2008 10:42 am

Re: yvComment - Comments extension for Joomla! 1.5

Post by kgunnell » Fri Dec 05, 2008 12:21 pm

Hi Yuri,
I'm getting so close now it's great. I'm afraid I don't have any php (yet) so I am struggling with how to find the parameters that I want to display.
My site is www.netministries.ie/joomla. You can see my comment box on the right called Newsbox. I would like the authors name to appear in bold. Below that I would like to display how old the comment is in hours and if over 48 hours, to display it in days and beside this when it was posted (only when greater than 2 days). An example of what I want is in lifeteen.com.

I would then display the comment and then a line to differentiate the next comment. I would love to have a scrollbar along the side of the module too. Where in the code should I look to find the parameters and change how they appear in the module?

Also, my article appears on the front page but I don't want it to. Is there a way that I can use yvcomment but not display the article?

Thank you so much,
Karen

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 » Fri Dec 05, 2008 1:29 pm

kgunnell wrote:Hi Yuri,
I'm getting so close now it's great. I'm afraid I don't have any php (yet) so I am struggling with how to find the parameters that I want to display.
...
Also, my article appears on the front page but I don't want it to. Is there a way that I can use yvcomment but not display the article?
Hi, Karen!
- Customization of yvComment display should be done with 'template override' creating special template (layout), based on one of existing templates, found in 'components\com_yvcomment\views\listofcomments\tmpl' folder.
- What's about hiding Article itself, I think you may create custom template for the menu item (starting from copy of your existing site template, e.g. 'templates\rhuk_milkyway\index.php' for default template).

I'm sorry, but further detalization is out of scope of this topic :)

tehnz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 108
Joined: Mon Oct 20, 2008 10:36 am

Re: yvComment - Comments extension for Joomla! 1.5

Post by tehnz » Sun Dec 07, 2008 4:00 am

hi Yuri,
Thanks for this extension. Excellent. Exactly what I want.
I have been designing my site using Firefox and went live recently. That is when I got the feedback that the Comments do not work for the site in IE7. Very strange.
If you could have a look at my site using both IE7 and Firefox.
Please note that comment is only enabled for diary entries, hence just go to any diary entry (click a calendar date which is underlined) and try to enter a comment.
In Firefox, can input and display comments - no problems.
In IE7, it crashes.

Also it crashes in IE7 when one tries to view individual comments under Recent Comments (go to Menu), but no so in Firefox.

The crash only occurs in IE7 in both localhost and remotehost.

Could you point me in a direction to solve this. Am not sure whether it is due to my settings in yvcomment or settings in IE7.

http://www.whatididonthisday.com

I use Joomla 1.5.8
pHP v5.2.6
MySQL v5.0.67
Windows Vista
Firefox 3.03
IE7
yvcomment v1.19.3 (same problem when tested previously with v1.19.2)

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

Re: yvComment - What to do when MSIE crashes

Post by yvolk » Sun Dec 07, 2008 7:58 am

tehnz wrote:hi Yuri,
...I got the feedback that the Comments do not work for the site in IE7. Very strange.
If you could have a look at my site using both IE7 and Firefox.
Please note that comment is only enabled for diary entries, hence just go to any diary entry (click a calendar date which is underlined) and try to enter a comment.
In Firefox, can input and display comments - no problems.
In IE7, it crashes...
I tried your site with MSIE7 under Windows XP. It doesn't 'crash', but it shows some error dialogs (operation was aborted...) and then displays error page instead of site page (e.g. for this page).
I used HTTPWatch MSIE plugin to see, what happend: errors started after loading some "application/x-shockwave-flash" file...
I think, problem is somewhere in HTML markup (as it was in similar cases, that were repoted before) - you have to analize it...
plus you should start from simplier case: turn WYSIWYG editor off for comments: even if you wouldn't see any errors with 'plain text' comment, this doesn't mean your HTML page is good...
- Try to turn off that shockwave-flash file to locate and fix other problems...

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

tigger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Mon Oct 13, 2008 9:10 am

Re: yvComment - Comments extension for Joomla! 1.5

Post by tigger » Sun Dec 07, 2008 11:04 am

Hi,

Thank you Yvolk for this great tool!

I installed Pluing and Component and they just worked perfectly!

One question: is it possible to view the users images in the comments (like in this forum for example)?
I've searched in your homepage instructions, but couldn't find...

Thanks and good work!
:-D

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

Re: yvComment - How does user insert image into comment

Post by yvolk » Sun Dec 07, 2008 12:56 pm

tigger wrote:Is it possible to view the users images in the comments (like in this forum for example)?
Hi! Of cause, comments may have any formatting, including images: just like any other Joomla Articles and this formatting and e.g. images are shown in the list of comments...

The main question is: How does user insert image into comment?
There are such options:
- If you enabled BBCodes for comments, user may insert "img" BBCode with URL to any existing image, e.g. Image
- If you enabled HTML code for your comments, user may enter <img> HTML element into comment...
- If you enabled WYSIWYG editor for comments, user have additional option: to insert images into comment just like he (or she) inserts images in any Article.
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

tigger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Mon Oct 13, 2008 9:10 am

Re: yvComment - Comments extension for Joomla! 1.5

Post by tigger » Sun Dec 07, 2008 2:46 pm

Ok, I got it.

But I meant a "user photo", like yours in this forum (I don't have one yet, by the way).

I'm using Joom Suit User. So, when a user registers in my website, he's allowed to create his own profie, upload a picture of himself and comment the articles.

I'd like to have that user photo next to each comment automaticaly, if that is possible, of course!

Thanks again!

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

Re: yvComment - User's photos - Avatars

Post by yvolk » Sun Dec 07, 2008 4:25 pm

tigger wrote:Ok, I got it.

But I meant a "user photo", like yours in this forum (I don't have one yet, by the way).

I'm using Joom Suit User. So, when a user registers in my website, he's allowed to create his own profie, upload a picture of himself and comment the articles.

I'd like to have that user photo next to each comment automaticaly, if that is possible, of course!
These 'user photos' are often called 'User avatars' and there is one 'Avatar' plugin, that works with yvComment: 'Avatar/Gravatar Plugin'. Unfortunately, that plugin is not supported/developed now, but it's GPL, so you may start your own work from it...

BTW, what's that 'Joom Suit User', that you mentioned?

tigger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Mon Oct 13, 2008 9:10 am

Re: yvComment - Comments extension for Joomla! 1.5

Post by tigger » Sun Dec 07, 2008 8:10 pm

Ok, I'll try it!

This the component I mentioned:
http://joomsuite.com/index.php?option=c ... &Itemid=13

tehnz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 108
Joined: Mon Oct 20, 2008 10:36 am

Re: yvComment - What to do when MSIE crashes

Post by tehnz » Tue Dec 09, 2008 12:49 am

[quote="yvolk]
I tried your site with MSIE7 under Windows XP. It doesn't 'crash', but it shows some error dialogs (operation was aborted...) and then displays error page instead of site page (e.g. for this page).
I used HTTPWatch MSIE plugin to see, what happend: errors started after loading some "application/x-shockwave-flash" file...
I think, problem is somewhere in HTML markup (as it was in similar cases, that were repoted before) - you have to analize it...
plus you should start from simplier case: turn WYSIWYG editor off for comments: even if you wouldn't see any errors with 'plain text' comment, this doesn't mean your HTML page is good...
- Try to turn off that shockwave-flash file to locate and fix other problems...
[/quote]

Hi Yuri,
thanks for your advice.
Have narrowed the 'errors on page' down to just one extension. As I am not a programmer, I have asked the developer for assistance.
Thanks again and am so glad that yvcomment is working perfectly. Just love having it for my site and especially for the fact that it is designed to be integrated to Joomla core.

http://www.whatididonthisday.com

kadded
Joomla! Explorer
Joomla! Explorer
Posts: 306
Joined: Sun Mar 23, 2008 9:54 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by kadded » Tue Dec 09, 2008 3:36 am

It's not very clear to me if it's possible to create a blacklist of words which can not be used in the comments?
A blacklist is a good thing if you allow guests to comment...

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

Blacklist of words (badwords) for yvComment

Post by yvolk » Tue Dec 09, 2008 6:10 am

kadded wrote:It's not very clear to me if it's possible to create a blacklist of words which can not be used in the comments?
A blacklist is a good thing if you allow guests to comment...
Hi, kadded! This 'blacklist of words which can not be used in the comments' is just the same as 'badwords' extension we talked about a year ago...
There is no such feature nor in Joomla! core (for articles), not in yvComment, and I even posted a challenge for contributors: "Create "Badwords" extension":
yvComment's Homepage wrote:"Bad words" option is used to stop people posting swear words etc... "Badwords" should be separate, site-wide extension, that may be used to "filter" any spam... If think about this deeper, this extension should be VERY intelligent AND language-aware...
So, the task is to create good "badwords" extension. Integration with yvComment would be easy. In 2007 CoolAcid started such work, but I don't like interface of his extension AND the implementation is TOO simple...
As I see it now, ANY proper written 'badwords/blacklist' extension, designed for Articles, should work for yvComment:
please try to find such and post your findings here...
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

kadded
Joomla! Explorer
Joomla! Explorer
Posts: 306
Joined: Sun Mar 23, 2008 9:54 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by kadded » Tue Dec 09, 2008 8:19 am

Some components who have the feature...
http://extensions.joomla.org/component/ ... Itemid,35/
#11 bad words censoring

This also claims to be able to do so (never tested either one of these):
http://extensions.joomla.org/component/ ... Itemid,35/

This is a plugin that claims to do so, not sure if it's possible to integrate in your comment extension:
http://extensions.joomla.org/component/ ... Itemid,35/
Another plugin:
http://extensions.joomla.org/component/ ... Itemid,35/

Last two might be the more interesting one possibly. Integrate it with your component and we're ok.

Hope this helps.

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 Dec 09, 2008 8:45 am

kadded wrote:Some components who have the feature...
...Last two might be the more interesting one possibly. Integrate it with your component and we're ok.
Hi! My intention is not to 'integrate' yvComment specifically with some custom 'Badwords' plugin, but use the same means, that were already used to integrate that plugins into com_content.
So, my suggestion is, that one have to take close look at existing plugins: maybe I don't need to make ANY changes to yvComment to use existing Badwords extension (if that extension doesn't require any changes in com_content), because yvComment is already deeply integrated into com_content:
- it may use ANY content plugin
- it uses the same JTableContent class and it may use the same content table (as for article).

So, please look into these plugin: what are them in fact, how are they integrated into Joomla! and test if that plugin (designed for Joomla articles) already works with yvComment.

kadded
Joomla! Explorer
Joomla! Explorer
Posts: 306
Joined: Sun Mar 23, 2008 9:54 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by kadded » Tue Dec 09, 2008 8:51 am

Sounds reasonable.

Will do, one of these days. Will test locally and report any bugs or difficulties.

CybSBoss
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Oct 26, 2008 8:43 pm

Email Cloaking of commentor's email

Post by CybSBoss » Tue Dec 09, 2008 4:26 pm

If I turn on email cloaking in Joomla and enable execution of content plugins in yvComment, then any email address inside the body of a comment gets properly cloaked. HOWEVER, the comment author's email address still appears as an uncloaked mailto:somebody@someplace in the page source.

Is this intended behavior? If so, is there any straightforward way to get the comment author's email cloaked? A significant number of my users will not leave comments unless their email address is protected from spam bots.

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

Re: Email Cloaking of commentor's email

Post by yvolk » Tue Dec 09, 2008 7:13 pm

CybSBoss wrote:If I turn on email cloaking in Joomla and enable execution of content plugins in yvComment, then any email address inside the body of a comment gets properly cloaked. HOWEVER, the comment author's email address still appears as an uncloaked mailto:somebody@someplace in the page source.

Is this intended behavior?
Yes, this is how Joomla! email cloaking works:
it affects text of article (or comment...) only.
BTW, if you set yvComment plugin 'position' to 'Inside Article box', whole list of comments will be included into TEXT of the Article and so everything in yvComment may be 'cloaked' :)
CybSBoss wrote:If so, is there any straightforward way to get the comment author's email cloaked? A significant number of my users will not leave comments unless their email address is protected from spam bots.
If you ask my opinion, I think, that 'email cloaking' is a weak method to protect from spam (from email harvesting bots...) and should not be used at all... better hide emails on protected pages (e.g. pages, accessible to authenticated users only...)
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

CybSBoss
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Oct 26, 2008 8:43 pm

Re: Email Cloaking of commentor's email

Post by CybSBoss » Tue Dec 09, 2008 10:13 pm

yvolk wrote:BTW, if you set yvComment plugin 'position' to 'Inside Article box', whole list of comments will be included into TEXT of the Article and so everything in yvComment may be 'cloaked' :)
I wish it were that simple; unfortunately with the comments inlined, a comment author's email address produces script gibberish in front of the author's alias.
yvolk wrote:If you ask my opinion, I think, that 'email cloaking' is a weak method to protect from spam (from email harvesting bots...) and should not be used at all... better hide emails on protected pages (e.g. pages, accessible to authenticated users only...)
I agree that Joomla's email cloaking leaves much to be desired. It is however better than nothing. No one in the blog world would ever put up with readers needing to be authenticated.

Do you know of a good yvComment compatible plugin that allows commentors to use their google account for their alias/email address? Wordpress and other off-the-shelf blogging software packages are light years ahead of Joomla in handling this sort of thing (though Wordpress has other prominent deficiencies).

kadded
Joomla! Explorer
Joomla! Explorer
Posts: 306
Joined: Sun Mar 23, 2008 9:54 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by kadded » Tue Dec 09, 2008 11:15 pm

This plugin works just fine for the blacklist:
http://extensions.joomla.org/component/ ... Itemid,35/

Another question though:
When selecting 'one level deep' at 'Allow comments on comment', there is a 'reply' button on the frontpage.
Selecting 'threaded' removes the 'reply' button. Am I doing something wrong?

jacobastevens
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Dec 10, 2008 3:24 am

Re: yvComment - Comments extension for Joomla! 1.5

Post by jacobastevens » Wed Dec 10, 2008 3:28 am

Hello,
First, I'd like to thank you for contributing such a great plugin!

I've almost got everything with yvComment working, except for an unusual error. Posting comments works just fine. However, I get a "500 - layout 'blog' not found' error if I do any of the following:

1. Post without a name
2. Post without a subject
3. Preview

I am on Joomla 1.5.8 and the very latest yvComment. So far I have tried:

1. Changing to the default Joomla template
2. Disabling SEF URLs
3. Disabling all menus
4. Playing with user name, email, required, etc.

Nothing seems to help! Any suggestions anyone can give to help point me to the problem would be greatly appreciated!

My site is www.rivermanmedia.com, you should be able to see the error until I'm able to fix it!

Thank you,
Jacob

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

Email Cloaking of commentor's email and Google authenticatio

Post by yvolk » Wed Dec 10, 2008 6:55 am

CybSBoss wrote:
yvolk wrote:BTW, if you set yvComment plugin 'position' to 'Inside Article box', whole list of comments will be included into TEXT of the Article and so everything in yvComment may be 'cloaked' :)
I wish it were that simple; unfortunately with the comments inlined, a comment author's email address produces script gibberish in front of the author's alias.
This is definetly a bug of Joomla! 'email cloak' plugin. And this bug should be reported to the Joomla! core team by interested members ;)
CybSBoss wrote:
yvolk wrote:If you ask my opinion, I think, that 'email cloaking' is a weak method to protect from spam (from email harvesting bots...) and should not be used at all... better hide emails on protected pages (e.g. pages, accessible to authenticated users only...)
I agree that Joomla's email cloaking leaves much to be desired. It is however better than nothing. No one in the blog world would ever put up with readers needing to be authenticated.
I don't insist on requirement to authenticate (to log in to the site) for everybody. I mean, that if you want your commenters to leave their emails but don't want that emails to be harvested by spam bot, you may simply hide these emails at least from 'guests'.
So, if someone wants to leave comment, he doesn't need to register and to log in, but if that user whants to see other's emails (e.g. to contact them), he (or she) MUST register and log in.
I think, this is fear enough...
CybSBoss wrote:Do you know of a good yvComment compatible plugin that allows commentors to use their google account for their alias/email address? Wordpress and other off-the-shelf blogging software packages are light years ahead of Joomla in handling this sort of thing (though Wordpress has other prominent deficiencies).
Do you mean some 'Joomla authentication plugin', that uses Google Account Authentication Service 'to log in' (automatically...) to the Joomla! site? I didn't look into this...
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:

Badwords plugin for yvComment

Post by yvolk » Wed Dec 10, 2008 7:38 am

Thank you, kadded, for your efforts!
kadded wrote:This plugin works just fine for the blacklist:
http://extensions.joomla.org/component/ ... Itemid,35/
Do you mean, that this 'JBehave' plugin works Ok with yvComment?
May I recommend it as 'Badwords plugin for yvComment'?

...As I've got from it's description, it only 'masks' badwords, but don't prevent from saving articles (and comments...), that contain badwords. Is this feature really needed, how do you think?
kadded wrote: Another question though:
When selecting 'one level deep' at 'Allow comments on comment', there is a 'reply' button on the frontpage.
Selecting 'threaded' removes the 'reply' button. Am I doing something wrong?
I can't say anything from this short description... If you feel, that this is a bug, please give more details and report it to the JoomlaCode Tracker
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 - 500 - layout 'blog' not found'

Post by yvolk » Wed Dec 10, 2008 7:49 am

jacobastevens wrote:I've almost got everything with yvComment working, except for an unusual error. Posting comments works just fine. However, I get a "500 - layout 'blog' not found' error if I do any of the following:

1. Post without a name
2. Post without a subject
3. Preview
Hi, Jacob!
In all cases, that you mentioned, Joomla! has to open com_yvcomment component with 'comment' view (called sometimes 'layout'...).
As I see POST request, it contains valid 'option' and 'view' variables, but Joomla! fails to get them somehow...
This problem was reported in this thread already some times (please see...), and in no case I was given admin access to the (copy of) the site, so I was not able to find the cause and to help (people, who reported the problem, simply didn't answer me...)
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

kadded
Joomla! Explorer
Joomla! Explorer
Posts: 306
Joined: Sun Mar 23, 2008 9:54 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by kadded » Wed Dec 10, 2008 8:46 am

It indeed does not prevent to post the article nevertheless. Don't think that's necessary though. It indeed simply masks and that's all really. You can not have full control over one's posts. But this comes closest to what might be necessary. Posts always need to be moderated. This simply prevents the most insulting comments, at least for me.
As to recommend: it works without a problem, easy to setup and configure. I'll talk to the developer to suggest some additional features: (such as: ban an IP when repeatedly posting blacklist words and a pop warning that the user used words from the blacklist). But for now, this is perfect for me.

The reply issue is very simple:
Configuring the comment plugin
- Allow comments on comment: one level down
--> On front end, one sees a 'reply' button appearing, meaning: one can reply on the comment but as the value defined only on the first level. So there is no 'reply' on the second level comment as expected.
-Allow comments on comment: threaded comments
--> On front end: there is no 'reply' button seen, nor on the first level, nor on the second or any other. There simply is no 'reply' button anymore. One can still add a comment as usual, but one can not comment on comments. One can only post comments of level 1.

Hope this helps.

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

yvComment and threaded comments

Post by yvolk » Wed Dec 10, 2008 3:26 pm

kadded wrote:The reply issue is very simple:
Configuring the comment plugin
- Allow comments on comment: one level down
--> On front end, one sees a 'reply' button appearing, meaning: one can reply on the comment but as the value defined only on the first level. So there is no 'reply' on the second level comment as expected.
-Allow comments on comment: threaded comments
--> On front end: there is no 'reply' button seen, nor on the first level, nor on the second or any other. There simply is no 'reply' button anymore. One can still add a comment as usual, but one can not comment on comments. One can only post comments of level 1.
I've tested this, and yes, there is no 'Reply button' near comment, but there is 'Reply link' or 'Number of comments' as a link, see screenshot attached.
BTW, (maybe) you have to set 'Comment linkable' parameter to 'Yes, linkable title'.
You do not have the required permissions to view the files attached to this post.

jacobastevens
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Dec 10, 2008 3:24 am

Re: yvComment - 500 - layout 'blog' not found'

Post by jacobastevens » Wed Dec 10, 2008 3:54 pm

yvolk wrote:
jacobastevens wrote:I've almost got everything with yvComment working, except for an unusual error. Posting comments works just fine. However, I get a "500 - layout 'blog' not found' error if I do any of the following:

1. Post without a name
2. Post without a subject
3. Preview
Hi, Jacob!
In all cases, that you mentioned, Joomla! has to open com_yvcomment component with 'comment' view (called sometimes 'layout'...).
As I see POST request, it contains valid 'option' and 'view' variables, but Joomla! fails to get them somehow...
This problem was reported in this thread already some times (please see...), and in no case I was given admin access to the (copy of) the site, so I was not able to find the cause and to help (people, who reported the problem, simply didn't answer me...)
Yuri,
I have given you administrative access to rivermanmedia.com. You should have gotten an email at your yuirvolkov.com address. Please let me know if you didn't get the email.

Thank you so much for helping me (and others!) solve this issue.

Jacob Stevens

CybSBoss
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Oct 26, 2008 8:43 pm

Re: Email Cloaking of commentor's email and Google authenticatio

Post by CybSBoss » Wed Dec 10, 2008 4:25 pm

yvolk wrote:
CybSBoss wrote:Do you know of a good yvComment compatible plugin that allows commentors to use their google account for their alias/email address? Wordpress and other off-the-shelf blogging software packages are light years ahead of Joomla in handling this sort of thing (though Wordpress has other prominent deficiencies).
Do you mean some 'Joomla authentication plugin', that uses Google Account Authentication Service 'to log in' (automatically...) to the Joomla! site? I didn't look into this...
Actually not so much to log in or register with Joomla, but rather a plugin to broker an identity for comments. (Joomla's registration mechanism is SO broken... Your yvComment already does a far better job, so I am only attempting to find workable solutions based on yvComment that make things even better for my users.) For example, if you go to the comments page of an article for any blog hosted by blogger.com, there is a section to 'Choose an identity' that offers four radio buttons:

Google/Blogger
OpenID
Name/Url
Anonymous

If you have a Google/Blogger identity, the site immediately recognizes you (presumably from your IP address) and offers appropriate account/identity options. If you choose OpenID, you can select from LiveJournal, WordPress, [spam], or AIM. Blogs hosted on other services besides blogger.com offer similar identity options. None of these require registering on the particular blog site. In fact many of these blog sites don't even offer the option of registering.

I do not generally like blog hosting services, but this type of identity brokering is quite popular with users because it greatly decreases the amount of typing they have to do to enter a comment, and it allows them to have a more uniform identity if they comment frequently on different sites.

kadded
Joomla! Explorer
Joomla! Explorer
Posts: 306
Joined: Sun Mar 23, 2008 9:54 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by kadded » Wed Dec 10, 2008 7:53 pm

On the 'reply' button:
Is it easy to insert that nevertheless?
I'll check myself to core hack this feature, however I will be doing it the 'copy paste' way since no real experience with PHP.

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

yvComment - fix for '500 - layout 'blog' not found' error

Post by yvolk » Fri Dec 12, 2008 3:58 am

jacobastevens wrote:
yvolk wrote:
jacobastevens wrote:I've almost got everything with yvComment working, except for an unusual error. Posting comments works just fine. However, I get a "500 - layout 'blog' not found' error if I do any of the following:

1. Post without a name
2. Post without a subject
3. Preview
Hi, Jacob!
In all cases, that you mentioned, Joomla! has to open com_yvcomment component with 'comment' view (called sometimes 'layout'...).
As I see POST request, it contains valid 'option' and 'view' variables, but Joomla! fails to get them somehow...
This problem was reported in this thread already some times (please see...), and in no case I was given admin access to the (copy of) the site, so I was not able to find the cause and to help (people, who reported the problem, simply didn't answer me...)
Yuri,
I have given you administrative access to rivermanmedia.com. You should have gotten an email at your yuirvolkov.com address. Please let me know if you didn't get the email.

Thank you so much for helping me (and others!) solve this issue.

Jacob Stevens
Thank you, Jacob, for your help.
I think, that I found the simplest solution to the problem, and now patched yvCommentComponent is installed on your site.

BTW, the fix appeared to be very easy:
in every 'template file' ('components/com_yvcomment/views/.../tmpl/*.php'),
in every <form> element, that has the line:
---
<input type='hidden' name='option' value='com_yvcomment' />
---
1. delete that line (it's not needed any more...)
2. replace action attribute of the 'form' element (

Code: Select all

action='<?php echo JURI::base();?>'
)
with this:

Code: Select all

action='<?php echo JRoute::_('index.php?option=com_yvcomment');?>'
This fix solves not only this "500 - layout 'blog' not found" error,
but, I think "404 page not found" error, that appeared in some configurations.

The cause of these errors was simple: I didn't know 'proper' way to do things
...and I don't know it now (it's not documented...): it simply works :-)

Patched yvCommentComponent1.19.003.002.zip file is published in JoomlaCode.
To apply the fix, you have to uninstall old Component only and install new one.
No changes in plugin|module and their settings are needed.
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
dizzi
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3136
Joined: Fri Dec 21, 2007 9:36 pm
Location: Yorkshire, UK

Re: yvComment - Comments extension for Joomla! 1.5

Post by dizzi » Fri Dec 12, 2008 1:22 pm

kadded wrote:This plugin works just fine for the blacklist:
http://extensions.joomla.org/component/ ... Itemid,35/
Cheers m8 for this information :)!

Regards
Freedom of expression ... some may try to suppress it but they can never take it away ...
There is no problem a good miracle can't fix.


Locked

Return to “Extensions for Joomla! 1.5”