135 0
Posted on 2025-7-14 20:32:57 | Show All Floors Reading Mode
Hey folks!
I'm interested in creating a Flarum extension that shows partial post content to guests, and I’d love to know if anyone has already built something similar or would be interested in collaborating or supporting development.
I already know of two plugins that achieve similar functionality, but I like the idea of showing some of the content to guest visitors.
BBCode Hide Content and Login 2 See Plus already do very similar functionality. Extending those plugins to achieve my goals would be really cool too.
What It Would Do
For Guests (not signed in):
Show the first 50% of a post (or a set number of characters/words or percentage).
Append a “Sign in to read more” link at the end.
Optional: Blur the second half or fade out visually.
For Logged-in Users:
Show the full post content as normal.
How It Might Work
Frontend-only JavaScript or a lightweight extension.
Hooks into the Post component in the forum frontend.
Detects if app.session.user === null.
Truncates the .Post-body HTML, adds a CTA.
Optional CSS for blur/fade.
Why?
Useful for:
Course communities (like mine I'm building for my farming community!), where some discussion content is gated.
Encouraging sign-ups without totally hiding public content.
Creating teaser-like experiences.
Creating a paywall potentially if you have enabled some kind of monetization for your community.
Interested?
If you’ve already built something like this, know of someone who has, or want to collaborate / sponsor / contribute to the development, drop a comment or message me!
I would also potentially be interested in commissioning a developer to help/make this plugin for me to save my time. If you have any thoughts about this please let me know!

For related infringement, reports, complaints, and suggestions, please send an email to: admin@discuz.vip

Powered by Discuz! X5.1 © 2001-2025 Discuz! Team.

InThis SectionPostBack to Top
Quick Reply Back to Top Return to List