• Resolved sirserendipity

    (@sirserendipity)


    Hi everybody,

    thanks for this neat plugin and evenmoreso for supporting it!!

    For the number of downloads it is possible to show them “stand alone” using [sdm-download-counter id=”X”] shortcode.

    I know I can add file size and file version to either of the “fancy” templates, but is there a shortcode to ONLY show size and version, e.g.
    [sdm-filesize id”X”] or
    [sdm-fileversion id”X”]

    If – in addition – there would be a shortcode to only show the download description, it would be possible to come up with HTML/PHP based templates on pages and posts without the need to dig into any code 🙂

    Thanks in advance!

    John

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for your request. I have submitted a message to the developers to investigate further your request.

    Kind regards

    Plugin Author mra13

    (@mra13)

    We don’t have a shortcode for that right now. I will look at adding something for it in the next release.

    Thread Starter sirserendipity

    (@sirserendipity)

    How very cool. Thanks so much for considering my suggestions!

    To complete the list of possible details for downloads, which might come in handy:

    File Size, e.g. [sdm-filesize id”X”]
    File Version, e.g. [sdm-fileversion id”X”]
    File Date, e.g. [sdm-filedate id”X”]
    Author, e.g. [sdm-author id”X”]
    Description, e.g. [sdm-description id”X”]

    I don’t know, if you can implement all of it and I have no clue about the effort neccessary: I’m grateful for anything of above list you can add.

    Thanks again!

    John

    P.S: I do not need/want any plugin, but if you accept donations for your plugin and support, please let me know a link!

    Plugin Author mra13

    (@mra13)

    I have added a new shortcode for this in the new version of the plugin. Here is how you can show those info:

    [sdm_show_download_info id=”123″ download_info=”file_size”]

    [sdm_show_download_info id=”123″ download_info=”file_version”]

    Thread Starter sirserendipity

    (@sirserendipity)

    Hey,

    thanks so much for considering to implement these features. Much appreciated!

    Much to my regret, I seem to be unable to get it to work. I copied both strings you provided, modify the ID but cannot get rid of the error message:

    Error! The value of “download_info” field does not match any availalbe parameters.

    I tried to modify the according values in case providing a special input format (e.g. numbers) is required but none of the values below made a change:
    Size:
    42,7 MB
    42.7

    Version
    v1.0
    1.0

    Would you please be so kind as to have a look, what might cause the problem?

    URL: https://sirjohn.de/ultima-6-project/
    WP Version: 4.9.4-de_DE

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi @sirserendipity, please check the following documentation. Let us know if this helps you.

    Thank you

    Thread Starter sirserendipity

    (@sirserendipity)

    Hi again,

    it took me a while to figure out the problem, but I finally tracked it down.

    The code works fine now. Thanks.

    A word of warning though, for other users:

    I initially copied the shortcode not from the documentation link but from the post above mine from mra13. This forum formats the “” characters in a way that WP cannot work with – hence the shortcodes are left not working until you replace the “” with regular ones.

    If you copy the code from the documentation site the “” characters are working fine.

    Thanks again for your work!

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi @sirserendipity, I am happy to hear that you have resolved your issue. Well done.

    Kind regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Is it possible to show ONLY file size and file version?’ is closed to new replies.