Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Josiah Wallingford Posted May 7, 2018 Posted May 7, 2018 I think I saw this on the marketplace at one point. I am hoping someone can help me find it (or tell me im crazy and it never existed). I am looking for an application or plugin that will allow me to customize the Error Messages displayed to users.
bfarber Posted May 8, 2018 Posted May 8, 2018 You can simply translate them from the Languages area of the AdminCP. No plugin is necessary.
Josiah Wallingford Posted May 8, 2018 Author Posted May 8, 2018 I was hoping to add different images to the error page depending on where they are receiving the error.
Daniel F Posted May 8, 2018 Posted May 8, 2018 This would indeed require a custom plugin, but I'm really not aware of such app or plugin in our marketplace.
All Astronauts Posted May 8, 2018 Posted May 8, 2018 Cough...Kitchen Sink.... (just a single one time customize though, not situation specific)
Josiah Wallingford Posted May 8, 2018 Author Posted May 8, 2018 6 hours ago, All Astronauts said: Cough...Kitchen Sink.... (just a single one time customize though, not situation specific) Yes, I was going to renew my purchase for kitchen sink but I am running 4.3 and am waiting for an update.
All Astronauts Posted May 8, 2018 Posted May 8, 2018 It's fine as far as I can tell (as noted in the support topic). I just need to make a full sweep before adding the 4.3 tag in the Marketplace. Actually worked on KS today rewriting some JS to ditch a library (and general clean up) A refreshed version should be out in a day or two but still, no worries to use now.
Joel R Posted May 14, 2018 Posted May 14, 2018 I'm always a fan of @All Astronauts so Kitchen Sink is an option. Here's another option:
Josiah Wallingford Posted May 16, 2018 Author Posted May 16, 2018 One example is the -200 error message when someone uploads an image. It does not tell the user what the problem is (the resolution is too high). If I customize that error 200, how do I know there isn't another place where an error -200 would appear and why it would appear. So, I could customize the error -200 to say "The resolution for your photo is too high. Please choose an image with a resolution of {current resolution settings} or lower." but if that error shows somewhere else for some other reason, it would be silly to show that error message.
opentype Posted May 16, 2018 Posted May 16, 2018 4 minutes ago, Josiah Wallingford said: It does not tell the user what the problem is Because the IPS software doesn’t know that. So you shouldn’t replace that generic error message with an assumed cause.
Josiah Wallingford Posted May 16, 2018 Author Posted May 16, 2018 So the error -200 is a generic error... but why would the IPS software not know what the error is if it is throwing out the error? I know the error is occurring because the resolution of the image is too large because I set the allowed resolutions in the settings. The software must know that is the cause, otherwise, why would it give an error at all? The file matches all other criteria (including being well under the file size limit) just fine and when I reduce the resolution of the image and re-submit, no error.
opentype Posted May 16, 2018 Posted May 16, 2018 I haven’t investigated this specific error in detail, but I believe Invision Community just hands over the file to the server’s image library and if it doesn't get a working file back, it has to give up and shows such a generic error. When, as in such a case, the problem happens outside the IPS software, it does not have to know the cause.
bfarber Posted May 17, 2018 Posted May 17, 2018 The -200 error during upload means an error occurred but not a specific one. Sometimes it means GD ran out of memory which can't be captured for instance.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.