Skip to:
Content
Pages
Categories
Search
Top
Bottom

Post Anonymously

  • Avatar of WeirdMike
    WeirdMike
    Participant

    @splendidangst

    How would it be possible to allow my logged in users to choose to make a post or reply to a comment as “anonymous” or as their “user name”?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of juanmaguerrero
    juanmaguerrero
    Participant

    @juanmaguerrero

    It can be done, of course. You could create a user named “anonymous” for example, and then show the activity update form adding an option for posting “as ‘username’ or ‘anonymous’”. And if the last is selected, add the variable via post and add checking via backend. If everything is ok, post to the database with the “anonymous user” ID. Voila! The user posted as anonymous. :)

    Avatar of tangpage
    tangpage
    Participant

    @tangpage

    …. how to do that? how to add and change code for this function of posting as “Anonymous”?

    Activity component doesn’t support anonymous comments or behaviour; it wasn’t built with that in mind. Per Juan’s suggestion above, you could create a fake user account and write code to assign comments to that user, but… sounds hacky :)

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.