• Resolved vgvidscom

    (@vgvidscom)


    Dear Author,

    First I like to say, thank you for making this plugin. I’m Bart, founder of [ redundant link removed ]. I screened the FAQ section, but still face some difficulties.

    1) I use the Contact Form 7 in order for visitors to upload their ICO’s. You can find the contact form that I use for this purpose on the frontpage in the right corner of the header (SUBMIT ICO – button).

    Until recently, the submitted form was nothing more than an email send to the ICOgoals email inbox. Thereafter, we had to copy paste all submitted fields into a new post in order to post an ICO post. An example of a single ICO post is here: [ redundant link removed ]

    Of course, I was looking to automate this process and found this plugin. I already managed to do the following:

    – I have created a Custom Post Type (let’s say the name is ‘ICO CUSTOM POST’) with Pods plugin.

    – I used Advanced Custom Fields Plugin to create +50 custom fields in order to cover all information of a new ICO (Field overview saved as ‘ICO CUSTOM FIELDS’)

    – I created a Rule in the ICO CUSTOM FIELDS overview that states that these fields have to be automatically loaded once you click in dashboard menu: ‘New ICO CUSTOM POST – post’

    – However, although the custom fields are now visible in the new custom post overview once you open a New ICO CUSTOM POST, they are still not visible on the front end of the website.

    – So next step what I did was to use Visual Composer Plugin. With this plugin, I created a template that displays all the custom fields in a tabbed overview, as can be seen again with this link: [ redundant link removed ]

    – In the settings menu of the Visual Composer Plugin, I made sure that the template that I saved in Visual Composer (let’s say: ‘ICO POST FRONTEND TEMPLATE’) is automatically loaded (set as default template) for the custom post type that I created : ICO CUSTOM POST.

    – To test if everything works I went back the WP dashboard and clicked on: New ICO CUSTOM POST. It works: I directly get a new post environment for my custom post with the custom fields & also the visual composer template automatically loaded in the screen.

    So far so good.

    – Now I downloaded the Post My CF7 Form plugin and started to map all form fields to meta custom fields that I created in Advanced Custom Fields. And I selected my Custom Post type (ICO CUSTOM POST) as the standard post type for these mapping instructions.

    – To test I filled in a form, submitted the form, and indeed the form was automatically saved as a Draft ICO CUSTOM POST.

    However my problem is:

    1A) The visual composer template is not automatically loaded anymore into the post. So I still have to perfrom a few steps to make the visual composer template (ICO POST FRONTEND TEMPLATE) visible. It is not the end of the world, but it will irritate over time to perform these extra steps. I’m not sure why I have to do this, because I set this template as default for my custom post type. Do you know what goes wrong here and if this is fixable?

    1B) Same issue for my custom fields that normally automatically load into a New ICO CUSTOM POST. When I open the draft of the submitted form (Draft ICO CUSTOM Post), I still have to perform steps to load these custom fields into the draft post. Can we take away these extra steps, is there a fix?

    2) After testing to upload the form into my custom post, I noticed that images are not copied into my custom fields. Do you know what to do? For example: visitors can upload a logo, and I have a custom field (image field) for the logo. But it is not visible.

    2) After testing to upload the form into my custom post, I noticed that dates are not copied into my custom fields. Do you know what to do? For example: visitors can upload the date of the ico with the help of a date picker, but this is not visible in my custom field (date field).

    [ Signature deleted ]

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter vgvidscom

    (@vgvidscom)

    Regarding 2) to add some info:

    – We made sure that visitors can upload images about their ICO, like: roadmap, logo, team picture, etc… –> they upload this information via contact form 7: for this we use file fields, an example is:

    <p>Optional: upload roadmap image (jpg or png; max. file size 0.8mb)<br />[file roadmap-image filetypes:jpg|png limit:0.8mb] </p>

    – Now we want to map these uploaded image files in Custom Fields, e.g. ‘custom field roadmap screenshot’

    – These custom fields will be organised with visual composer in order to project them front end on the website.

    –> So the issue is: We are able to map text fields into custom fields (custom fields are made with Advanced Custom Fields) and thereafter projecting them front end on the website using visual composer.

    However, for file/image/date fields we are not able to accomplish this.

    We appreciate some input and help!

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Hi Bart,

    so to start with, you should be aware that there are issues mapping a form to custom fields that have been created with the ACF plugin as many others have reported in the support thread. I am yet to investigate the reason why, but I suspect that ACF does not create custom fields using the st WP core approach.

    so here is what I suggest you do to get your problem solved,

    1. Remove ACF altogether and start from scratch.
    2. Create your form, possibly use the Smart Grid layout plugin to design a more compact form on the front-end (I noticed your form is extremely long and therefore not very user-friendly to fill in).
    3. Use the Post My CF7 form to create a new custom post and map your form fields to custom post fields. The plugin will create all these fields for you.
    4. The images uploads are stored as url strings in the custom fields, the urls point to the location of the image in your uploads directory. Again this is the reason why your ACF created fields are not showing them, because ACF expects an attachment ID I presume.

    hope the above is clear. If you need further custom support, you can ping me on vrata at syllogic dot in

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Questions regarding Visual Composer, date & image fields’ is closed to new replies.