• For some reason, new signups are not showing up on the non-admin lists. They show as “approved”, but are missing using the pdb_list function.

    If I edit the record (making no changes) and save it – then they appear in the list. I need all signups to show up in the list. I am not sure if this has to do with the “approved” field or not, but I have it set as a default to “yes”.

    I have to track down each new entry now, and count entries to see if any and how many are missing. There is no way for me to tell from the admin list which are omitted from the pdb_list.

    https://www.ads-software.com/plugins/participants-database/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author xnau webdesign

    (@xnau)

    The default value is not saved with new records, but you can try filtering out those that have been unapproved:

    [pdb_list filter=”approved!no”]

    Thread Starter tps777

    (@tps777)

    Is there a way to default for all submissions to be approved? Or disable this approval feature?

    BTW, if I understand your reply correctly, even if they show up in the admin list as “yes” under approved, it is not really approved?

    Plugin Author xnau webdesign

    (@xnau)

    The approval feature is meant to be a way to prevent new records from showing up in the list before they have been approved. If they are approved by default, then you don’t really need the feature. To disable it, you should remove it from the “filter” attribute of your list shortcode.

    Thread Starter tps777

    (@tps777)

    So, I would have to add the filter=”approved!no” to each page that shows lists of profiles, or any page I create in the future? Would that be accurate?

    Thread Starter tps777

    (@tps777)

    When I use [pdb_list filter=”approved!no”] that works. But I have an existing filter I need to use, and that one no longer works when the “approved!no” is added.

    Any ideas?

    Thread Starter tps777

    (@tps777)

    [pdb_list sort=”true” filter=”group_and_team_assignment=1-unassigned,approved!no” display_count=”true” orderby=”last_name” order=”asc” fields=”view_link,days_available,race_section,skills_and_interests,first_name,last_name,age_verification,email,edit_link” ]

    With the above, the correct “group_and_team_assignment…” does not take effect.

    Plugin Author xnau webdesign

    (@xnau)

    You’re not adding your filters correctly, the syntax is wrong, you havet o use an “&” to combine statements:

    filter="group_and_team_assignment=1-unassigned&approved!no"

    Thread Starter tps777

    (@tps777)

    Thank you!

    I used your text, and it does filter the correct group, but no does not show the unapproved profiles. Where the “approved” fields are blank (not approved) the profiles still do not show.

    Should I set the default value be set to “no”? I think you said the default value has no effect, but just trying to think what to do.

    Thanks for your help.

    Plugin Author xnau webdesign

    (@xnau)

    The default value is not saved…so that approved feature really only works if you are manually approving records. If you want records to be approved by default, then you shouldn’t filter by the approved value. The filter doesn’t handle blank values properly in this version of the plugin. In the upcoming release, that has been changed.

    Plugin Author xnau webdesign

    (@xnau)

    Your best way to deal with this is to include an “approved” field (as a hidden field) in your signup form, that way the value will be saved with the new record…sorry about this, I know it shouldn’t be necessary.

    Thread Starter tps777

    (@tps777)

    Sorry for this dumb question, but how do I hide the approved field? I added it to the signup form, but can’t hide it. I tried using the tool you created for me [pdb_signup template=select_readonly] (and setting it up, as I did the other pages for example [pdb_record template=select_readonly] – which works perfectly) but this didn’t hide it on the signup form.

    Are you saying to edit the pdb_signup file itself maybe?

    Sorry for all this, but we are using the thing now, and its turned into an issue because I have to approve them all – and if I don’t do it fast enough I start getting phone calls and emails with people in a panic. We expect a few hundred entries in the next week. :/

    YOUR HELP IS MUCH APPRECIATED

    Plugin Author xnau webdesign

    (@xnau)

    I understand. There are two ways to approach this, you can hide the element in the template, but that is a little tricky, you have to set up your “if” statement so that it will hide the “approved” field and prevent the wrapping HTML from printing. You can hide an element by changing it’s “form_elemnent” property to “hidden”. Here is some code, but you’ll need to figure out how to get it into your template:

    <?PHP
    if ($this->field->name == "approved") :
       $this->field->form_element = 'hidden';
    else : ?>
    <!-- your regular code to print all other fields goes here -->
    <?php endif ?>

    The other way to do this is to just make the “approved” field a hidden field.

    Thread Starter tps777

    (@tps777)

    I marked the approved field to show up in the signup form. It is not hidden, but until I get another solution this seemed easiest and I can live with that – but this doesn’t seem to work either. The names still do not show up in the list.

    Can this feature be turned off? or I’m not sure what else to try.

    Plugin Author xnau webdesign

    (@xnau)

    To turn it off, you just need to remove the “approved=yes” from the filter attribute of the list shortcode.

    Thread Starter tps777

    (@tps777)

    Hmmm… I haven’t been using this, here is my list shortcode for the page

    [pdb_list sort=”true” filter=”group_and_team_assignment=1-unassigned” display_count=”true” orderby=”last_name” order=”asc” fields=”view_link,days_available,race_section,skills_and_interests,first_name,last_name,age_verification,email,edit_link” ]

    If they are not marked approved, and I don’t view the profile and click “save” they will not show up in the list. But they do show up in this list
    [pdb_list orderby=”group_and_team_assignment” order=”asc” sort=”true” list_limit=”500″ search=”true”]

    Maybe I have a different issue than the approved function? If anyone signs up right now, I have to click that link and press save (I don’t change anything) before they will show up on the first page above.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Marked approved, but not showing in list’ is closed to new replies.