Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: JComment + JomSocial
Pages: [1] 2   Go Down
  Print  
Author Topic: JComment + JomSocial  (Read 18438 times)
0 Members and 1 Guest are viewing this topic.
almamun
Newbie
*

Karma: 0
Offline Offline

Gender: Male
Posts: 15


mamundnj
WWW Email
« on: July 24, 2009, 11:08:43 »

Recently I mooved from CB to Jomsocial. But I'm missing JComment.

Could you pls tell me how to integrate these extensions?
Logged

Dinajpur, Banglajogot, Rangpur, JoomlaBangla.com- Joomla Bangla support site.
M.C.
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« Reply #1 on: October 25, 2009, 23:32:17 »

I strongly support that request! Cheesy
Logged
dezblanco
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #2 on: October 26, 2009, 04:17:09 »

Yeah...ME TOO!
Logged
k9disc
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« Reply #3 on: October 28, 2009, 20:24:15 »

This goes near the top:
Code:
//jomsocial activity stream include
$JSinstallchk = JPATH_BASE . DS . 'components' . DS . 'com_community' . DS . 'libraries' . DS . 'core.php';
if ( file_exists($JSinstallchk)) {
require_once($JSinstallchk);
}
//

Here's the Jomcomment DB Store function:
Code:
# store the new comment into database
      if ($status == JC_STATUS_OK) {
         $data->store();
}

I believe the corresponding jcomments is in jcomment.ajax.php line 389:
Code:
// save new comment to database
$comment->store();

You are supposed to replace the JomComment DB store function with this:
Code:
# store the new comment into database
      if ($status == JC_STATUS_OK) {
         $data->store();
         
         // JomSocial Rule - give points for new comment
         $JomSocialCheck = JPATH_BASE . DS . 'components' . DS . 'com_community' . DS . 'libraries' . DS . 'userpoints.php';
         if ( file_exists($JomSocialCheck)) {
         include_once( JPATH_BASE . DS . 'components' . DS . 'com_community' . DS . 'libraries' . DS . 'userpoints.php');
         CuserPoints::assignPoint('com_jomcomment.comment.new');
         }
         // End JomSocial Rule

//activity stream  - added a comment
     
$contentTitle = jcContentTitle($data->contentid);
     
$act = new stdClass();
$act->cmd    = 'wall.write';
$act->actor    = $this->cms->user->id;
$act->target    = 0; // no target
$act->title    = JText::_('{actor} posted a comment regarding <a href="'.$data->referer.'">'.$contentTitle.'</a>');
$act->content    = '';
$act->app    = 'wall';
$act->cid    = 0;
       
CFactory::load('libraries', 'activities');
CActivityStream::add($act);
//
}

But... can't get it to work.
Here's the thread on JS: http://www.jomsocial.com/forum/index.php?f=20&t=3995&hilit=jomcomment+activity&rb_v=viewtopic
Logged
almamun
Newbie
*

Karma: 0
Offline Offline

Gender: Male
Posts: 15


mamundnj
WWW Email
« Reply #4 on: November 03, 2009, 16:55:10 »

I'm dying for this integration  Huh  Huh
Logged

Dinajpur, Banglajogot, Rangpur, JoomlaBangla.com- Joomla Bangla support site.
smart
Administrator
Hero Member
*****

Karma: 146
Offline Offline

Gender: Male
Posts: 2579



WWW
« Reply #5 on: November 03, 2009, 18:01:34 »

its very strange solution - make modifications in code instead using plugins... if you need fill activity list you can take plugin for JComments what fill this data (in attach).

* plg_jcomments_js_jomsoc_1.2.zip (2 KB - downloaded 1897 times.)
* jomsocial_rule.zip (0.38 KB - downloaded 1570 times.)
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
xanthos
Newbie
*

Karma: 0
Offline Offline

Posts: 5


« Reply #6 on: November 26, 2009, 01:52:12 »

any posibility to integrate jomsocial avatar's into the jcomment's ?

Logged
Terp
Newbie
*

Karma: 0
Offline Offline

Posts: 7


« Reply #7 on: November 26, 2009, 02:32:33 »

any posibility to integrate jomsocial avatar's into the jcomment's ?



http://www.joomlatune.com/jcomments-downloads.html

Logged
xanthos
Newbie
*

Karma: 0
Offline Offline

Posts: 5


« Reply #8 on: November 26, 2009, 03:00:29 »

oh,.. if you download the plugin, there is something inside...

but on the website there is no info about it!
« Last Edit: November 26, 2009, 03:02:55 by xanthos » Logged
almamun
Newbie
*

Karma: 0
Offline Offline

Gender: Male
Posts: 15


mamundnj
WWW Email
« Reply #9 on: November 26, 2009, 03:02:30 »

But JComment has a plugin for showing JS avatar in comment
Logged

Dinajpur, Banglajogot, Rangpur, JoomlaBangla.com- Joomla Bangla support site.
smart
Administrator
Hero Member
*****

Karma: 146
Offline Offline

Gender: Male
Posts: 2579



WWW
« Reply #10 on: November 26, 2009, 03:11:18 »

but on the website there is no info about it!
ok, I'll update info on site...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
xanthos
Newbie
*

Karma: 0
Offline Offline

Posts: 5


« Reply #11 on: November 26, 2009, 03:15:12 »

but on the website there is no info about it!
ok, I'll update info on site...

Thanks Smiley

Integrated Avatars successfully!

But now i have some problems with the activity stream  Angry made a new thread about that, but maybe you can help!
would appreciate that!
Logged
Terp
Newbie
*

Karma: 0
Offline Offline

Posts: 7


« Reply #12 on: November 26, 2009, 04:31:01 »

Yea, I was having problems getting it to parse the link, but assumed it was due to using an older version of JS...will look into this one tonight, as that's next on my list...wasted a day on a nasty k2 issue, so behind in my jComment styling/setup. Wink

Logged
Ryan
Newbie
*

Karma: 0
Offline Offline

Posts: 1


Email
« Reply #13 on: February 16, 2010, 02:18:26 »

its very strange solution - make modifications in code instead using plugins... if you need fill activity list you can take plugin for JComments what fill this data (in attach).

Smart, thank you for posting up these plugins, they work great!  Is it possible to extend this functionality one step further so that comment "likes" are included in the Karma point system? 

So for example, if a person "likes" a registered users comment and they click the thumb-up button, then that would increase the commentors karma rating by one point? 

And if the person that "likes" the comment is a registered user and logged in, then that would show up as an item on his/her activity stream?

Thanks in Advance!
Logged
avdstelt
Newbie
*

Karma: 0
Offline Offline

Posts: 2


Email
« Reply #14 on: March 05, 2010, 15:53:43 »

Installed the plg_jcomments_js_jomsoc_1.2 plugin and the rule, but it didn't work for me using JomSocial 1.6.287 any idea why?

Greetings Arjan
Logged
Pages: [1] 2   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: JComment + JomSocial
 
Jump to: