Jump to content

(NE) Hide content

Featured Replies

There is an error, hidden content is shown in the preview cards that appear when the mouse is placed over a topic.
In addition, if you enter the profile and its published content, you can see the completely unprotected hidden content.

If you could correct those situations, I would appreciate it.

  • Replies 303
  • Views 25.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Nathan Explosion
    Nathan Explosion

    Hello all - it's been quite a while since I have been on here but I am finding my way back in to the wild now. I've had some issues with my eyes which has severely impacted my ability to do pretty muc

  • Nathan Explosion
    Nathan Explosion

    The plugin is now called '(NE) Hide post content from guests', and version 2.0 is now available with quite a few additional features - check it out: Many thanks to @AlexWebsites for assistance o

  • Nathan Explosion
    Nathan Explosion

    Thanks...will take a closer look over the weekend.

Posted Images

  • Author
12 minutes ago, MataVirgenes said:

There is an error

What is the error message?

I'll look in to what needs to be done to hide the elements you mention, but no promises on if/when that will appear in the app.

Hi Nathan,

I mean error, when viewing the content that should be hidden.

Now I found another: when the theme pagination is done by ajax, the material is not hidden.

  • Author

OK - no error, working as intended.

I'll look into those items - the preview and ajax pagination behaviour shouldn't be an issue at all....at present, I don't do anything when ajax is involved, so I'll just add a little additional check in on that for you.

  • Author
13 hours ago, MataVirgenes said:

hidden content is shown in the preview cards that appear when the mouse is placed over a topic.

Fixed in next version.

12 hours ago, MataVirgenes said:

Now I found another: when the theme pagination is done by ajax, the material is not hidden.

Fixed in next version.

13 hours ago, MataVirgenes said:

if you enter the profile and its published content, you can see the completely unprotected hidden content.

Now looking in to this one.

  • Author
16 hours ago, MataVirgenes said:

In addition, if you enter the profile and its published content, you can see the completely unprotected hidden content.

And now that I've looked I can remember looking at this a while back..

The information displayed in the profile activity is obtained via Search. The search index discards html content from the post so there is nothing within the content that I can check for:

  • there won't be any <a> tags, or  URLS, only the plain text (ie the word Google, as opposed to https://www.google.com  for the following link: Google)
  • there won't be any <img> tags
  • there won't be any <blockquote> tags.

In short, there is nothing within the content that I can check for and remove as it is just text. And with that in mind, the only option available is to perform a full replacement of the content, like I do with the 'Hide All Content' option in the application. Even then, I may not be able to even do that as the data appears to be protected so I may not be able to manipulate it.

