Jun 29 2007
Adding Comments to GroupJive Print
Friday, 29 June 2007

Group JiveOk - time to walk the walk.


Yesterday, I praised GroupJive and said how important I though it was for the future of social networking with Joomla. I also mentioned that until this week, not enough people had been contributing.


Today, we'll show you had to add a useful feature to GroupJive - posting comments on all group messages.


This uses Jomcomment from Azrul.com.

Creating the Output

  • Open up components/com_groupjive/groupjive.html.php
  • Scroll down to      // create template output  (around line 276)
  • Look for  $tmpl->addVar( 'showfullmessage', 'GJ_POST', $d->post);
  • After this line add this:

    include_once("mambots/content/jom_comment_bot.php");

        $tmpl->addVar( 'showfullmessage', 'GJ_JOMCOMMENT', jomcomment($d->id, "com_groupjive") );   

Adding the Comments to Your Template

  • Open up components/com_groupjive/templates/your-template/groupjive.tmpl
  • Scroll down to the section saying <mos:tmpl name="showfullmessage">
  • After {GJ_POST} you need to add {GJ_JOMCOMMENT}. If neccesary, add a new table row.

Further Reading


Comments (6)Add Comment
absolute vs. relative path
written by Zorro, June 30, 2007
Hi Steve,

your include_once statement uses an absolute path that will probably not work for anybody else ... might be better to use a relative path starting with "mambots/...".

Kind regards,
Zorro
...
written by steve, June 30, 2007
Thanks for the heads up, Zorro. Thats whats known as a "Friday post" smilies/wink.gif
Version GJ??
written by Pavel, August 21, 2007
Hi!
I need this feature... but tell me pls what Version of GroupJive do you use???
this change doesn`t make any effect with my groups....
...
written by Tobias Bornakke, April 22, 2008
Hi.

Your integration does not seem to work with the newest edition of JomComment (2.2). Are imagning that it might only be a small change in location, but my knowledge of php is very limited. Do you have any suggestions?

Best regard
Tobias Bornakke
...
written by Tobias Bornakke, May 05, 2008
Found the solution:

http://www.groupjive.org/index.php?option=com_fireboard&Itemid=45&func=view&catid=48&id=4915#4915

Best regard
Tobias Bornakke
...
written by guido, May 11, 2008
now it would be nice if people could join the pledge for 1.5 native groupjive version! :-)
http://micropledge.com/projects/groupjive-joomla-1-5-native-update

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

busy
 
Joomla SEO Club and Book Logo
Search
Login
Blog Details

Creative Commons License All blog articles are licensed under a Creative Commons Attribution 3.0 United States License.
Top Comment Posters
Good Web Practices
(141 comments)
Brian Teeman
(105 comments)
Klaus
(83 comments)
türkçe sözlük
(52 comments)
Cory Webb
(49 comments)
Hummerbie
(42 comments)
Amy Stephen
(36 comments)
guido
(36 comments)
ILJ
(35 comments)
Yannick Gaultier
(33 comments)
Blog Categories
Accessibility
Affiliates
Alledia News
Analytics
Book Reviews
Business
Design
Domain Names
Domain Tips & Tricks
Drupal
E-Commerce
Extensions of the Month
General CMS Issues
Interviews
Joomla Affiliates
Joomla 1.5
Joomla Blogs
Joomla Hacks
Joomla Hosting
Joomla News
Joomla People
Joomla SEO eBook
Joomla SEO Rankings
Joomla Sites
Joomla South East
Joomla Templates
Joomla Tips & Tricks
Joomla URLs
Open Questions
PHP
Pay Per Click
Product Reviews
Rants
Scams
Recommended Sites
Search Engine Optimization
Security
SEO
SEO Club
SEO Competition
Site Reviews
Template Clubs
Yellow Pages
Virtuemart
Vlogs
Wordpress
right