Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tog Platform Social Component
Ruby
branch: master

This branch is 122 commits behind tog:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db/migrate
lib
public/images
test
.gitignore
CHANGELOG.md
MIT-LICENSE
README.markdown
Rakefile
init.rb

README.markdown

Tog Social

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

Included functionality

  • Profiles (including photos)
  • Groups (including images)
  • Moderated and open groups
  • Public and private groups
  • Invitations for joining a group
  • Bi-directional friendships
  • Followers and fan 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

http://github.com/tog/tog_social/wikis

Creating relationships between users

Showing friends, followers or followings in a portlet

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

Something went wrong with that request. Please try again.