×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Display comments in JomSocial 2.2.4 Activity Stream

Display comments in JomSocial 2.2.4 Activity Stream 13 years 4 months ago #13384

  • Thomas Fredriksen
  • Thomas Fredriksen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
How can I get Compojoom to add activity in JomSocials Activity Stream when a comment is added?

I use JomSocial 2.2.4 and Joomla 1.7 (and of course the latest version of Compojoom)

Display comments in JomSocial 2.2.4 Activity Stream 13 years 4 months ago #13393

  • Thomas Fredriksen
  • Thomas Fredriksen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
I've tried the JomSocial features plugin, but that does not add anything to the Activity Stream (plugin is activated)...

Display comments in JomSocial 2.2.4 Activity Stream 13 years 4 months ago #13394

  • Thomas Fredriksen
  • Thomas Fredriksen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
I've looked at the code, and I see that the plugin checks two user parameters before adding activity and/or points...

I've found nowhere to enable those parameters, the plugin configuration page displays no other parameters than the default Joomla access level and publish status parameters...

The point rules however are detected in JomSocial rules manager

Display comments in JomSocial 2.2.4 Activity Stream 13 years 4 months ago #13395

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Are you on joomla 1.7? I haven't tested the plugin with it and it needs to be updated (coming...) But it should work on 1.5
Daniel

Display comments in JomSocial 2.2.4 Activity Stream 13 years 4 months ago #13397

  • Thomas Fredriksen
  • Thomas Fredriksen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Yes I use Joomla 1.7.

Just upgraded from 1.5 and almost none of my old components/plugins had new versions who supported 1.6/7, that's why I switched from JComments to CompojoomComments - the import process was painless - a huge thank you for that!

I've translated the front-end to Norwegian, if you want I can send you the translation file.
The only thing missing now is an updated version of this plugin :)

Display comments in JomSocial 2.2.4 Activity Stream 13 years 4 months ago #13398

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I'll do my best to provide you with updated version by the end of the week and then I'll ask you to make a review at extensions.joomla.org :)

Display comments in JomSocial 2.2.4 Activity Stream 13 years 4 months ago #13407

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
So, as I promised the Jomsocial plugin is updated and published to the download section:
compojoom.com/downloads/downloads/compoj...comment-v108zip/view

I will be really happy if you could write a small review of the component here:
extensions.joomla.org/extensions/contact...icles-comments/12259

Thanks in advance,
Daniel

Display comments in JomSocial 2.2.4 Activity Stream 13 years 4 months ago #13409

  • Thomas Fredriksen
  • Thomas Fredriksen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Just want to confirm that the new version works like a charm!

THANK YOU! This was really quick and it works just as I want!:D

I will definitely leave a very nice review very soon!

Re: Display comments in JomSocial 2.2.4 Activity Stream 12 years 8 months ago #15824

  • Martin Roeder
  • Martin Roeder's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 46
  • Thank you received: 0
Hello, i think my question fits here.

How can i limit the shown characters in the activity stream?
Actually compojoom does not limit it. I see not settings for this.
I have set the maximum to 1,000 characters and 1,000 characters are also shown on the activity stream.

It would be great to limit this.

If this is not possible then how can i disable it completely that comments are shown on the stream?

Thanks for any answers in advance!
Regards,
Martin

Re: Display comments in JomSocial 2.2.4 Activity Stream 12 years 8 months ago #15826

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
there is no option for this you will have to edit the code in the plugin to do it.
plugins/compojoomcomment/jomsocial/jomsocial.php
line 126
$content = $this->parseUBBCode(stripslashes($data->_tcomment), $data);

to
$content = $this->parseUBBCode(stripslashes(mb_substr($data->_tcomment,0, 1000)), $data);

where 1000 is the char limit you want to impose.
Note: this will work only for new comments and not for the already stored in the db.

Kind regards,
Daniel
The following user(s) said Thank You: Martin Roeder

Re: Display comments in JomSocial 2.2.4 Activity Stream 12 years 8 months ago #15833

  • Martin Roeder
  • Martin Roeder's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 46
  • Thank you received: 0
Thank you very much Daniel for the quick and helpful reply.

It worked. :)

Have a great day!
M.
  • Page:
  • 1
Time to create page: 0.165 seconds