Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 31)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

CB Activity not showing blog updates on the timeline

9 years 8 months ago - 9 years 8 months ago #261856 by delhi-expat
Hi,

I'm using the latest version of CB Activity (2.4.3) as well as Community Builder 2.0.7. I'm using CB Blogs for the "blogs" feature on my site, and am using "K2" as the model i.e. the blogs are pulled from and posted to K2. I've enabled logging of new blog entries under the "CB Blogs" section. However,

Strangely enough, the activity does get logged under the "activity" tab in the admin panel - but it does not show on the external site timeline. It works fine for the groups/wall/forums though (using Kunena 3.0.7 for my forums), so it seems there is a setting somewhere that I may have missed and would be most appreciative of any help in this regard i.e. if I've erred in configuring this.

Thanks!
Last edit: 9 years 8 months ago by delhi-expat.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 8 months ago #261865 by nant

delhi-expat wrote: Hi,

I'm using the latest version of CB Activity (2.4.3) as well as Community Builder 2.0.7. I'm using CB Blogs for the "blogs" feature on my site, and am using "K2" as the model i.e. the blogs are pulled from and posted to K2. I've enabled logging of new blog entries under the "CB Blogs" section. However,

Strangely enough, the activity does get logged under the "activity" tab in the admin panel - but it does not show on the external site timeline. It works fine for the groups/wall/forums though (using Kunena 3.0.7 for my forums), so it seems there is a setting somewhere that I may have missed and would be most appreciative of any help in this regard i.e. if I've erred in configuring this.

Thanks!


CB Activity is currently being rewritten for CB 2.0 compatibility (check forums for many progress reports given by Kyle) - once released (later this month) such issues should be resolved.

Please Log in or Create an account to join the conversation.

9 years 8 months ago - 9 years 8 months ago #261867 by delhi-expat

nant wrote:

delhi-expat wrote: Hi,

I'm using the latest version of CB Activity (2.4.3) as well as Community Builder 2.0.7. I'm using CB Blogs for the "blogs" feature on my site, and am using "K2" as the model i.e. the blogs are pulled from and posted to K2. I've enabled logging of new blog entries under the "CB Blogs" section. However,

Strangely enough, the activity does get logged under the "activity" tab in the admin panel - but it does not show on the external site timeline. It works fine for the groups/wall/forums though (using Kunena 3.0.7 for my forums), so it seems there is a setting somewhere that I may have missed and would be most appreciative of any help in this regard i.e. if I've erred in configuring this.

Thanks!


CB Activity is currently being rewritten for CB 2.0 compatibility (check forums for many progress reports given by Kyle) - once released (later this month) such issues should be resolved.


Hi,

Thanks for getting back to me. I was under the impression that CB Activity had already been upgraded (per one of the emails I got from Joomlapolis), as with that upgrade a lot of the things that were not working previously work fine now. But, if there is another release planned later this month then all good - - thanks for letting me know.

Edit - OK, I think I confused the upgrade you are referring to with the Community Builder upgrade itself. . .will wait for the CB Activity upgrade in that case.
Last edit: 9 years 8 months ago by delhi-expat.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
9 years 8 months ago #261881 by krileon
CB Activity got a minor bug fix release to be a little more compatible with CB 2.x, but it still has some issues. I'm currently in the middle of completely rewriting CB Activity. The rewrite is bringing some much needed features like being able to post on your stream like you can on other social sites, etc..


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: delhi-expat

Please Log in or Create an account to join the conversation.

9 years 8 months ago - 9 years 8 months ago #261908 by delhi-expat

krileon wrote: CB Activity got a minor bug fix release to be a little more compatible with CB 2.x, but it still has some issues. I'm currently in the middle of completely rewriting CB Activity. The rewrite is bringing some much needed features like being able to post on your stream like you can on other social sites, etc..


Hi Kyle

Thanks so much for the response. Yes, posting on one's stream is definitely required - I was actually going to ask about that as well. Look forward to the rewrite!
Last edit: 9 years 8 months ago by delhi-expat.

Please Log in or Create an account to join the conversation.

  • 900010000
  • 900010000
  • OFFLINE
  • Posts: 28
  • Thanks: 2
  • Karma: 0
9 years 8 months ago #261964 by 900010000
Great, I'm glad to here that there is work going on to fix the issues. Any idea when it should be ready? I'm eagerly waiting. :)

I did come up with a work around to get blogs updating, with plugin.cbactivity.php (**I did add a language constant here for new blogs):

public function cbblogs_onAfterCreateBlog( $row, $user, $plugin) {

// original public function cbblogs_onAfterCreateBlog( $row, $article, $user, $plugin ) {
global $_CB_framework, $_CB_database;

$myId = $_CB_framework->myId();

if ( $myId ) {
$userId = $user->get( 'id' );


if ( $this->params->get( 'activity_cbblogs_create', 1 ) ) {
$activity = new cbactivityActivity( $_CB_database );


// $activity->set( 'user_id', (int) $user->get( 'id' ) );

$activity->set( 'user_id', (int) $myId );

// original $activity->set( 'user_id', (int) $row->get( 'id' ) );
// $activity->set( 'user_id', $userId );
$activity->set( 'type', 'blogs' );
$activity->set( 'subtype', 'blog' );

// $activity->set( 'item', (int) $article-> get('id') );
$activity->set( 'item', (int) $row->get( 'id' ) );

// original $activity->set( 'item', (int) $article->id );
$activity->set( 'title', CBTxt::T( 'POSTED_BLOG_ENTRY' ) );
$activity->set( 'icon', 'comment' );
$activity->set( 'date', $_CB_framework->getUTCDate() );

$activity->store();
}
}
}

Now the blog posts are showing.

I look forward to the new release.

Warmly,
Joseph

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum