Jump to content

OneTimeOnlyCode


benbyf
 Share

Recommended Posts

New module: OneTimeOnlyCode  https://github.com/benbyford/OneTimeOnlyCode

Use this module to create codes with urls (or any of string data) and later check a code and its data e.g. to get one time access to content.

I built this to send out specific "exclusive" users codes at the end of URLs to new articles where noramlly they would have to log in ->  now they can see the content only once and then have to login if they navigate away. I made it only to show the content not any user profile infomation etc when using the code, be warned not to use it to show user information unless you know what you're doing!

Codes can have an expiry and uses lazy-cron to cull codes out of day at a set interval (both in checking and elapsed interval for the codes).

Check it out!

  • Like 11
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...