Posted by & filed under Uncategorized.

This new minor version of Social Stream comes with two mayor features.

Group chat

Now there is a chat room for every group created in your social stream presence powered application. In order to set this, you should, after the deployment:

  1. Execute  rake presence:install:xmpp_server
  2. Add configuration to ejabberd.conf:
    1. mod_muc_admin in modules
      1. %%
      2. %% Modules enabled in all ejabberd virtual hosts.
      3. %%
      4. {modules,
      5. [
      6. {mod_…, []},
      7. {mod_http_bind, []},
      8. {mod_sspresence, []},
      9. {mod_admin_extra, []},
      10. {mod_muc_admin, []},
      11. {mod_…, []},
      12. ]}.
    2. Set mod_muc configuration:
      1. {mod_muc, [
      2. %%{host, “conference.@HOST@”},
      3. {access, muc},
      4. {access_create, muc_create},
      5. {access_persistent, muc_create},
      6. {access_admin, muc_admin}
      7. ]},
      8. }
    3. Define the access rules:
      1. %%%%%%%%%%%%%%%%%%
      2. %% MUC permissions
      3. %%%%%%%%%%%%%%%%%%
      4. %% All users can create rooms:
      5. {access, muc_create, [{allow, all}]}.
      6. %% Admins of this server are also admins of the MUC service:
      7. {access, muc_admin, [{allow, admin}]}.
      8. %% All users are allowed to use the MUC service:
      9. {access, muc, [{allow, all}]}
      Of course, you must restart the ejabberd server
  3. Finally, create the rooms for your existing groups. Execute rake presence:synchronize:rooms

You can find full instructions at Getting Started With Social Stream Presence

Event posters

Now, events can have a picture attached as poster. This feature is achieved through a new table, activity_objects_properties, that will be used for future relations between activity objects.

As usual with Social Stream minor releases, you must run rake social_stream:migrations:update

/// Leave a Reply

  • (will not be published)