It is currently Sun Jul 20, 2008 12:46 am
Moderator: Websmurf


RobInk wrote:From what I can read, this must be a good extensions with high demand. Why not add it to the Extension site?


yvolk wrote:RobInk wrote:From what I can read, this must be a good extensions with high demand. Why not add it to the Extension site?
Of cause I think about this, but I desided to receive at least some comments from developers at first... I don't want "This thing doesn't work all" to be the first comment of my extension




Warning: file_get_contents(/home/dev.mysite.com/home/plugins/content/yvComment.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/dev.mysite.com/home/libraries/joomla/utilities/simplexml.php on line 174

aravot wrote:In plugin manager when accessing yvComment plugin I get the following errorWarning: file_get_contents(/home/dev.mysite.com/home/plugins/content/yvComment.xml) [function.file-get-contents]: failed to open stream: No such file or directory





aravot wrote:I don't know how much you want to improve this but it would be better to separate comments from articles in the backend.




CoolAcid wrote:You may still want to have a management system - for example - you may want to extend the system to support spam traps, your backend may want to show what comments are caught in the spam trap - I guess it could still just mp over to the com_content editor or what not.

CoolAcid wrote:I just installed the com on my production system and it died with 'Layout "default" not found' -- hapends as soon as I turn on the plugin?
.
yvolk wrote:CoolAcid wrote:You may still want to have a management system - for example - you may want to extend the system to support spam traps, your backend may want to show what comments are caught in the spam trap - I guess it could still just mp over to the com_content editor or what not.
Thank you, CoolAcid, for suggestion. Here are my thoughts.
1. Currently, my component allows adding comments to registered users only, so the cause of "spam trap" for comments and for other "content/articles" is basically the same: compromised user account etc...
I mean, of cause Joomla needs sophisticated article browser/analyzer with much more options, than existing "Article manager" has. So I'm tending to think, that we shall talk about more general tool to manage content, not comments only...
By the way, yesterday I tried to find something like this for Joomla! 1.5 in the Extensions directory - no luck
-- A spam bot has been known to register on forums to post spam too
I do agree that the article/com_content system needs to be updated - and thats slated for another version, just not 1.5 -- And yes, you are the first to corner the comment market on 1.5 -- which is why I'd like to see you do so well 
yvolk wrote:2. As to special, "comments aware" browsing/management, I think, that I will add new frontend "view" to the comments, that will show comments of different articles with links to that articles. That view may be used for multiple purposes (depending on filters applied to this view...):
- "latest comments"
- "comments by user"...
Admin may use this view to edit/delete comments (in addition to the existing view, where Admin now may edit/delete comments of current Article directly from frontend).
yvolk wrote:CoolAcid wrote:I just installed the com on my production system and it died with 'Layout "default" not found' -- hapends as soon as I turn on the plugin?
When I started to write yvComment a month ago I had to use some hacks into Joomla Controller Class, exactly for instructing Joomla, where to find "Layout" etc... But when, last week, I moved to the newest build of Joomla, it appeared, that these hacks a not necessary any more.
So, I think, that build of your "production system" is a bit old for my component to work.
I'll give it another go tonight when I get home.

CoolAcid wrote:I'd still like to see guests be able to comment - There should be some way to access a capta plugin or something. Just ask for a name on it as well.
. I'll try to use "CB Captcha plugin" (http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1802/Itemid,35/)...CoolAcid wrote:Altho, how would that effect using the content table?


yvolk wrote:CoolAcid wrote:Altho, how would that effect using the content table?
Some modules, that don't filter articles by section (all yvComments are in their own, user defined section), may show comments among "real" articles. For example, "Latest News" core plugin doesn't allow user to exclude some Sections

CoolAcid wrote:Yeah, thats what I was thinking - putting comments in it's own table might be a better way to go in the long run, then provide latest comments etc modules after the fact - all tho, you would need to have a manager... for the most part tho, you could use the code from com_content and duplicate it for yours.
- when comment (as an ordinal article) is shown by com_content.CoolAcid wrote:Something else I'd like to see is the ability to have comments on multiple sections.




Component install
* Copy failed
* JInstaller::install: Failed to copy file: /var/www/ipg.lan/joomla15/htdocs/tmp/install_46482f210e9f8/www/language/en-GB/en-GB.com_yvcomment.ini to /var/www/ipg.lan/joomla15/htdocs/language/en-GB/en-GB.com_yvcomment.ini
* Copy failed
* JInstaller::install: Failed to copy file: /var/www/ipg.lan/joomla15/htdocs/tmp/install_46482f210e9f8/www/administrator/language/en-GB/en-GB.com_yvcomment.ini to /var/www/ipg.lan/joomla15/htdocs/administrator/language/en-GB/en-GB.com_yvcomment.ini
Plugin install
* Copy failed
* JInstaller::install: Failed to copy file: /var/www/ipg.lan/joomla15/htdocs/tmp/install_46482f3b14353/www/administrator/language/en-GB/en-GB.plg_content_yvcomment.ini to /var/www/ipg.lan/joomla15/htdocs/administrator/language/en-GB/en-GB.plg_content_yvcomment.ini
Plugin uninstall
* Delete failed: 'en-GB.plg_content_yvcomment.ini'
* Delete failed: 'ru-RU.plg_content_yvcomment.ini'
Component uninstall
* Delete failed: 'en-GB.com_yvcomment.ini'
* Delete failed: 'ru-RU.com_yvcomment.ini'
* Delete failed: 'fa-IR.com_yvcomment.ini'
* Delete failed: 'en-GB.com_yvcomment.ini'
Message
* Uninstall component: Success
so I changed the setting to No.Database errors:
Error message: "Table 'joomla15.jos_yvcomment' doesn't exist SQL=INSERT INTO jos_yvcomment ( `title`,`alias`,`fulltext`,`state`,`sectionid`,`catid`,`created`,`created_by`,`checked_out`,`checked_out_time`,`version`,`parentid`,`ordering` ) VALUES ( 'Goed artikel','goed-artikel','Dus doet hij het?','1','5','33','2007-05-14 09:47:06','62','0','0','1','18','1' )"
SQL="INSERT INTO jos_yvcomment ( `title`,`alias`,`fulltext`,`state`,`sectionid`,`catid`,`created`,`created_by`,`checked_out`,`checked_out_time`,`version`,`parentid`,`ordering` ) VALUES ( 'Goed artikel','goed-artikel','Dus doet hij het?','1','5','33','2007-05-14 09:47:06','62','0','0','1','18','1' )"

Working:
<i>Test</i>
<b>Test</b>
<h2>Heading</h2>
Not working:
<hr>
<br>
So thats not a bad thing.

Nakebod wrote:To help you improve this: I had a small issue while installing it ...
and suggestions...



cosmicfantasia wrote:When I turn the plugin on I get 'yvComment task=; ArticleID=0; yvCommentID=0' on the page. It is @ the top of the page too, even though I selected 'Below Article box'.




CoolAcid wrote:I'm going to be working on a few system plugins - Capcha and A Bad word detector -- Once I release them you can hook into them to support your system too - I'm going to be working on those this weekend.
CoolAcid wrote:One other thing I'd like is the ability to select which sections I would like comments for - IE, not static content, but I do want them on my blogs.

CoolAcid wrote:One other thing I'd like is the ability to select which sections I would like comments for - IE, not static content, but I do want them on my blogs.

