User Connections
v0.4.0Follows, mutual connections and blocking between users
Install User ConnectionsSocial relationships between users: one-way follows, two-way connections that both users accept, and blocking that removes existing follows and connections. Every relationship action is logged. It adds an admin statistics page and a user page for managing one's own connections.
Use it when
- Your community app needs follow and friend-request features
- Users must be able to block each other
What it gives you
- Follows (one-way, no consent)
- Connections (two-way, request and accept)
- Blocking that removes follows and connections
- History log of relationship actions
- Admin statistics page and user LiveView with tabs
Example
PhoenixKitUserConnections.follow(current_user, other_user)
PhoenixKitUserConnections.block(current_user, other_user, "reason")
User Connections news
Nothing posted about User Connections yet. Read its changelog or see all PhoenixKit news.
Install
1
Add to mix.exs
{:phoenix_kit_user_connections, "~> 0.4"}
2 Fetch it and run its migrations
$ mix deps.get && mix phoenix_kit.update
3
Switch it on in /admin/modules
- Package
- phoenix_kit_user_connections
- Releases
-
- 0.4.0
- 0.3.0
- 0.2.3
- Admin
-
/admin/connections - Links
- HexDocs ↗ GitHub ↗ Changelog ↗
Related modules
What it needs, what builds on it, and its neighbours in Platform & tools.
Dashboards
Build admin dashboard pages from widgets that any module exposes
No other modules needed
Database Explorer
Browse Postgres tables and watch row changes live from the admin
No other modules needed
Hello World
A demo module to copy when building your own PhoenixKit module
No other modules needed
Legal
Generated legal pages, cookie consent banner and consent logging
Needs Publishing
Stats
Collect and chart time-series metrics from external sources over Graphite
No other modules needed
Sync
Pull data between PhoenixKit sites over token-based connections
No other modules needed