• Resolved angeljs

    (@angeljs)


    I’m not sure if this is what I need, but I’m trying to get a download counter for files uploaded with Formidable pro. This is the shortcode I am using:

    [foreach 397][wp_mb_plugin_download instance="1" password="" buttonname="Download" name="[401 show=label]" datetime="" other="" atagseo=""][401 html=1][/wp_mb_plugin_download][/foreach]

    The download link works on the page, but there is just an error message:
    https://s5.postimg.org/rteov73cn/Clipboard.jpg

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author prod3v3loper

    (@prodeveloper)

    The plugin does not support Formidable pro because this [401 html = 1] is not a URL, but you need a URL here so that the path to the file can be determined because the path to the file can not be determined File does not exist or was not found.

    [Foreach 397] [401 html = 1] [/ foreach] as I see this is a short code from Formidable pro I need to know what this shortcode does when I have the time I can gladly check if it is possible To support it.

    If you know what this short code does or has a link where this is described then simply post here, it would be easier for me and time spare.

    Hope could first help.

    And thanks for your feedback.

    • This reply was modified 8 years, 5 months ago by prod3v3loper.
    Thread Starter angeljs

    (@angeljs)

    Thank you for your reply. Formidable Pro has a repeatable section for a form where you can add unlimited website URL’s. This is where the foreach code comes in, so for each link, you can present them however you want.

    The 401 is the URL field, and the html=1 outputs the URL as clickable. So for each link that is entered, it should show a clickable link, which it does in the form, but just not when I add your shortcode, if that makes sense. ??

    https://formidablepro.com/knowledgebase/field-types/section-heading/repeatable-section/

    • This reply was modified 8 years, 5 months ago by angeljs.
    Plugin Author prod3v3loper

    (@prodeveloper)

    A clickable link would not work because it would look <a href="URL">LINK</a> but the downloader needs only the URL to the file.

    You cross 2 schortcodes which are not tuned on, so here are entries for developers
    frmpro_fields_replace_shortcodes
    and i think
    Insert-multiple-values-into-a-shortcode that is that What we need to make it work the way you want or one of the others.

    [foreach 397][wp_mb_plugin_download instance="1" password="" buttonname="Download" name="[401 show=label]" datetime="" other="" atagseo=""][401 html=1][/wp_mb_plugin_download][/foreach] This is what I think of the implementation, both shortcodes try to convert now, however, the problem is that when the downloader is running, this is still no URL [401 html = 1] But for more precise information one would have to investigate this.

    At the top in the link the function with wp_get_attachment_url ($ v), in the background with PHP the URL and the needs of the Downloader to function properly.

    I can try to consider this in the next version, if you are not fit in PHP, but can not promise.

    Best regards

    • This reply was modified 8 years, 5 months ago by prod3v3loper.
    Thread Starter angeljs

    (@angeljs)

    No, I’m definitely not a programmer! ?? Your consideration would be very much appreciated, as there is no way to count downloads within Formidable Pro and they appear to not be interested in implementing that. ??

    Plugin Author prod3v3loper

    (@prodeveloper)

    I have already thought ?? But some non-programmers try it out themselves.

    I can offer you:

    1. As I can not promise it since I do not have Formidable Pro, if I should install the filter, it can be that a new error occurs. I would have Formidable Pro also so I can test it correctly, so it runs error-free then, but I personally do not need it.

    2. If you trust us you have us access to server / webspace via FTP and your WordPress access, so we can test it for you and run for you, then you can change all access data again so we can Not any more.

    And with the next version, it would be available to everyone.

    This is what I can offer you, the decision is with you, wait and not know whether it will work or something faster and be sure it works.

    If you should decide for 2 then just send a private mail with the data to Samet Tarim.

    Best regards

    • This reply was modified 8 years, 5 months ago by prod3v3loper.

    Just a heads up. Since you are including html=1 in there, you are telling it to add the link. You should use [foreach 397] [401] [/foreach] to get just the url. Here’s more information on file field display options.
    https://formidablepro.com/knowledgebase/field-types/file-upload/#kb-display-images

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Working with Formidable Pro uploads’ is closed to new replies.