almamun
Newbie
Karma: 0
Offline
Gender: 
Posts: 15
|
 |
« 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
|
|
|
|
M.C.
Newbie
Karma: 0
Offline
Posts: 2
|
 |
« Reply #1 on: October 25, 2009, 23:32:17 » |
|
I strongly support that request! 
|
|
|
|
|
Logged
|
|
|
|
dezblanco
Newbie
Karma: 0
Offline
Posts: 3
|
 |
« Reply #2 on: October 26, 2009, 04:17:09 » |
|
Yeah...ME TOO!
|
|
|
|
|
Logged
|
|
|
|
k9disc
Newbie
Karma: 0
Offline
Posts: 2
|
 |
« Reply #3 on: October 28, 2009, 20:24:15 » |
|
This goes near the top: //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: # 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: // save new comment to database $comment->store(); You are supposed to replace the JomComment DB store function with this: # 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
|
|
|
|
|
|
|
smart
|
 |
« 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).
|
|
|
|
Logged
|
|
|
|
xanthos
Newbie
Karma: 0
Offline
Posts: 5
|
 |
« Reply #6 on: November 26, 2009, 01:52:12 » |
|
any posibility to integrate jomsocial avatar's into the jcomment's ?
|
|
|
|
|
Logged
|
|
|
|
|
|
xanthos
Newbie
Karma: 0
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
Gender: 
Posts: 15
|
 |
« Reply #9 on: November 26, 2009, 03:02:30 » |
|
But JComment has a plugin for showing JS avatar in comment
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« 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
|
|
|
|
xanthos
Newbie
Karma: 0
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  Integrated Avatars successfully! But now i have some problems with the activity stream  made a new thread about that, but maybe you can help! would appreciate that!
|
|
|
|
|
Logged
|
|
|
|
Terp
Newbie
Karma: 0
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. 
|
|
|
|
|
Logged
|
|
|
|
Ryan
Newbie
Karma: 0
Offline
Posts: 1
|
 |
« 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
Posts: 2
|
 |
« 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
|
|
|
|
|