Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 10, 20222 yr On my page I would like that when a guest clicks on a category in the download section that a customized message appears. At the moment it's this one here : Quote We could not locate the item you are trying to view. Were can I change that message ?
July 10, 20222 yr Well, there is the category setting: You might need to revise your permission settings though. There is a difference between viewing categories/file records and downloading the files. If you prevent users from seeing anything, then that’s exactly what will happen. Users might not see specific error messages, if they are not allowed in a specific section to begin with. That’s intentional. Edited July 10, 20222 yr by opentype
July 10, 20222 yr Author 5 minutes ago, opentype said: Well, there is the category setting: You might need to revise your permission settings though. There is a difference between viewing categories/file records and downloading the files. If you prevent users from seeing anything, then that’s exactly what will happen. Users might not see specific error messages, if they are not allowed in a specific section to begin with. That’s intentional. Yes that works for the single download posts but not if somebody clicks direct on the category where you find those posts.
July 10, 20222 yr 5 minutes ago, hpcrazy said: Yes that works for the single download posts but not if somebody clicks direct on the category where you find those posts. Yeah, like I said: if you prevent (listing) access, you prevent (listing) access. Users will not even get to the custom error messages. I do not think there is a way around this. As I said: you could consider letting people see the file list and then hit the custom error messages later.
July 10, 20222 yr Author 3 hours ago, opentype said: Yeah, like I said: if you prevent (listing) access, you prevent (listing) access. Users will not even get to the custom error messages. I do not think there is a way around this. As I said: you could consider letting people see the file list and then hit the custom error messages later. I had that before - the problem is that a guest now started to create like 10 invoices per day just by clicking on the " buy " button. And I don't want to go to delete these invoices daily. So I want that guests can see the content of the category but can not click on the added files....
July 10, 20222 yr Community Expert There's no built-in option for this, but it should be easy enough to edit the template and remove/disable the button for guests or replace it with a message in case. Or, as I usually suggest, it's better making a quick plugin that takes care of it so you don't edit the template (which properly keeps auto-updating with new versions).