[021] Paid content

[021] Paid content 1.3.1

Fixed
  • "Allowed payment profiles" option did not work correctly
You can now set up the creation of a conversation when purchasing paid content!

Purchase conversation.png

Conversation option.png

Fixed
  • (src/addons/BS/PaidContent/XF/Attachment/Post.php:39) Converting a value of hidden attachments to an array
Fixed
  • Missing can_open_for_free field in xf_bspc_paid_content table after clean install
  • Null pointer exception on calling Forum prop in PaidContent entity
Added integration with [DBTech] DragonByte Credits add-on. Now you can set up accruals for your users for selling content. Read more in the FAQ section.

Fixed
  • Exception when try to purchase paid content

Attachments

  • Sale alert.png
    Sale alert.png
    23.6 KB · Views: 21
  • Transaction in ACP.png
    Transaction in ACP.png
    81.5 KB · Views: 21
  • User transactions log.png
    User transactions log.png
    58.4 KB · Views: 21
Added the possibility of free content openings per day
Now you can give permission to your users to open paid content for free a limited number of times per day. You can set this permission for an individual forum or for all forums. If you want to set a ban on opening paid content for free in a certain thread, you just need to uncheck "Can be opened for free" when creating or editing a thread.

Thread view.png

Open content for free form.png

Attachments

  • Opened content.png
    Opened content.png
    174.7 KB · Views: 40
  • Permissions.png
    Permissions.png
    88.8 KB · Views: 39
  • Thread creation.png
    Thread creation.png
    197.9 KB · Views: 26
Fixed:
  • Incorrect behavior related to permission to view paid content
  • Like
Reactions: MrRobot