BGM

Forum Replies Created

Viewing 7 posts - 76 through 82 (of 82 total)
Sep 5, 2019 at 4:08 pm
#112086
Participant
BGM
OP

Asking of course as I tried to make it happen and it didn’t work. I added the Custom Fields plugin, created a group and field as that seemed to be the only option. I then tried to take your example code and just replace the field name, that didn’t work.

I tried modifying your snippet based on the info at the bottom of the field in the custom field plugin:
Template Tag: [acf_DocumentFields_firmname]
PHP Code: <?php echo wpdm_acf([ID],'DocumentFields/firm_name'); ?>

and either I couldn’t get it right, or that’s not it.

Thank you for any help.

Sep 4, 2019 at 7:16 pm
#112042
Participant
BGM
OP

In reference to the snippet you shared. I don’t see wpdm_custom_file_meta in https://www.wpdownloadmanager.com/doc/action-reference/
or https://www.wpdownloadmanager.com/doc/filter-reference/ or using the doc search functionality.

Trying to put your snippet into action, but I see no documentation.
Looking at your snippet. I’m not entirely clear what “File Version” or “download-manager” represent. It would seem that “version” is the “Field Name” from the Custom Field tab.

Seeing the example Custom Field that was used to go with the snippet example would be helpful to have in the documentation as well.

Aug 28, 2019 at 9:59 pm
#111485
Participant
BGM
OP

#1. Excellent. In your example code you shared did you create a custom field named “version” that is connected with the input that you are adding with that hook? Is there any limit to how many fields I can add? I am looking to have name, firm name [string], version [int], status [string], status date [date], expiration date [date], cat # [string]

#2. Makes sense. I will be adding a custom message for sure. If you can give me some slight direction on where to get to that section in the plugin code.

#3. That’s what I figured.

Right now I’m moving a project from Cold Fusion v 8.2 (yeah it’s that old) to WPDM. Phase 1 was just replicating what we have. Phase 2 will probably require some custom coding to bring some of the enhancements we want. When we get there, I’ll let you know.

Aug 26, 2019 at 6:47 pm
#111385
Participant
BGM
OP

as of now I don’t that I’m aware of.

Aug 20, 2019 at 11:09 pm
#111194
Participant
BGM
OP

I’d be very interested to know what the problem was then. Initially, I thought it was because it was a .docx file. Then soon found that wasn’t it as the .doc didn’t work either. The only way I seemed to be able to rectify the problem with the file was to change the name removing the ‘.
So I’m at a bit of a loss. 🙁

Aug 16, 2019 at 5:26 pm
#110983
Participant
BGM
OP

After a fair amount of testing when this issue popped up again, it seems that the plugin died because there was an ‘ in the file name.
originally the filename was: Promoting Good News letter – Barron’s 1200 variation

After a bunch of frustrating tests including putting it into a zip, which didn’t work either, that’s the only thing I can say that seems to have finally made it work.

Aug 16, 2019 at 4:10 pm
#110971
Participant
BGM
OP
This reply has been marked as private.
Viewing 7 posts - 76 through 82 (of 82 total)