This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit f66e3a4c84b6d32d35ba75f28a38a84b54bcd7eb
tree e92c1978ce061c863db7cd4461965f3d87136ff6
parent 0b3450088b7f02c2475f831f0cdd4be21313e17f
tree e92c1978ce061c863db7cd4461965f3d87136ff6
parent 0b3450088b7f02c2475f831f0cdd4be21313e17f
tog_social / 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
- http://github.com/tog/tog/wikis/3rd-party-plugins-acts_as_state_machine
- http://github.com/tog/tog/wikis/3rd-party-plugins-seo_urls
- http://wiki.github.com/tog/tog/3rd-party-plugins-paperclip
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







