Totally hide content not meant to other users to see.

Respuestas: 1 Visitas: 113
Valoraciones
Participantes
Autor del tema #1
Hi guys,

When posting or replying some content which can be seen to certain users, using the bbcodes [hideusers] or [hideusersid], lets say the user "test5" can see correctly the content directed to him, but to any other user which shouldn't see it, a generic "Hidden content for specific users only." message appears.

I think this way could generate some unnecessary friction in a community. The default should be no message at all displayed to any user besides "test5". Maybe in the popup for the allowed user ids or usernames a checkbox could be activated to chose if we want to display the "not allowed" content for the other users and that could render (or not) an extra parameter for the hide bbcode to display the message or not.

Hope that helps 🙂
#2
Hi Replicant,

Thanks for the suggestion, we are adding it to 2.0.0.

Right now members who are not on the list, and guests, always see the "Hidden content for specific users only." box. Content is rendered separately for every viewer, so a mode that shows nothing at all is safe, including with the guest page cache.

With 2.0.0:
  • the hide popup in the editor gets a checkbox to show nothing to other members; ticking it adds ;silent to the tag, for example [hideusers=alice,bob;silent],
  • members on the list see the content as before; everyone else (other members and guests) sees nothing, not even the box,
  • the post author and staff still see the content, with a small "silent" marker so it is clear the block is hidden from others,
  • attachments inside such a block stay locked for everyone who cannot see the block,
  • the default stays as it is today, so existing posts do not change.


Two notes: the tag for user IDs is hideuserids (not hideusersid). And usernames that contain a space currently cannot be matched in a hideusers list; this is fixed in the same change.

Have a nice day.

Debes haber iniciado sesión para responder.

0 citas seleccionadas