NZyan Posted February 17, 2023 Posted February 17, 2023 Hi, I'm trying to include an data-nosnippet attribute to the message DIV in order to keep the guest messages out of the Google Search snippets. Thus I changed the template hideAllContent_messageType but without success – no changes visible in the front end. <div class="ipsMessage ipsMessage_{$type} nehidecontent" data-nosnippet> {$message|raw} </div> Am I missing something? BTW – Might be a good idea to have this change in the application. Andreas
Nathan Explosion Posted February 17, 2023 Author Posted February 17, 2023 (edited) 11 minutes ago, NZyan said: Am I missing something? I'm assuming that you are using the "Hide all content" functionality, along with the "Use ipsMessage box for replacement content?" setting enabled, which is what would call that template? Works fine here - template edited, page refreshed: Edited February 17, 2023 by Nathan Explosion
Nathan Explosion Posted February 17, 2023 Author Posted February 17, 2023 11 minutes ago, NZyan said: Might be a good idea to have this change in the application Possibly - will look into it more.
NZyan Posted February 17, 2023 Posted February 17, 2023 Argh. Sorry. Wrong thread – talking about the Hide Content Application. Andreas
Nathan Explosion Posted February 17, 2023 Author Posted February 17, 2023 Just now, NZyan said: Argh. Sorry. Wrong thread – talking about the Hide Content Application. Andreas Which is what this topic is for...
NZyan Posted February 17, 2023 Posted February 17, 2023 Sorry, I was confused by different names: (NE) Hide content (NE) Hide replies from guests 15 minutes ago, Nathan Explosion said: I'm assuming that you are using the "Hide all content" functionality, along with the "Use ipsMessage box for replacement content?" setting enabled, which is what would call that template? I'm using only images only in forums Can't find a setting „Use ipsMessage box for replacement content“ I only have „ipsMessage type to use“ – which works well. I updated the version today to 4.0.4
Nathan Explosion Posted February 17, 2023 Author Posted February 17, 2023 10 minutes ago, NZyan said: I'm using only images only in forums In that case, you edited a template that isn't been used by your configuration. I'll have a think about how to support the addition of this, and will release a new version when done.
NZyan Posted February 17, 2023 Posted February 17, 2023 7 minutes ago, Nathan Explosion said: In that case, you edited a template that isn't been used by your configuration. Totally agree. I double-checked – it's the correct theme and the only template using the CSS class nehidecontent HTH Andreas
Nathan Explosion Posted February 17, 2023 Author Posted February 17, 2023 (edited) v4.1.0 is currently pending approval NEW added a "Add 'data-nosnippet' attribute to replacement text" setting (on the Miscellaneous tab) CHANGES None FIXES None Edited February 17, 2023 by Nathan Explosion NZyan 1
NZyan Posted February 22, 2023 Posted February 22, 2023 Perfect, thanks a lot! Andreas Nathan Explosion 1
Nathan Explosion Posted April 29, 2023 Author Posted April 29, 2023 v4.2.0 is pending approval FIXES fixed an incorrect language string being used as the title in the lightbox if you are using the 'Display login prompt in the lightbox' setting. fixed issue where an 'unavailable' link was left in quotes if hiding images which have been linked from external sites. fixed the 'Convert images to links within quotes' setting so that it actually does what it's supposed to do, as it was clearly not working correctly (and not being used by anyone, otherwise it would have been reported previously) NEW If using the 'Convert images to links within quotes' setting, an additional 'Show friendly text for link' setting is now available to allow a more friendly textual element to the link. CHANGES If hiding images, giphy.com images are now hidden. Minor language string updates AlexWebsites 1
OptimusBain Posted May 1, 2023 Posted May 1, 2023 Good day, Is it possible to hide all posts except the last one? The application can hide all content except the first post, but could it be the last post? Thanks
Nathan Explosion Posted May 1, 2023 Author Posted May 1, 2023 Possible, yes...but probably not without adding at least one additional SQL query when loading a topic. OptimusBain 1
OptimusBain Posted May 2, 2023 Posted May 2, 2023 22 hours ago, Nathan Explosion said: Possible, yes...but probably not without adding at least one additional SQL query when loading a topic. But that's something that if done, it should be done by you in a revision I guess.
Nathan Explosion Posted May 2, 2023 Author Posted May 2, 2023 As it could potentially affect performance, it's not likely to be added. Maybe at a later point. OptimusBain 1
Nathan Explosion Posted July 31, 2023 Author Posted July 31, 2023 v4.3.0 is currently pending approval NEW added support for Blogs AlexWebsites 1
Nathan Explosion Posted August 1, 2023 Author Posted August 1, 2023 Something I've only just noticed about this resource - I never added support for Clubs into it. Does anyone want it added?
INDIG0 Posted September 16, 2023 Posted September 16, 2023 (edited) @Nathan Explosion Please tell me what could be the reason that I display text from Images for attachments and links. And also if you disable the restriction for links, they are still hidden and a notification is displayed from the image, including internal login links via @ I deleted the application and installed it again, but it didn't help, maybe I should also delete the tables in the database? Where to look for them? Edited September 16, 2023 by INDIG0
Nathan Explosion Posted September 16, 2023 Author Posted September 16, 2023 (edited) 32 minutes ago, INDIG0 said: Please tell me what could be the reason that I display text from Images for attachments and links. And also if you disable the restriction for links, they are still hidden and a notification is displayed from the image, including internal login links via @ No idea - you've said lots there but not provided helpful information such as what version of the application you are running; what version of Invision's software you are running; maybe a screenshot of what it is that you are describing? And some screenshots of your settings would also be helpful. 32 minutes ago, INDIG0 said: but it didn't help, maybe I should also delete the tables in the database? You can delete tables from your database if you wish, but I've not idea why you would do so - hint: this application doesn't have any tables in your database. So...start again with the request for support...provide better information and then I can assist you. Edited September 16, 2023 by Nathan Explosion
Nathan Explosion Posted September 16, 2023 Author Posted September 16, 2023 (edited) Also - you installed the app twice today; prior to that your last update/install was done in May. Is the above issue something that appeared BEFORE you did the 2 installs today, or is one of those installs an update to the latest version? Or has this issue suddently appeared for you, which then lead you to do the 2 installs? Edited September 16, 2023 by Nathan Explosion
INDIG0 Posted September 16, 2023 Posted September 16, 2023 @Nathan Explosion I went in today as a guest and found the application not working correctly, I decided to update, but it didn't help, below I attach screenshots of the page under the user (admin) and under the guest. (I have Links, Videos, Images, Attachments hidden in the guest settings). As well as screenshots of the settings from each tab of the app. (NE) Hide content (v4.3.0) Invision Community v4.7.10 From member (admin): From guest: Screenshots of settings:
Nathan Explosion Posted September 16, 2023 Author Posted September 16, 2023 OK - thank you; that is MUCH MORE helpful than what was posted. So, is the actual issue better described as the following? In the post, there's a link, then a video then an image, then a Youtube embed However, when viewing as a guest, you see the hidden items as the following (based on the text for hiding) Image (which is incorrect, as it's a link) Video (which is correct) Image (which is correct)
INDIG0 Posted September 16, 2023 Posted September 16, 2023 (edited) @Nathan Explosion Yes, that's correct, with the Sliders disabled in the Links settings, meaning it shouldn't hide them at all. Also, in the Video settings, the "Hide embedded external videos" option is enabled Is youtube supposed to be hidden too? But it's showing up. Also any mention of a user via @ is also hidden for some reason and a message is displayed from "Images", screenshots: member: guest: Edited September 16, 2023 by INDIG0
Nathan Explosion Posted September 16, 2023 Author Posted September 16, 2023 (edited) OK - I'll take a look into at some point over the next week. If an update is required, it will be released via my site (see provider link) Edited September 16, 2023 by Nathan Explosion INDIG0 1
Nathan Explosion Posted September 16, 2023 Author Posted September 16, 2023 (edited) Can I also have a screenshot of your "Miscellaneous" tab? Edited September 16, 2023 by Nathan Explosion
Recommended Posts