Copio i post da Discourse Policy prima che scadano…
Tris20:
È possibile rivelare un link o altro contenuto ai membri una volta che hanno accettato la policy?
Ad esempio, volevamo registrare una discussione ma era necessario che gli utenti accettassero prima i termini. In questo caso, solo gli utenti che hanno accettato la policy vedrebbero il link alla discussione.
Abbiamo pagato lo sviluppo di questo plugin che siete liberi di utilizzare. Mantiene l’iscrizione a un gruppo in base all’accettazione di una policy. Potete quindi limitare la vostra categoria speciale a quel solo gruppo.
Nel vostro caso, source_group potrebbe essere trust_level_0 o tutti.
What would you like done?
Need a plugin to do an odd mash-up. If a user has accepted a certain Discourse Policy and is a member of group A, then make them a member of group B, else remove them from group B.
Would be nice to make them a member of group B as soon as they accept the policy, but if we need to wait a bit for sidekiq, that may be acceptable.
Reference the policy_users table.
The post_policy_id and group names can be hard-coded. I can edit later if needed. And just in case I ever n…
Contribute to communiteq/discourse-policy-groupadd development by creating an account on GitHub.
4 Mi Piace