Jump to content

(NE) Hide content


Recommended Posts

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.

Link to comment
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
Link to comment

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
Link to comment
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_
Link to comment
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
Link to comment

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

Link to comment
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?

Link to comment

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?

Link to comment
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!

Link to comment
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
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...