Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Nathan Explosion Posted September 2, 2021 Posted September 2, 2021 This application will allow your users to indicate whether the content of their forum topic/post potentially contains information which others may consider to be offensive, or may elicit a negative emotional response upon reading. Pending approval at the time of this post.
Nathan Explosion Posted September 9, 2021 Author Posted September 9, 2021 v1.1.1 has been submitted for approval FIXES Editing a comment causes an error if the user editing didn't have permissions to create new warnings via the front-end CHANGES None NEW Added account settings option to allow user to choose whether or not to see content warning notices. Setting this to 'No' results in user no longer seeing warnings on content Setting this to 'Yes' results in user seeing warnings on content, with options available as previously to allow hiding/showing of the content itself
Dru Vagale Posted August 22, 2023 Posted August 22, 2023 Hi, We have Purchased the plugin NE Content Warnings, there is a bit of issue in the plugin, when we added the warnings from the backend, then we used few warnings from there to create a new thread in our forum, and we set the settings to hide the content. So now when we go to forum and check that thread, the warning is properly showing on the thread, with a message "Click to Reveal the Content". When we click on it to see the content, its not showing. Please find the attachment with a screenshot of the issue
Nathan Explosion Posted August 22, 2023 Author Posted August 22, 2023 (edited) A link to that page would be helpful here, as that doesn't look like the default theme so I'd need to see the actual page (if page is behind a login, send me a link plus authentication credentials via PM) In addition: What are the setting in place in the ACP? Same with your own front-end settings, via the "Account Settings", if you have enabled that functionality. Edited August 22, 2023 by Nathan Explosion
Dru Vagale Posted August 22, 2023 Posted August 22, 2023 FYI, we have also checked in the default theme, and the issue also persists in the default theme as well. The Page can be accessed as guest as well. Here is the Link : https://p2pdev.kidshelpphone.ca/topic/3026-vehicula-senectus-auctor-ultrices-tristique/ 1. For the settings in the ACP, please find the screenshots on the attachment 2. As we are checking through as guest, so we don't have any frontend-settings for guest
Nathan Explosion Posted August 22, 2023 Author Posted August 22, 2023 (edited) Thank you - I'm unable to reproduce the issue based on your configuration, and viewing as a guest (feel free to go to here to see it in effect) 24 minutes ago, Dru Vagale said: 2. As we are checking through as guest, so we don't have any frontend-settings for guest As you've offered up this information, I have to ask whether clicking the notice work when you are logged in? Looking at your site, I am going to point out that there is a general Javascript-related error in the developer console, which is likely to have a knock-on effect on the JS functionality used when the notice is clicked on: 24 minutes ago, Dru Vagale said: FYI, we have also checked in the default theme Can you make the Invision default theme available to Guests, please, as I'd like to verify something myself. Edited August 22, 2023 by Nathan Explosion
Nathan Explosion Posted August 22, 2023 Author Posted August 22, 2023 (edited) OK - I think one of your own customisations is having a knock-on effect on the Javascript that my application utilises, and here is why I believe this (You've got ability for Guests to post so can check this) In your settings, you have it set that "Guests" are not permitted to create new warnings The JS for the application, as one of the first few things done, will add an ipsHide class to a field with the ID elInput_neapp_content_warning_new That is this field, which is clearly not set with that class at the time of page load: Unfortunately, I think something early on is resulting in my JS not even running If you can present a page to me that has none of your own customisations on it (disable other 3rd party apps/plugins, set the default theme, etc) and reproduce the issue then I am happy to take a further look. Edited August 22, 2023 by Nathan Explosion
Nathan Explosion Posted August 22, 2023 Author Posted August 22, 2023 Curiosity... No idea why/where/how that is in there but it shouldn't be... <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> Any reason why you are loading up Jquery again, considering when it's already loaded up as part of the IPS framework?
Nathan Explosion Posted August 22, 2023 Author Posted August 22, 2023 Spamming my own topic... For reference - take a look at the forum index, and hover your mouse over the topic title. Once the preview appears, go ahead and click the notice - you'll see that the content appears fine there. So, narrowed it down now to the viewing of the topic = not working.
Recommended Posts