2015-09-21, 01:27 AM
Basically, I've seen people asking for something similar to this plugin; so I decided to make it.
With this plugin, your users will be able to set a price on content hidden with [hide] tags, and people will be able to buy it with the Newpoints currency.
Currently, the hide tag has three different states:
Pay to view:
![[Image: ofhnkw.png]](https://camo.mybb.com/ed5a82f1a9d108450716e7a6d965f3c7344b6747/68747470733a2f2f752e706f6d662e696f2f6f66686e6b772e706e67)
Reply to view:
![[Image: ixxdtm.png]](https://camo.mybb.com/1d29cba017d1f8cf13a4db8829fadc894d5227d7/68747470733a2f2f752e706f6d662e696f2f69787864746d2e706e67)
Login/register to view:
![[Image: jvsfpy.png]](https://camo.mybb.com/de0604765c0f5de2b9a52b523329c485608fe834/68747470733a2f2f752e706f6d662e696f2f6a76736670792e706e67)
When a user isn't logged in, they're prompted to either login or register.
Want to give your hidden content a title? You can do that too:
Still not convinced? Here's some more things that make this plugin great:
Submit pull requests and issues on Github: https://github.com/neko/lock
Official mod page.
With this plugin, your users will be able to set a price on content hidden with [hide] tags, and people will be able to buy it with the Newpoints currency.
Currently, the hide tag has three different states:
Pay to view:
[hide cost="1337"]
Pay to view this content.
[/hide]
With this state, users can set a price on their content; and when a buyer purchases the content, the owner gets the points that the buyer paid.Reply to view:
[hide]
Reply to view this content.
[/hide]
When a user doesn't set a price on their content, the content is hidden for users until they reply to the thread.Login/register to view:
When a user isn't logged in, they're prompted to either login or register.
Want to give your hidden content a title? You can do that too:
[hide cost="1337" title="super secret content"]
Pay to view this content.
[/hide]
Still not convinced? Here's some more things that make this plugin great:
- Clean and commented code.
- Easy to install and use.
- Secure.
- Easily customisable (the hide tag wrapper is stored as an editable template)
- Easily configurable:
Submit pull requests and issues on Github: https://github.com/neko/lock
Official mod page.