Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
chopin Posted April 8, 2022 Posted April 8, 2022 (edited) I notice that when uploading an audio file, the mp3 file does not "auto insert" when posting. If the user forgets to insert the audio, there is a bug which I attached. Auto insert must not be removed so that this bug does not occur. But I have an idea why the bug occurs. The error is stating that 4 parameters are passed into this template which now has been updated to have 5 parameters. So I think this is what the error is indicating. If this issue can be fixed quickly, I would greatly appreciate it. My forum is a music forum where users are consistently updating mp3s, and there will be all sorts of error messages around this now because of the parameter mismatch issue and lack of "auto insert". Edited April 8, 2022 by chopin
chopin Posted April 8, 2022 Author Posted April 8, 2022 Let me just tell you what I'm trying to do, because it no longer is working on my end. I want to "hide" the html5 player that is automatically inserted so that my custom html5 player is the only player showing in the post. So I made a template hook change replacing the html5 code. This used to work, but the template changed, and now on my dev computer, I can't even do a simple replacement. Here is an example of the issue I am having: Template Error So the user uploaded the mp3, and did not click "insert". This led to the template error which you can see in detail from my first post. But let's say this html5 player is inserted. I can't seem to "remove" the player by replacing it any longer in the template hook. You can see an example in my dev tools screenshot. This replacement doesn't work.
Marc Posted April 8, 2022 Posted April 8, 2022 Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.
chopin Posted April 8, 2022 Author Posted April 8, 2022 Wonderful! Thank you for taking the time to review. I spent a lot of time on my end making sure it was actually a bug on your end, rather than on my end. Marc 1
Solution Marc Posted April 8, 2022 Solution Posted April 8, 2022 There has now been a patch released for this. If you take a look within your admin CP, and go to support in the top right, you will see an optional patch available.
chopin Posted April 10, 2022 Author Posted April 10, 2022 Thank you very much for the quick release. That fixed the issue beautifully!
Recommended Posts