public
Description: Tog Platform Social Component
Homepage: http://www.toghq.com
Clone URL: git://github.com/tog/tog_social.git
name age message
file .gitignore Loading commit data...
file MIT-LICENSE Tue Aug 26 08:11:17 -0700 2008 license updated [molpe]
file README.markdown
file Rakefile Thu Aug 21 04:12:44 -0700 2008 initial import [aitor]
directory app/
directory config/
directory db/
file init.rb
directory lib/
directory public/
directory test/
README.markdown

Tog Social

Tog Social is the plugin that adds basic social-network support to you site. That is:

  • Profiles (including photos)
  • Groups (including images, moderated groups, public and private groups, invitation, etc.)
  • Friendships (unidirectional or following/follower and bidirectional or friendships)

Resources

Plugin requirements

Install

If you used the command togify to install tog, then you already have tog_social installed.

If not, install it like any other plugin:

  • Install plugin form source:
ruby script/plugin install git@github.com:tog/tog_social.git
  • Generate installation migration:
ruby script/generate migration install_tog_social
  with the following content:
class InstallTogSocial < ActiveRecord::Migration
  def self.up
    migrate_plugin "tog_social", 1
  end

  def self.down
    migrate_plugin "tog_social", 0
  end
end
  • Add tog_social's routes to your application's config/routes.rb
map.routes_from_plugin 'tog_social'
  • And finally...
 
rake db:migrate

More

"https://github.com/tog/tog_social":https://github.com/tog/tog_social

"https://github.com/tog/tog_social/wikis":https://github.com/tog/tog_social/wikis

"Creating relationships between users":https://github.com/tog/tog_social/wikis/creating-relationships-between-users

"Showing friends, followers or followings in a portlet":https://github.com/tog/tog_social/wikis/showing-friends-followers-or-followings-in-a-portlet

Copyright (c) 2008 Keras Software Development, released under the MIT license