Closed (fixed)
Project:
Activity
Version:
5.x-4.x-dev
Component:
Activity Contrib
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2008 at 21:57 UTC
Updated:
5 Nov 2009 at 17:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jody lynnComment #2
jody lynnI added block configuration to this block as well.
Comment #3
Christefano-oldaccount commentedOooh this looks nice. I'll definitely test this the next chance I get.
Comment #4
jonas28 commentedHey Lynn,
after installing your module, i get the following error when i try to join a group:
user warning: Unknown column 'a.tokens' in 'field list' query: SELECT DISTINCT(a.aid), a.tokens, a.uid, a.module, a.timestamp, a.type, a.action, a.scope FROM activity a INNER JOIN og_uid o ON o.uid = 3 INNER JOIN og_uid o2 ON o2.nid = o.nid WHERE o2.uid = a.uid ORDER BY a.timestamp DESC LIMIT 0, 5 in /home/jonas28/mms/includes/database.mysql.inc on line 172.When i look into the table `activity` via phpMyAdmin i don´t see tokens, too.
there are only the following columns:
aid, module, type, operation, created, data
greeting from hamburg, germany
jonas
Comment #5
jody lynnThis module was written for the 5-2 branch of activity and will not work for the new 5-3 branch since the module has changed a lot. (I see it originally says it was for 5.x-3.x-dev, but during that dev period many changes to activity were occuring.)
Also since using this ogactivity on a live site with many groups I've come to not be happy with the performance of the complex queries I wrote in it. Ultimately I think if this was reworked that we would want to be storing gid (organic group id) in the activity table directly when group-related activity occurs.
I can't recommend anyone uses ogactivity at this point.
Comment #6
jonas28 commentedAfter the Complete rewrite of the Activity Module (5.x-3.0-beta) on January 20, 2008 your code doesn´t work.
The release activity 5.x-2.1-2 from December 12, 2007 works with your Module, because there the needed columns:
tokens, uid, module, timestamp, type, action, scope
greetings from hamburg, germany
jonas
Comment #7
jody lynnJinx.
Comment #8
scedwar commentedI've just come to Activity - can full support for the relevant og tokens be added in this (if it isn't already) in the same way that pathauto can access all the og values.
For example I would like to be able to do something like "A Page was added to the group Groupname" for different node types.
Comment #9
sirkitree commented5.x-2.x-dev is not supported anymore.
Comment #10
scedwar commentedWhy can't the patch be reworked into 3.x.dev? OG support would be very useful.
Comment #11
sirkitree commentedIt could be. Please do. I'm just not sure anyone else has time or that this is a priority to anyone else is all.
Comment #12
scedwar commentedOk, leave it open and hopefully someone can take up the gauntlet (I might know someone I could get on to this, but no promises).
Comment #13
jaydub commentedI've updated the oroginal patch to work with 5.x-3 although not yet the
ogactivity_block. So far this just records user group join
activity.
By the way anyone know if the hook_og $op of user insert implies
that the user has successfully joined a moderated group or is
there a status flag to check if they are in moderation?
Comment #14
geodaniel commentedSubscribing to this one as I think it could be a very useful feature.
Comment #15
icecreamyou commentedAlso subscribing. Any news on whether this actually works?
Comment #16
Anonymous (not verified) commentedSorry, shameless subscribe.
+1
Looking for that block activity functionality.
I'm more than willing to test out anything thats put up.
Comment #17
jaydub commentedAnyone know the answer to my earlier question:
'By the way anyone know if the hook_og $op of user insert implies
that the user has successfully joined a moderated group or is
there a status flag to check if they are in moderation?'
I can proceed with updating the og-activity module that I had
hacked up before regardless but it's been awhile since I
jumped in the OG waters...
Comment #18
jaydub commentedComment #19
dgtlmoon commentedsubscribing
Comment #20
dgtlmoon commentedWorked great for me, tested blocks too.
Tweaked the default name of the [og-list] to the correct token
tarballed this to include the subdir
great work!
Comment #21
dgtlmoon commentedif a user request to join a moderate group, $args is called with "is_active => 0"
Once the group admin approves a user for a group-id, og.module then calls with $return_args set with "is_active => 1"
see attachment, this is an updated version of the previous post to handle this case
also a tweak for join/left og actions
ps: where do you get the token [user-link] from?
Comment #22
zilla commentedis this going to come to D6!!?? would love this!!
Comment #23
jaydub commentedOG itself hasn't reached official release yet for d6 so perhaps there's no rush for the OG activity contrib...
Comment #24
zilla commented@jaydub - aside from some elements like OG notifications (which is still a bit buggy), the core of OG seems to be getting very close and moshe and others seem to be working like mad to move it out the door, hence the interest (meaning that it looks like no 'massive all hell is breaking loose' changes are coming in schema or otherwise)
is there an experimental port for this? i don't write code, so no idea how to do a convert-to-d6 thing, but am happy to test and beat on it within a dev site...
Comment #25
dgtlmoon commentedi'm itchin for a d5 OG Activity module
Comment #26
jaydub commentedOk I've got something usable for d6 for recording group join/exits.
For activity blocks or pages for OG activity, what exactly do you all think should be shown? Given the design of the activity module that typical result for this block or page would be to show all activity generated by users who happen to be in groups that you as the user are also in.
Does that make sense to people?
Comment #27
jaydub commentedAdded Organic Groups activity to d5 and d6 branches. Checkout a dev snapshot dated 10/31 or later.
Comment #28
zilla commented@jaydub - i think if the group is public or content in the group is public, then the joins should be shown to all - it would promote people clicking through to see what the group is all about....and also call into 'my friends activity' for specific friend stuff as well....
Comment #29
jaydub commentedComment #30
zilla commented@jaydub - i believe that a simple "join" note, "created a group" note (maybe 'group name' in there) and "exited/left" group note - not sure what else you would want to show...group activity may be made public but considered 'isolated' so by default may not want all group stuff rolling into a public activity stream - just my opinion of course...
Comment #31
JonGirard-1 commentedHmm, so DOES this work with 5.x-3.x-dev or 5.x-4.x-dev?? I installed it along with either version of og, and it seems to display everyones activity, even if they are or aren't in the group.
I'm using this code:
to output onto my group pages.. is there anyway I could modify this code and perhaps using a custom sql query get feeds for users only in the group?
Thanks..
Jon.
Comment #32
JonGirard-1 commented*BUMP*.. loving the 4x version of activity, now only If I could divide it to show activity for my og groups it would be PERFECT..
Comment #33
sissi1212 commentedFor version 6.x-2.x do you know how make?
Comment #34
Scott Reynolds commentedPlease leave this thread by sissi1212
Comment #35
dugh commentedsubscribe
Comment #36
Scott Reynolds commentedThis thread is for 5.4
#442238: Activity Integration with OG is for 6.2. Please respect version numbers.
As maintainers we do this on purpose to keep track of what changes go where and also to keep the discussion on track
Comment #37
sirkitree commented5.x unsupported please see 6.x-2
Comment #38
plan9 commentedSubscribing
Comment #39
sirkitree commentedwhy would you do that? I closed this as 5.x is unsupported, there is nothing to subscribe to.