Skip to content

Instantly share code, notes, and snippets.

@kawaii
Last active March 3, 2017 21:42
Show Gist options
  • Save kawaii/6d84615787c593179e4ea5b52be93521 to your computer and use it in GitHub Desktop.
Save kawaii/6d84615787c593179e4ea5b52be93521 to your computer and use it in GitHub Desktop.

ANONYMOUS POSTING - 2017-03-03

  • Core edit commited to private Ikigai repository (kawaii/ikigai.git) on GitHub
  • Allows users to check a 'Post Anonymously' option when creating a new thread/post (here: https://i.imgur.com/GFBSJDS.png)
  • Option to select an array of forum IDs in which the feature can be used by all usergroups
  • Option to select an array of group IDs which can use the feature in any forum ID they like
  • Posts will appear as posted by user 'Anonymous' with set avatar /images/anonymous.png)
  • Anyone with the permission canmodcp or cancp has the ability to permenantly unmask (or re-mask) an anonymous post
  • Anyone with the permission canmodcp or cancp can view the creator of a post using /misc.php?action=anonymous&pid={POST ID}
  • /misc.php?action=anonymous&pid={POST ID} will redirect directly to the profile of the user who made the post, or error if the POST ID is not anonymous
  • From a technical standpoint, simply add a column to the posts database which is a boolean value of 0 for public post and 1 for anonymous post

FUTURE FEATURE CONSIDERATIONS:

  • Possible ModCP module which displays all of the anonymous posts made
  • NewPoints integration, make or allow users to pay for each anonymous post
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment