• Is there a way to privatize a record so that even with the [pdb_list] shortcode, they will not show? Is it also possible to privatize certain fields of a certain profile (i.e. John Johnson does does not want anyone to see his phone number) so with the [pdb_single] shortcode, those fields for that certain profile?

    https://wordpress.org/plugins/participants-database/

Viewing 1 replies (of 1 total)
  • Plugin Author xnau webdesign

    (@xnau)

    It is relatively easy to hide records, there is already something like that set up as “approved” records, where a record is only shown if it is approved. You would simply do something similar, just the opposite.

    Set up a checkbox field named “private” or whatever you want. Give it a single value “yes” and no default value. This means that a record will only have a “yes” if the checkbox is ticked. Then in your list shortcode, exclue all records that have a yes value in that field:

    [pdb_list filter=”private!yes”]

    Now your second question is more complicated because you’ll need to create a custom template that shows or doesn’t show the phone number based on the user’s preference. You’ll need some coding knowledge to make that happen.

Viewing 1 replies (of 1 total)

The topic ‘Private Records’ is closed to new replies.