• Resolved crldev

    (@crldev)


    Hi there,

    I really rate this plugin and I use it so that logged in members can see recommended suppliers.

    Is there a shortcode to allow a user to download suppliers to a csv?

    Many thanks,

    Rob

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    Here’s a link to a free add-on that adds a [cn_csv_export_button] shortcode that outputs a button that when clicked will download the directory as a CSV file. I have not tested it in a while but it should still work.

    I hope this helps!

    Thread Starter crldev

    (@crldev)

    Hi Steven,

    That is absolutely brilliant – many thanks. I will be cheeky now and ask if there is any way that I can control which fields are output.

    Thanks,

    Rob

    Thread Starter crldev

    (@crldev)

    PS I use it for Organisations and ideally I would like it to export just those fields.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Sorry, no, the fields can not be controlled. the shortcode does have a few options:

    • container_class=> ”
    • button_class=> ”
    • text => ‘Download CSV’
    • type => ‘all’
    • wait => ‘Please wait, processing…’
    • done => ‘Processing complete, preparing file for download…’
    • mobile => ‘CSV Export not available on mobile device.’

    The type option has several valid options, they are: address, phone, email, date, term, and all.

    These sort of configure the exported fields by limited the exported fields, but not in the way you are asking, I think.

    Thread Starter crldev

    (@crldev)

    Thanks for such speedy responses. Just one final question…

    I can see and use the button when I am logged in as admin. When I then login as a subscriber, the button is not visible. Is this something to do with roles settings or something else?

    Many thanks,

    Rob

    Plugin Author Steven

    (@shazahm1hotmailcom)

    The logged-in use must have the export capability. This can capability can be attached to a user role using a plugin like Members. I hope this helps!

    Thread Starter crldev

    (@crldev)

    Thank you!

    Plugin Author Steven

    (@shazahm1hotmailcom)

    No problem, happy to help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘User export’ is closed to new replies.