Author Topic: VirtueMart integration with JComments - the comments component  (Read 67172 times)

Sulpher

  • Beginner
  • *
  • Posts: 22
    • cre:active design lab
VirtueMart integration with JComments - the comments component
« on: October 22, 2008, 09:12:13 am »
Hello everyone!

I'd like to introduce JComments comments component and its integration with VirtueMart that allow to enhance standart comments system of the cart.

Here is the short announce:

JComments 2.0.0



We are glad to introduce new version of JComments — comments component for Joomla! New version is fully compatible with Joomla 1.5, Joomla 1.0 and Joostina (Russian modification of Joomla 1.0.15) Added a lot of new functions, the global modification was undertaken and errors coming from previous versions have fixed.

What is JComments?

The JComments component allow site visitors to comment different articles and other published content within the website. The component has a flexible access settings system to component functions, a lot of display adjustments, template support, Ajax technology usage and a lot of other stuff.

What's new in JComments 2.0?

  • Joomla 1.0, Joomla 1.5 and Joostina compatibility;
  • New template system (more fast and efficient in comparison with patTemplates);
  • Reply on comment function and displaying of comments list as tree-type style;
  • Comments rating function (users can vote for comments);
  • JoomFish 1.8.2 and JoomFish 2.0 compatibility with possibility to adjust the component separately for each of languages;
  • JavaScript compression of component files (optional);
  • Tags support of 3rd party comments components. For example: {jomcomment},{mxc},{mxc::closed},{easycomments};
  • Capability to disable comments links display on frontpage;
  • Language files format have changed. Now all language constants keeps in ini-files (as in Joomla! 1.5);
  • Added export of comments from next components: AkoBook, Chrono Comments, JXtended Comments, Reviews for SOBI2, J! Reactions, VirtueMart, Ice Gallery, JoomGallery;
  • Added integration support with next components: Bookmarks, Garys Cookbook, GroupJive, EventList, Ice Gallery, JDownloads, JoomGallery, KBase, RSGallery2 (Joomla 1.5 support), QuickFAQ, Yellowpages;
  • Code of the component got serious optimization, unused functions and variables were removed, added code documentation. As result of optimization: the component now working more quickly.

More about JComments changes and new features: JComments 2.0.0 Release Notes.

Download page
Live Demo

Instruction: how to integrate JComments into VirtueMart.

cre:active lab - web-design with Joomla!
joomla tune (language team)

korb

  • Quality&Testing Team
  • Full Member
  • *
  • Posts: 685
  • VM 2.0 in heavy testing
    • Buy my work
Re: VirtueMart integration with JComments - the comments component
« Reply #1 on: November 14, 2008, 02:39:02 am »
Excelent, Joomla Comment developers!!

thank you

picharras

  • Beginner
  • *
  • Posts: 1
Re: VirtueMart integration with JComments - the comments component
« Reply #2 on: January 04, 2009, 01:44:10 am »
Greetings.

Sorry for my bad English, but only speak Spanish

I can help integrate JComment and Virtuemart 1.1.2 in Joomla 1.5.8, the above I am not working. Thank you

Sulpher

  • Beginner
  • *
  • Posts: 22
    • cre:active design lab
Re: VirtueMart integration with JComments - the comments component
« Reply #3 on: January 04, 2009, 08:44:28 am »
You're welcome, colleagues! ;)

picharras, here is the solution how to integrate JComments with VirtueMart 1.1.2:
http://www.joomlatune.com/forum/index.php/topic,150.0.html
cre:active lab - web-design with Joomla!
joomla tune (language team)

bulesz

  • Jr. Member
  • **
  • Posts: 194
Re: VirtueMart integration with JComments - the comments component
« Reply #4 on: January 19, 2009, 16:21:02 pm »
I am very courious about it...:)

korb

  • Quality&Testing Team
  • Full Member
  • *
  • Posts: 685
  • VM 2.0 in heavy testing
    • Buy my work
Re: VirtueMart integration with JComments - the comments component
« Reply #5 on: January 24, 2009, 23:10:54 pm »
Works very nice, and I admit this is very much better than JomComment.

But as well as JomComment, it desables the product rating... we need a rating here for VM, maybe a rating extravote like to be able to vote different/multiple characteristics of a product: design, functionality, price...


Akymos

  • Beginner
  • *
  • Posts: 3
Re: VirtueMart integration with JComments - the comments component
« Reply #6 on: July 19, 2009, 13:46:25 pm »
Excuse me, may I ask you a question connected with ExtraVote. I want  a tag {extravote <digit>}to work in a description of goods. how to do it?

PS: Option "Using plagins" in VirtueMart is on. Other plagins are working

korb

  • Quality&Testing Team
  • Full Member
  • *
  • Posts: 685
  • VM 2.0 in heavy testing
    • Buy my work
Re: VirtueMart integration with JComments - the comments component
« Reply #7 on: July 22, 2009, 14:47:31 pm »
Hi Akimos,

Not all Joomla plugins work with VM, and Extravote also does not work.

I remember I had a look at the code in Extravote plugin, but the code there only supports Joomla articles...

Further more, I asked a friend to have a look at this extravote plugin and try to make it work for VM.

See ya,

Danny

Akymos

  • Beginner
  • *
  • Posts: 3
