1. Fabrik 3.8.1 has been released. It is mostly bug fixes and feature enhancements, but does include two new plugins (push notifications, and the sequence element). As usual we strongly recommend testing the new release on a sandbox if your application is mission critical, and always do an Akeeba backup before updating.

Possible plugin conflict between fileupload and consent

Discussion in 'Community' started by xycofryx, Apr 17, 2018 at 12:30 AM.

  1. xycofryx

    xycofryx New Member

    Level: Community
    Joomla: 3.8.6
    Fabrik: 3.8.1

    I have observe a possible conflict between "fileupload" element plugin and new "consent" form plugin. Neither of the plugin shows itself to the user if used both. Can you confirm this one?
     
  2. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
    The 'consent' plugin is still under construction. I'll take a look, but don't advise using 'consent' in production yet.

    -- hugh
     
  3. xycofryx

    xycofryx New Member

    Level: Community
    Thanks Hugh...
     
  4. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
    Where did you get the plugin, btw? It's not in github yet ...

    -- hugh
     
  5. xycofryx

    xycofryx New Member

    Level: Community
  6. troester

    troester Well-Known Member Staff Member

    Level: Standard
    This is not the fabrik-master repo.
     
  7. jfquestiaux

    jfquestiaux Well-Known Member

    Level: Professional
    The plugin is now into the master repo now. Note that it's still somewhat a work in progress and some issues remain with Yootheme Pro templates.
     
  8. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
    @xycofryx Just to clear up the repo thing ... this plugin was written by JFQ and originally called GDPR, which he is contributing to the Fabrik project, and I helped him with it. The repo you found is JFQ's personal repo, not the official Fabrik one. And you found it before I added it to the main Fabrik one.

    Going forward, we'll be using the main Fabrik one, although JFQ will continue to work on it and help maintain it.

    -- hugh
     
  9. xycofryx

    xycofryx New Member

    Level: Community
    Thank you for letting me know. BTW I'm really excited to use that plugin, but for now I just have to resort to the checkbox plugin to do the consent for privacy policy. Thanks again in advance and for the advancement of the Fabrik community.
     
  10. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
    I can't replicate any issues with 'consent' and 'fileupload'.

    Do you have a test page I can look at?

    If you do a full github update (see wiki), you'll get the latest 'consent' code from the Fabrik repo.

    -- hugh
     
  11. xycofryx

    xycofryx New Member

    Level: Community
    Fabrik 3.8.1
    Joomla 3.8.7 and 3.8.6

    Error on chrome console:

    VM27643:8 Uncaught Error: Script error for: form/consent/consent-min
    http://requirejs.org/docs/errors.html#scripterror
    at C (eval at <anonymous> (jquery.min.js?e212bc2f35257d69ac340af613846dcd:2), <anonymous>:8:252)
    at HTMLScriptElement.onScriptError (eval at <anonymous> (jquery.min.js?e212bc2f35257d69ac340af613846dcd:2), <anonymous>:29:514)

    [​IMG]
     
  12. xycofryx

    xycofryx New Member

    Level: Community
    Sorry for the late reply @cheesegrits . Yes I can now confirm that the consent is working on my site. thanks. :)
     
  13. jfquestiaux

    jfquestiaux Well-Known Member

    Level: Professional
    Hi.
    I've tested locally and so far I can't reproduce the issue, that is my AJAX fileupload are working as expected.
    What are the grey tags in the "Means of verification" box?
    Also, you have a checkbox with terms and conditions. Is that a checkbox in your form? If yes, you don't actually need it, the consent plugin goes automatically at the end of the form, with its own checkbox and records consent in its own table, not the form's.
    In my tests, the Captcha comes before the plugin.
    Maybe you have an URL where I can have a look?

    Also, as a side note, you should consider encrypting those data in the database since you are collecting sensitive informations (LGBT). You have an option in the element settings, in the "Access" tab to encrypt the data. Note that it is not working with all element, like probably the radio button element, but at least the name, email, ... would be unreadable.
     
  14. xycofryx

    xycofryx New Member

    Level: Community
    Thank you @jfquestiaux Yup it works as expected:

    1) The gray tags are valid ID's and documents used for user verification.
    2) Yup I have it remove already.
    3) Captcha first before the consent.
    4) The Website is due to be online for alpha next month, for now it on my laptop for the mean time. I'll send you the link.
    5) Yup duly noted on the encryption of sensitive information :)
     
  15. jfquestiaux

    jfquestiaux Well-Known Member

    Level: Professional
    Great to hear it's working.
    About the grey tabs, I was wondering how you set them up. With a display element? Or directly in the template? (same with the color tabs under the password element).
     
  16. xycofryx

    xycofryx New Member

    Level: Community
    It can be applied to all elements theoritically.

    1) Choose an element then go to Publishing > Tips > Tip text
    2) Pick the form in which your element belongs and in the tab called options pick Tip Location set to below.
    3) Enjoy!

    #Edit - I forgot to mention I'm using Purity III as a template that comes with Bootstrap 3, as for the tags... it's a label class from bootstrap

    <span class="label label-default">Minimum Password:8</div>
     
    Last edited: Apr 19, 2018 at 12:12 PM

Share This Page