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: Integration with Group Jive
Pages: [1] 2   Go Down
  Print  
Author Topic: Integration with Group Jive  (Read 18164 times)
0 Members and 1 Guest are viewing this topic.
jillmandy
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« on: January 02, 2009, 06:44:48 »

I would like to see Jcomments intergrated with groupjive. 
Logged
giuse
Newbie
*

Karma: 0
Offline Offline

Posts: 5


« Reply #1 on: January 02, 2009, 16:50:53 »

I second that.
Cheers

Giuse
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #2 on: January 04, 2009, 19:44:54 »

1. Open file /components/com_groupjive/groupjive.html.php
2. Find line:

Code: (php)
$tmpl->displayParsedTemplate( 'showfullmessage' );

add after this line following code:

Code: (php)
               global $mainframe;
               $comments = $mainframe->getCfg('absolute_path') . '/components/com_jcomments/jcomments.php';
               if (file_exists($comments)) {
                 require_once($comments);
                 echo JComments::showComments($d->id, 'com_groupjive', $d->subject);
               }

That's all Smiley This integration available in russian but I'm forgot to translate it to english Sad
Logged

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

Karma: 0
Offline Offline

Posts: 8


« Reply #3 on: January 07, 2009, 17:22:42 »

I don't seem to have the line you want me to find.  I'm using GroupJive Pre -RC Testing Version (as this was the only groupjive I could find anymore)
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #4 on: January 07, 2009, 21:17:40 »

Ok, I'm make integration for older version. With GroupJive Pre -RC we need make it so:

1. Open file: /components/com_groupjive/groupjive.html.php
2. Find line:

Code: (php)
$_GJ_TEMPLATES->addContent($tmpl->getParsedTemplate( 'showfullmessage' ), 'center');

3. Add after it code:

Code: (php)
global $mainframe;
$comments = $mainframe->getCfg('absolute_path') . '/components/com_jcomments/jcomments.php';
if (file_exists($comments)) {
  require_once($comments);
  $comments = JComments::showComments($d->id, 'com_groupjive', $d->subject);
  $_GJ_TEMPLATES->addContent($comments, 'center');
}

I think it will work Smiley
Logged

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

Karma: 0
Offline Offline

Posts: 8


« Reply #5 on: January 07, 2009, 22:27:10 »

YES!!!!!! It worked, that just made my day Cool
Logged
jillmandy
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« Reply #6 on: January 18, 2009, 04:42:15 »

Since I upgraded to Joomla 1.5.8 and had to re-install everything, this no longer works...Sad
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #7 on: January 18, 2009, 16:32:32 »

I think you forgot make some changes or make some mistake then add integration code. I'm check now this code on J1.5.9 and GroupJive Pre -RC and all works fine.
Logged

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

Karma: 0
Offline Offline

Posts: 8


« Reply #8 on: January 18, 2009, 18:59:59 »

I'll have to investigate because I never changed anything form the original settings.  I just uploaded the files as I did before....Sad
Logged
jillmandy
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« Reply #9 on: January 27, 2009, 16:52:12 »

it gives me this error on the front end when I do this....

Parse error: syntax error, unexpected T_GLOBAL, expecting T_FUNCTION in /home/uruz5961/public_html/components/com_groupjive/groupjive.html.php on line 353

Any help would be greatly appreciated.
Logged
svarmuza
Guest
« Reply #10 on: February 06, 2009, 03:39:13 »

Hello,
I managed to implement Joomcomment to the groupjive when someone clicks group bulletin, but i would like to implement Joomcomment to the group's main page (so people can comment group, not bulletin).
Is this somehow possible.
Thanks,
Sasa
Logged
and2y
Newbie
*

Karma: 0
Offline Offline

Posts: 4


Email
« Reply #11 on: March 23, 2009, 20:20:57 »

Ok, I'm make integration for older version. With GroupJive Pre -RC we need make it so:

1. Open file: /components/com_groupjive/groupjive.html.php
2. Find line:

Code: (php)
$_GJ_TEMPLATES->addContent($tmpl->getParsedTemplate( 'showfullmessage' ), 'center');

3. Add after it code:

Code: (php)
global $mainframe;
$comments = $mainframe->getCfg('absolute_path') . '/components/com_jcomments/jcomments.php';
if (file_exists($comments)) {
  require_once($comments);
  $comments = JComments::showComments($d->id, 'com_groupjive', $d->subject);
  $_GJ_TEMPLATES->addContent($comments, 'center');
}

I think it will work Smiley

hi
it doesnt work ... there´s always a syntax error

PLS HELP MEEEEE!!!!
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #12 on: March 23, 2009, 22:36:40 »

it doesnt work ... there´s always a syntax error
can you show me this error text, please?
Logged

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

Karma: 0
Offline Offline

Posts: 4


Email
« Reply #13 on: March 23, 2009, 23:15:17 »

hi

my errorcode:

Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /home/.sites/552/site756/web/components/com_groupjive/groupjive.html.php on line 1576

i added it like this:

      $tmpl->addObject( 'showfullmessage', $d);

      $tmpl->addVar( 'showfullmessage', 'GJ_IS_OWNER', ($_CB_framework->myId() ==$d->author_id||$admin||ismoder($d->group_id, $_CB_framework->myId()))?"yes":"no");

      $tmpl->addVar( 'showfullmessage', 'ITEMID', $Itemid);

      $_GJ_TEMPLATES->addContent($tmpl->getParsedTemplate( 'showfullmessage' ), 'center');
      
      global $mainframe;$comments = $mainframe->getCfg('absolute_path') . '/components/com_jcomments/jcomments.php';if (file_exists($comments)) {  require_once($comments);  $comments = JComments::showComments($d->id, 'com_groupjive', $d->subject);  $_GJ_TEMPLATES->addContent($comments, 'center');}

thanks 4 your help

andyy



Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #14 on: March 23, 2009, 23:45:23 »

Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /home/.sites/552/site756/web/components/com_groupjive/groupjive.html.php on line 1576
and what text is placed at line 1576 in this file? can you specify this line?
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1] 2   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: Integration with Group Jive
 
Jump to: