@dereine,
I've been thinking about maybe adding the functionality of this module to the package of Group7 - I think that providing a Views list that for example shows the number of posts in a group (and make it sortable...) is a a general need. What do you say about it?
Comments
Comment #1
dawehnerAs discussed in irc, there is no reason for me to not move it to groups.
The extra fields like "last user" might stay in this contrib module.
Comment #2
amitaibuFollowing IRC, I've been thinking more. As you suggested instead of having DB, we can use fields.
Unlike what we discussed, the fields can be attached to the fieldable entity itself (e.g. node), not the group entity -- which is simply holding some necessary info.
This will work much like group_access -- where one may attach the group_access field to any group bundle (see the screencast that shows how it is done).
The way I imagine it will happen:
1) User adds "total members in a group" field.
2) upon field attachment, og_statistics will calculate the total members.
3) When a user is added/ removed we increase/ decrease the field.
The field itself is actually a numeric field, so we don't even have to define our own field schema. Fields are cool! :)
Comment #3
pedrorocha commentedDoes this still make sense?