What I am going to try to do:

  1. Add a 'Search' option in the "Where?" setting, disabled by default.
  2. Add a 'Search' tab, with the following settings:
    1. "Hide from" being a group listing
    2. "Replacement content to display" being a plain text field which can be populated with the replacement text to be displayed
  3. Replace the content of the item entirely for display (dependent on topic or record location - but I may or may not be able to differentiate between a topic's first post and its replies, or a database record and its comments)

Edited by Nathan Explosion

  • Author

v3.0.4 will have the following new functionality, fixes and minor changes (testing at the moment - hoping to release for approval either later tonight, or tomorrow morning):

  • NEW: Content in 'Preview' card is now hidden
  • FIX: Ajax pagination no longer breaks the hiding of content
  • NEW: Content in search results is now hidden, if configured
  • NEW: Content in profile activity is now hidden
  • MINOR: Slight language changes to remove some redundant strings

 

Edited by Nathan Explosion

Hi @Nathan Explosion.

With the last version of your app, if we hide answers from the forum, it's still impossible to merge all answers in one simple message. Do you think it's something we can hope an evolution of this behavior in a future update ?

  • Author
18 minutes ago, Olmyster said:

it's still impossible

I refer you to my previous response:

 

  • Author

What's new/fixed in v3.1.0?

  • NEW: Content in 'Preview' card is now hidden
  • NEW: Content in search results is now hidden, if configured
  • NEW: Content in profile activity is now hidden
  • FIX: Ajax pagination no longer breaks the hiding of content
  • MINOR: Slight language changes to remove some redundant strings
5 hours ago, Nathan Explosion said:

What's new/fixed in v3.1.0?

  • NEW: Content in 'Preview' card is now hidden
  • NEW: Content in search results is now hidden, if configured
  • NEW: Content in profile activity is now hidden
  • FIX: Ajax pagination no longer breaks the hiding of content
  • MINOR: Slight language changes to remove some redundant strings

This update has caused all my 'all activity' to be hidden, despite having 'ALL CONTENT' highlighted for only Guests?

Edited by Dean_

  • Author
1 hour ago, Dean_ said:

This update has caused all my 'all activity' to be hidden, despite having 'ALL CONTENT' highlighted for only Guests?

What settings do you have for the new search results functionality, as the activity streams are based on search results. Screenshots will suffice.

Don't worry - just got home and tested it out and it's affecting activity streams even without the search functionality enabled....should be an easy fix. If you have FTP access to your site, I can give you a patched file...send me a PM if you do

Edited by Nathan Explosion

  • Author

I've submitted v3.1.1 for approval to resolve that specific issue - if anyone has upgraded to v3.1.0 and needs the patch file to upload via FTP, send me a PM.

@Olmyster - can I get an answer to my question from my response which I linked you to?

On 11/13/2020 at 11:45 AM, Nathan Explosion said:

I think what you are asking for here is the ability to limit the number of replies to a topic - am I correct?

I believe I am correct but would like confirmation - this feature is actually one that I built in to v3.0.0 originally but there was an annoying side effect which I couldn't figure out at the time so I pulled it from the app until a later point, so I can take another look for v3.1.2

  • Author

What's new in v3.1.1?

  • FIX: Search results feature no longer causes search results to not show AT ALL when the feature is disabled.

Hello, first I want to thank you for the updates and the application is excellent.

Even so I found something that can be improved and that is that when a link of a topic is inserted, a small card automatically appears where you can see the data or hidden images.

  • Author
8 hours ago, MataVirgenes said:

Even so I found something that can be improved and that is that when a link of a topic is inserted, a small card automatically appears where you can see the data or hidden images.

Could you elaborate on this please, for clarity?

The application has settings to hide links, allowing differentiation between external links (off to other sites) and internal links (to your own site). The internal links functionality has an additional setting which can hide any embedded links (I believe that is what you are referring to as a 'small card') too - so if, for example, you had internal links and embeds hidden to Guests then when a guest reads a topic/post containing an embedded internal link then it is hidden to them.

I think you are asking for a change to how this works, but I would like you to clarify it please. Maybe include a use-case for what you are asking?

  • Author

Quick follow-up - I think this might be what you are asking for:

  1. Application configured to hide content on topics in Forum A only, for Guests (for example)
  2. Guests can't view the configured content when viewing a topic
  3. In Forum B, User A creates a topic and then links to a topic in Forum A, which is then embedded.
  4. Guest can see the embedded content

Is that correct?

On 11/24/2020 at 4:29 AM, Nathan Explosion said:

Could you elaborate on this please, for clarity?

The application has settings to hide links, allowing differentiation between external links (off to other sites) and internal links (to your own site). The internal links functionality has an additional setting which can hide any embedded links (I believe that is what you are referring to as a 'small card') too - so if, for example, you had internal links and embeds hidden to Guests then when a guest reads a topic/post containing an embedded internal link then it is hidden to them.

I think you are asking for a change to how this works, but I would like you to clarify it please. Maybe include a use-case for what you are asking?

You're right, there is already an option to hide internal links, thank you very much!

  • Author

OK...in the absence of confirmation of my follow-up, I am going to assume that is what you are talking about - that will also be in v3.1.2 when I release it.

Edited by Nathan Explosion

Hello @Nathan Explosion. It is not possible to hide the results of a search when it is done in the quick search field at the top right of the forum. Is it possible that this will be taken into account in the next version of the plugin?

  • Author
11 minutes ago, Olmyster said:

It is not possible to hide the results of a search when it is done in the quick search field at the top right of the forum.

Hiding content in search results was added in v3.1.0, and a further fix added in v3.1.1 - what isn't working for you? Screenshots help.

Edited by Nathan Explosion

10 minutes ago, Nathan Explosion said:

Screenshots help.

If you go to my community as a guest, for try to type in the search bar "Douce Lune" (sorry, it's french terms). You'll see 768 results. However, my settings are ok.

2020-12-01_15-07-17.jpg

  • Author
4 minutes ago, Olmyster said:

However, my settings are ok

All I see there is the 'Search results' tab - you're going to have to show me all your settings, please.

I'll test it out here once you've popped those up for me to see.

Edited by Nathan Explosion

4 minutes ago, Nathan Explosion said:

It would help if you actually showed what your settings are.

Here they are.

Recently Browsing 0

  • No registered users viewing this page.