Skip Navigation

[Resuelto] CRED Form field to upload to Download Monitor plugin post type

This support ticket is created hace 2 años, 10 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por duongN-3 hace 2 años, 10 meses.

Asistido por: Shane.

Autor
Mensajes
#2262933

Tell us what you are trying to do?
I'm using CRED forms to allow users to create content and upload files to the site. The default file upload is very basic and only uploads to the MEDIA section of WordPress.

I want to install Download Monitor or Simple Download Monitor to add the following:
1. Track download counts
2. Show filesize

Download Monitor and Simple Download Monitor creates a separate "Downloads" section compared to the MEDIA section of WordPress.

For the Subtitle Project Post type, I'd like to reuse the File upload field from CRED forms and link it to upload to the Download Monitor section instead.
I'd also like to create a view where the files show download counts and filesize in a tabular presentation.

Is there any documentation that you are following?
No.

Is there a similar example that we can see?
I found this post from 2017, that is something similar to what I want to do. Can someone help with writing a snippet of a code for me that would allow this?
https://toolset.com/forums/topic/cred-form-field-accepting-other-plugin-shortcodes/

What is the link to your site?
enlace oculto

#2263031

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Doug,

Thank you for getting in touch.

Unfortunately the custom code required for this would be out of the scope of our support forum as such I would recommend that you get in touch with one of the registered contractors on our site that have experience working with Toolset.

They should be able to craft a custom solution for your exact scenario. You can contact any of them by going to the link below.
https://toolset.com/contractors/

Thanks,
Shane

#2263067
Screen Shot 2022-01-10 at 1.31.15 PM.png

Hi Shane,

Thanks for responding. I've posted a job in the contractors forum for now, but maybe you can help me with something in the meantime that is related to this issue I'm trying to solve.

I'm using the following shortcode to show files uploaded and associated to a post type.
This shortcode only shows the filename versus the entire URL that Toolset prints out.
[my_file_name types_field="upload-subtitle"]
The details of that code can be found here: https://toolset.com/forums/topic/wpv-post-featured-image-output-file-name/#post-335862

I added a function that I found from the Toolset support forums and I'm wondering if you can help me with 2 things:
1. Show Download Count per file
2. Show file size per file

Attached is what my view looks like on the page.

Thank you,
-Duong

#2263299

My issue is resolved now. Thank you!