Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
CircaCitadel Posted July 8, 2021 Posted July 8, 2021 Is there any way to remove the default version of 1.0.0 that the software gives all new files? We want versions to be an optional field but it currently forces a 1.0.0 unless deleted on the form itself. That may seem trivial, but most people will not even notice it there to remove it and I'd prefer to make the file pages look clean without them all having 1.0.0. I've looked in the theme templates but there is no mention of the code: <input type="text" name="file_version" value="1.0.0" id="elInput_file_version" maxlength="32"> Hopefully there's an easy way to remove that value that I'm overlooking.
Nathan Explosion Posted July 8, 2021 Posted July 8, 2021 I reckon it's hard-coded, but you've given enough information there for a little plugin... Adlago 1
Solution Nathan Explosion Posted July 8, 2021 Solution Posted July 8, 2021 Give this a go - tested with a field called 'file_version' but untested on Downloads as I don't use it. However, it should do the job. (NE) Downloads - no default version number.xml CircaCitadel and Adlago 2
Adriano Faria Posted July 8, 2021 Posted July 8, 2021 There's a per category setting to remove the file versioning:
CircaCitadel Posted July 9, 2021 Author Posted July 9, 2021 21 hours ago, Nathan Explosion said: Give this a go - tested with a field called 'file_version' but untested on Downloads as I don't use it. However, it should do the job. (NE) Downloads - no default version number.xml 2.05 kB · 2 downloads Perfect! Thanks so much! 21 hours ago, Adriano Faria said: There's a per category setting to remove the file versioning: I want it enabled, but optional. Like I said, it forces a 1.0.0 version and I only wanted it optional. The above plugin worked perfectly. Nathan Explosion 1
CircaCitadel Posted December 28, 2021 Author Posted December 28, 2021 On 7/8/2021 at 4:40 PM, Nathan Explosion said: Give this a go - tested with a field called 'file_version' but untested on Downloads as I don't use it. However, it should do the job. (NE) Downloads - no default version number.xmlUnavailable I'm curious if you'd be able to do something else similar to this. Would it be possible to carry over the content of the previous version's changelog when submitting a new version of a file? That way a user can add the changes to the previous version's list of changes.
Nathan Explosion Posted December 28, 2021 Posted December 28, 2021 Nope, as that would require me to buy and use 'Downloads', which I am not going to do. Post your request here and someone who already develops for the app may be able to assist.
Recommended Posts