Re: VirtueMart integration with JComments - the comments component
« Reply #8 on: July 26, 2009, 10:28:23 am »
I think it is necessary to correct this part of a code:

Code: [Select]
function onPrepareContent( &$article, &$params )
....
$regex = "#{extravote\s*([0-9]+)}#s";
if ( $extra == 2 && JRequest::getCmd('view') != 'article')
{
   $article->text = preg_replace( $regex, '', $article->text );
} else {
       $this->article_id = $article->id;
       $article->text = preg_replace_callback( $regex, array($this,'plgContentExtraVoteReplacer'), $article->text );
                            }

How to get product id ?
And what variable for the text of the description of the goods?

korb

  • Quality&Testing Team
  • Full Member
  • *
  • Posts: 685
  • VM 2.0 in heavy testing
    • Buy my work
Re: VirtueMart integration with JComments - the comments component
« Reply #9 on: July 27, 2009, 16:01:08 pm »
Akimos, see the product details templates located in
root/components/com_virtuemart/themes/default/templates/product_details

What should this code do? Where should this code go: VM plugin support or extravote plugin?

As I said, I already talked to extravote developer and he said he cannot make it work for VM products.

Good day,
Danny

grifith

  • Beginner
  • *
  • Posts: 2
Re: VirtueMart integration with JComments - the comments component
« Reply #10 on: December 21, 2009, 22:41:15 pm »
Any hope, that cute rating stars will come back to product browse page vith Jcomments installed and enabled? There is small code interference to integrate Jcomments in Virtuemart, suggested by Jcomments developpers. Is it possible to adjust this code - in order to not to kill stars? Or,maybe one small independent component/plugin for VM?

Brienly09

  • Beginner
  • *
  • Posts: 8
    • of russian wifes
VirtueMart integration with JComments the comments component
« Reply #11 on: December 23, 2009, 10:16:10 am »
For instance - what is the difference between a component called with
/component/   and one called with  /mos/ contact and frontpage as far as I can tell?

Intel386

  • Beginner
  • *
  • Posts: 3
Re: VirtueMart integration with JComments - the comments component
« Reply #12 on: May 06, 2010, 03:57:03 am »
Hello everyone!

I'd like to introduce JComments comments component and its integration with VirtueMart that allow to enhance standart comments system of the cart.

Here is the short announce:

JComments 2.0.0



We are glad to introduce new version of JComments — comments component for Joomla! New version is fully compatible with Joomla 1.5, Joomla 1.0 and Joostina (Russian modification of Joomla 1.0.15) Added a lot of new functions, the global modification was undertaken and errors coming from previous versions have fixed.

What is JComments?

The JComments component allow site visitors to comment different articles and other published content within the website. The component has a flexible access settings system to component functions, a lot of display adjustments, template support, Ajax technology usage and a lot of other stuff.

What's new in JComments 2.0?

  • Joomla 1.0, Joomla 1.5 and Joostina compatibility;
  • New template system (more fast and efficient in comparison with patTemplates);
  • Reply on comment function and displaying of comments list as tree-type style;
  • Comments rating function (users can vote for comments);
  • JoomFish 1.8.2 and JoomFish 2.0 compatibility with possibility to adjust the component separately for each of languages;
  • JavaScript compression of component files (optional);
  • Tags support of 3rd party comments components. For example: {jomcomment},{mxc},{mxc::closed},{easycomments};
  • Capability to disable comments links display on frontpage;
  • Language files format have changed. Now all language constants keeps in ini-files (as in Joomla! 1.5);
  • Added export of comments from next components: AkoBook, Chrono Comments, JXtended Comments, Reviews for SOBI2, J! Reactions, VirtueMart, Ice Gallery, JoomGallery;
  • Added integration support with next components: Bookmarks, Garys Cookbook, GroupJive, EventList, Ice Gallery, JDownloads, JoomGallery, KBase, RSGallery2 (Joomla 1.5 support), QuickFAQ, Yellowpages;
  • Code of the component got serious optimization, unused functions and variables were removed, added code documentation. As result of optimization: the component now working more quickly.

More about JComments changes and new features: JComments 2.0.0 Release Notes.

Download page
Live Demo

Instruction: how to integrate JComments into VirtueMart.



thanks for advance future !
i sorry aboat my english. i speak vietnamese !
i want to ask, how to enable rating funtion when intergated jcomment yet

thank you very much

ares

  • Beginner
  • *
  • Posts: 13
Re: VirtueMart integration with JComments - the comments component
« Reply #13 on: January 30, 2012, 23:50:09 pm »
When I update virtuemart 1.1.2 to 1.1.9 I lose jomcomment from virtuemart products and can't get back ... I use the same tutorial that I use before:
File to edit: "/administrator/components/com_virtuemart/html/shop.product_details.php"
Add the following lines, at line 357

require_once( JPATH_PLUGINS . DS . 'content' . DS . 'jom_comment_bot.php' );
$product_reviews = jomcomment($product_id, "com_virtuemart");

But jom comment just don't work any more with virtuemart. Too bad ...

mbit

  • Jr. Member
  • **
  • Posts: 323
Re: VirtueMart integration with JComments - the comments component
« Reply #14 on: July 11, 2012, 13:02:13 pm »
So far there is no hack to implement jcomments & a rating system in vm? :/