In a support discussion titled “Hide text fragment from guests,” Master seeks a way to hide specific text fragments within a post—such as cryptocurrency claim codes—from unregistered visitors, while still allowing them to see the rest of the content to encourage registration. Heliosurge clarifies whether the need is for posts or banners, and Master confirms it’s for partial post content, particularly for contests/gifts restricted to community members. pfaffman notes that theme components can hide text visually but not from source code, and suggests advertising the contest publicly while linking to a private category. Master explains the goal is to avoid giving crypto to non-members, and considers using keyword comments with a bot as an alternative. pfaffman concludes that a custom plugin is likely required for true text hiding, recommending a public teaser post with a link to a private category if budget is limited. Heliosurge shares a potential plugin for group-based content display, but notes it may need fixing and warns that clever users can still bypass client-side hiding. For sensitive data, a server-side plugin or private category with restricted access is advised.
I need to do the following. I want to make a theme, but hide a fragment of the text, which is only visible to registered users; and in this sense, visitors will receive a notice that they must register to be able to read that text.
It’s possible?
Is there a code, function or plugin that can do that?
I am referring to a part of the text of a publication. I understand that I can set confidence levels and other things for a whole topic or categories; but I need just a part of the text.
For example, among other things, I want to run a contest, and I want the steps to only be visible to registered people, those who are not must register to know how to participate; but I can’t make the entire contest private, because then visitors won’t even know it’s active nor will they know what it is about.
Basically, more than a contest, they are gifts in cryptocurrencies; So there is no point in giving away cryptocurrencies to people who are not part of my community; That’s why I want you to see all the information, except for the codes on how to claim the gift.
Although I think that another option may be to indicate that they should comment on a keyword, and use a bot to send them an automatic message; although it would be more tedious and spend open credits even unnecessarily.
I believe that to hide information in a post you will need a custom plugin. I’m sure that you need a plugin; it’s possible that one exists that I don’t know about.
If you don’t have a $300-1000 budget for such a plugin, then the easiest way to solve what I think is your problem is to have a public topic that says "You want something great? Well, you have to do something to be able to have access to link_to_topic_in_private_category.
I did find this one. But may need some fixing at least for Tests-passed
Was having some issues getting to work right. Ie I could post as admin to show content to groupA. It will display for me Bing in that group but not my test user in that group
Blockquote from formatting bar may expose content if used. Would likely want to turn edits only viewable by staff..
As Jay said though a clever user could get around this. Plugin would be best with sensitive info.
If Self Hosted maybe a link to a Private topics(plugin) enabled category. Where only Staff can create topics and say your group can see. A link to a post in the private category should only work if current user is staff or your chosen group