SimplePortal

Customization => Custom Coding => Topic started by: sekhon on January 24, 2012, 04:21:37 PM

Title: Can we have Activity Stream
Post by: sekhon on January 24, 2012, 04:21:37 PM
Hi,

Can we have some php codes to show Activity Stream, which includes activities going on website?

Any Help ? Really appreciable.

Thanks in advance.
Title: Re: Can we have Activity Stream
Post by: sekhon on January 28, 2012, 03:31:56 PM
4 days no reply.... ;D
Title: Re: Can we have Activity Stream
Post by: andy on January 29, 2012, 01:29:41 AM
They are volunteers...  or perhaps 4 days without reply is actually a reply  ;D
For custom code I would wait a couple of weeks perhaps, and  include details about what details activity should include.


My personal opinion...
Imagine the garbage that would get in an activity stream ... every single update? Profiles, message edits etc etc. There would have to be so many settings for each action and then controlling how many repeat instances? Or just a long boring stream of uninteresting activity - if it isnt filtered in some way. Then permission?  Admin activity in there? Permissions for viewing certain other activity?

Nice idea but  posts are already done in recent posts and topics mods. That would leave message edits (im always reopening 5 times before done), profile edits, shoutbox? page views?
I think only profile changes would be useful. A lot of other mods like SMF gallery would unlikely be included either.
It was something I was interested in but the more I think about it the more it seems superfluous
Title: Re: Can we have Activity Stream
Post by: Chen Zhen on January 29, 2012, 08:19:57 PM
Hi,

Can we have some php codes to show Activity Stream, which includes activities going on website?

Any Help ? Really appreciable.

Thanks in advance.

SMF already has this presented as the Who's Online list from a link in the Info Center.
Title: Re: Can we have Activity Stream
Post by: Divecall on January 29, 2012, 09:07:55 PM
There is a commercial mod for this (a good one!):

http://www.smfpacks.com/stream

I have this on my site, and i dont want to miss this one of good coding skill!
Title: Re: Can we have Activity Stream
Post by: sekhon on January 30, 2012, 10:39:42 AM
I really appreciate the above guys for replying.  ;D

@ igirisjin - Activity stream should have some basic things, like if someone send comment to other, if someone give thanks to the post in forum, someone upload pic in profile.

@Underdog - Thats different, it tells us who is doing what.

@Divecall - Thanks for the link.
Title: Re: Can we have Activity Stream
Post by: Magnolia Outdoors on August 07, 2013, 07:07:05 PM
Honestly, I'd like to be able to be able to display SMF Packs' Activity Stream through simple portal as well so I can control where on a page it displays. I like how little vertical space AS takes up compared to Latest Posts or Topics. The types of activities logged are selectable and the entire thing is reminiscent of old chat rooms which has a great deal of appeal to some. Seeing who's logging in and out is not necessarily a bad thing in some communities. I'm just not crazy about it spanning the entire width of the browser.

If anyone ever sees a work around for this, please post it up!
Title: Re: Can we have Activity Stream
Post by: Old Fossil on August 07, 2013, 07:40:28 PM
Magnolia as the original topic is over a year old I would suggest you start a fresh topic with the necessary specs.

Failing that have you asked the author of the smf packs mod for help regarding this?
Title: Re: Can we have Activity Stream
Post by: Divecall on August 08, 2013, 05:00:55 AM
@Magnolia Outdoors:

If i remember well, there is a Block-solution from Nibogo (smfpacks.com) in the support-Board.

But...at first you need to purchase this mod, for to have access to the support-Board...
Title: Re: Can we have Activity Stream
Post by: Magnolia Outdoors on August 09, 2013, 04:27:03 PM
Thanks divecall & fossil. I was able to do it using some of the source html in a sp custom html block. I'll look through smf packs again when I get a change or ask nibogo in a ticket.
Title: Re: Can we have Activity Stream
Post by: [SiNaN] on August 14, 2013, 12:58:44 PM
Sounds like a cool idea. If there was a free mod with a similar functionality I may have coded a custom block for it. But it would be better idea to ask the developers of that paid mod to provide one for you.
Title: Re: Can we have Activity Stream
Post by: velorooms on October 04, 2013, 03:35:35 PM
Sounds like a cool idea. If there was a free mod with a similar functionality I may have coded a custom block for it. But it would be better idea to ask the developers of that paid mod to provide one for you.

the developer of the paid mod does. You just put
Code: [Select]
activity_stream('portal');In a php block.

I have it, ive heavily modified his css, but it works just fine.
Title: Re: Can we have Activity Stream
Post by: kal on February 27, 2014, 03:54:26 PM
Sounds like a cool idea. If there was a free mod with a similar functionality I may have coded a custom block for it. But it would be better idea to ask the developers of that paid mod to provide one for you.

the developer of the paid mod does. You just put
Code: [Select]
activity_stream('portal');In a php block.

I have it, ive heavily modified his css, but it works just fine.

I tried adding that code, and I get an "undefined function" error.
Title: Re: Can we have Activity Stream
Post by: AngelinaBelle on February 27, 2014, 04:24:43 PM
kal -- you have to make sure that the file containing the function is loaded.
So something like
Code: [Select]
require_once($sourcedir . 'filename.php');
Title: Re: Can we have Activity Stream
Post by: kal on February 28, 2014, 02:48:45 PM
I have to say, I was a bit stupid there.  :o It probably would have worked if I had the associated mod... :)
Title: Re: Can we have Activity Stream
Post by: AngelinaBelle on March 02, 2014, 05:55:33 PM
:)  yes.  you have to install the mod!
Welcome to SimplePortal!

sekhon -- has this worked for you?  How is your first SimplePortal site coming along?  Welcome to SimplePortal!
SimplePortal 2.3.8 © 2008-2024, SimplePortal