Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 4 months ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Site Wide Daily Digest

Tagged: activity stream, daily digest

  • This topic has 5 replies, 3 voices, and was last updated 10 years, 6 months ago by Christian Wach.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • October 25, 2014 at 3:27 pm #5223
    Stephen Greenberg
    Participant

    Hey guys, I’m loving these Daily Digest emails that I get from CBOX and would like to implement it on our site. I know I’m supposed to use the Buddypress Group Email Subscription plugin. But I’m wondering if there is some way to use this on a site wide level rather than just within groups.

    Ideally, we’d like to have all the things that appear on the activity stream (hopefully with some ability for an admin to filter what content gets put into the email) show up in every user’s email inbox.

    Is there some way to accomplish this? My first thought would be simply get everyone in a General group. But that raises the question of whether it’s possible to add people to a group automatically without them having to join it themselves.

    Thanks!

    October 27, 2014 at 11:38 am #5229
    Christian Wach
    Participant

    There’s nothing in the interface that would let you do this, but it’s simple enough to do with code. So, if you have a list of your user IDs, you can use groups_join_group( $group_id, $user_id ); to add each user in that list to a group with a known ID (your “General” group). If you want to do that on user registration, hook into the ‘user_register’ action. Something like:

    
    add_action( 'user_register', 'my_add_to_group' );
    function my_add_to_group( $user_id ) {
    	$group_id = 22; // replace with whatever your target group ID is
    	groups_join_group( $group_id, $user_id );
    }
    

    Cheers, Christian

    October 27, 2014 at 3:37 pm #5243
    Iurie Malai
    Participant

    @haystack, @stevedtj –

    I like the Christian solution, I tested a similar one some time ago. It is useful if the “General” group is linked to the main blog and this is the only blog. But, the idea to inform group members about all site activities can be not too good without a good activities filter, especially if there are more blogs and more groups.

    The question is how to show all site activities in one group?

    October 29, 2014 at 11:26 am #5247
    Stephen Greenberg
    Participant

    Thanks @haystack and @iurie. This a step in the right direction. So with that code we can have our users automatically added to a General group, that’s great.

    But as you stated Iurie — the real question now is then how would we show all site activities in one group? A lot of the most valuable info that is coming off the activity stream is related to posts in the forum and newly added resource documents (coming from a custom plugin we’ve built similar to BP Docs) — the things that are outside of any group.

    And yes, I agree that most users will not appreciate getting hit with all this info from the whole site, but at the stage the site is currently in it does actually make sense for everyone to know what’s happening on a site wide level.

    Any additional thoughts?

    October 29, 2014 at 2:03 pm #5248
    Iurie Malai
    Participant

    @stevedtj,
    I think that makes sense to have a special group where users are added automatically at registration, and users of that group can be subscribed (also automatically) to a kind of digest with some selected general site wide activities (about new resources/blogs, new forum topics, new posts), maybe with an option to select about what activities they want to be informed. I think that this could be done with a special plugin, but I am not a coder, @haystack or others can say if this is possible.

    October 30, 2014 at 6:57 am #5249
    Christian Wach
    Participant

    Hi Steve, I realise I didn’t really answer your more general issue of the email digest of all site activity. As Iurie says, this is definitely plugin territory if such a thing does not already exist. Personally, I would recommend that people subscribe to the sitewide RSS feed rather than go down this route.

    Cheers, Christian

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register