Follow / Stop Following Integration Point
Some companies like to add actions that occur when a user chooses to follow or stop following a community – for example they may want to display a message that welcomes the user and suggests certain actions. Aurea Social has a javascript integration point to support this.
To bind to the event that is triggered whenever a user joins or leaves a community, write your own javascript code that looks something like this:
$(NG.Events).bind("<triggerName>", function(event, args) { alert(args.currentTarget); });
where <triggerName> = "joinCommunity" or "leaveCommunity"
and args holds the original event - args will ONLY have a value when the user is joining a community from outside the community.
If this event is not bound, it simply moves on as if it's not there.