Pay To See 付费可见内容

A Flarum premium extension. Allow user to add pay to see content in the post.
一个Flarum付费扩展。允许用户在帖子中添加付费内容,其他用户需要付费才能看到。

This extension could be very useful for forum that focus on post contents. With this extension, a user can set part of his contents as free sample, and allow other users to purchase the rest of the contents if they want to read more.

Required Extension

Hightlight Features

  • Customizable P2S content and price
  • Permission settings that allow you to choose which user group or tag can use P2S
  • Receive notification when someone purchased your content

Video Demo

Installation

You need subscribe this extension at Extiverse. Once subscribed, follow the instructions at Extiverse to configure composer, and then run the following command to install this extension.

该扩展为付费扩展,请到这里来订阅。
无法在Extiverse上支付的用户,可以加我的QQ 2091714527后通过微信或支付宝来支付。
订阅后,请参照这篇文章来设置你的composer,之后执行下面的命令来安装。

Install with composer:

composer require ziiven/flarum-pay-to-see

Updating

composer update ziiven/flarum-pay-to-see
php flarum migrate
php flarum cache:clear

Links

Please also check my other works 😃
Premium Decoration Store 社区装饰店
Premium Raffle Ticket 刮刮乐
Premium Pay To See 付费可见内容
Free Daily Check In 每日签到
Free Post Number 帖子楼层
Free View History 浏览历史
Free Money Transfer 社区转账
Free Money Leaderboard 社区资金排行榜
Free Fireworks 烟花

ScreenShot

Before purchase

1669384030280

After purchase

1669384065456

Admin settings

1669387275448

Cactus1805 You can put fof/upload tag inside the [pay][/pay] tag, and it will hide the download link until user purchased the content 😃
1669516925191
1669516972909
1669517573373

这个插件功能等了好久,就差最后一步了:

如果能再有一个与 Money 插件配合的,能够与现实世界的支付方式进行充值和提现操作的插件(特别是支付宝和微信支付),Flarum 经济体就算完整了✌️(Money 用于货币管理,设置为不会从任何社区活动获得,比如登陆,发帖,回复,点赞等,仅支持与现实世界的支付方式进行互通)

另外问一下,从 Flarum 市场买一次这个插件,是一个域名授权,还是能用于我所拥有的多个域名?

This plug-in function has been waiting for a long time, but it is only one step away:
If there is another plug-in that cooperates with Money plug-in and can recharge and withdraw cash with real-world payment methods (especially Alipay and WeChat payment), the Flarum economy will be complete.✌(Money is used for currency management and is set to not be obtained from any community activities, such as login, posting, reply, praise, etc., and only supports communication with real-world payment methods)
In addition, if you buy this plug-in from Flarum market once, is it a domain name authorization or can it be used for multiple domain names I own?

    huguadao 另外问一下,从 Flarum 市场买一次这个插件,是一个域名授权,还是能用于我所拥有的多个域名?

    After you purchased this extension at extiverse, it will bind with your extiverse account. I'm not sure if you can use it in multiple domains...
    在市场中购买后是跟你的extiverse账户绑定的,是否可以用于多个域名这个我没试过...

      Ziven After you purchased this extension at extiverse, it will bind with your extiverse account. I'm not sure if you can use it in multiple domains...

      Premium extension subscriptions are tied to a person. That person can use it as many communities as they like, but they cannot share their subscription with others, not even clients. See: https://extiverse.com/terms/premium-extensions

      Version 1.0.2

      Don't forget to run migrate after update

      • Add ability to modify and remove P2S content price
      • Support float value for price setting (two decimal places)

      Updating

      composer update ziiven/flarum-pay-to-see
      php flarum migrate
      7 days later

      gavinsama this extension is temporarily unavailable while @Ziven works out the verification with Stripe. They/I will keep you posted. I'm sorry for the inconvenience.

      Ziven oh~ buddy~ I love you so much,I check the plugin almost every few hours to see if there is any new news

      Is it possible that the user sets the "pay to see" post in any discussion, or just in the opening post of a specified discussion?

      EDIT: Also, I suppose that all the money is coming to a seller's balance?

        hrvoje_hr A user can set P2S content in any discussion that he started, and if other users pruchase the content the money will go to the seller(discussion author)'s balance.

        2 months later

        @Ziven
        can you add tag permissions for which tag can use pay-to-see.
        And, Can you add a Admin permission that Admin can edit user’s pay-to-see post.
        Thank you

          This is great, I think there will be more users on the forum.