• Resolved coachsteele99

    (@coachsteele99)


    I have followed many of your posts and tried most of you suggestions like trying to get post->post-name to work. Then try to display the separate list on different pages of the signup. What happens is it does display the separate signups for each division but it adds the extra column from the other signup which is not needed. I see it is column 1 & 2 but if I make them both one to try and get just one list to show it don’t show any signups.

    http://wolfriverleague.com/?page_id=2210 – this page I don’t want BR Team column
    http://wolfriverleague.com/?page_id=2201 – this page I don’t want PONY Team column

    I had to use the checkbox to get it to at least work because the post->postpage suggestion did not work to display lists.

    This is all volunteer work for a non profit baseball league.

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • I am quite new to the Participants Database (like as of yesterday) and am working my way through things as well, but I would suggest you try one of two things;

    If you have BR and PONY fields in separate groups use the group filter (it will only display fields that you have “Column” numbers other than 0 in):

    [pdb_list groups="brstuff,abc,def,ghi" filter="type=brpage"]
    [pdb_list groups="ponystuff,def,ghi" filter="type=ponypage"]

    Or you can simply specify which fields you want to see:

    [pdb_list fields="brinfo,foo_1,foo_2, foo_3" filter="type=brpage"]
    [pdb_list fields="ponyinfo,foo_1,foo_2, foo_3" filter="type=ponypage"]

    Obviously, my group/field names are wack. 🙂

    One oddity that I found with the “post->post-name” filter tip is that you can’t have a hyphen in your page slug. Well, you *can* but then your filter has to use a “?” in place of the hyphen. Drove me nuts for a while.

    Plugin Author xnau webdesign

    (@xnau)

    You can indeed have hyphens on your page slug…WordPress uses them all over the place and they work fine in the shortcode filters. I’d be interested to know how you’re running into this problem so I can check for a bug.

    The value to use to capture the page slug is “post->post_name” by the way. Just want to make sure people are using the right string there.

    Thread Starter coachsteele99

    (@coachsteele99)

    Tried both of the suggestions. Still can’t get the list to elimate one of the columns. When I use the post->post-name and then enter a record is does not get filled in. Do I put that code on the page I want to be recorded in the default box right next to the title of the field?

    I changed the page name and slug removing the hyphen and try this code.
    [pdb_signup groups=”main,player”]
    [pdb_list search=true sort=true filter=”type=brosters&league=Babe Ruth”]. it don’t work. The way I at leas get it to show the list but has that extra column is having it like this. [pdb_signup groups=”main,player”]
    [pdb_list search=true sort=true filter=”league=Babe Ruth”]
    I don’t do this much so I am not good at the code. Maybe I will have to live with the extra column showing.

    I could also ask about my next problem which I was close to making working. New subject and post, but similar. I have another group that I made where they can enter scores, it works but there are a bunch of extra bland rows so when I try to set the order by date entered those blank rows show up on top.

    This is driving me nuts.

    Thread Starter coachsteele99

    (@coachsteele99)

    Correction I am using post->post_name. Got that right from the post I found when searching. sorry typed it wrong in previous post.

    Thread Starter coachsteele99

    (@coachsteele99)

    Here is what I did trying to follow the post I found. I created three separate Field Groups, Participant Info (slug=mail), Players (slug=players), Player(slug=player). I used a plural just because I was having some problems naming them Babe Ruth and Pony. In Participant I have jersey #, first name, last name, Age, positions.Players I use PONY-TEAM with a radio button for teams list, and I made a leagues field with a required checkbox named PONY just because I couldn’t get the lists to be separate. And I have a field and made it p and have in the default box post->post_name. Now the player group is similar with a couple name changes.

    I cannot get the list to show up separate.

    Not sure if this is appropriate but I could always give you access to the site if you wanted, Nothing important or needs to be secure on it.

    Plugin Author xnau webdesign

    (@xnau)

    I am willing to take a look if you want to email me a login… I’ll get a better idea what you’re trying to do.

    Thread Starter coachsteele99

    (@coachsteele99)

    Where do I find your email?

    Re: hyphens in slugs
    well… I stand corrected. I do not know what as happening a couple of days ago, but now if I change my filter to include the hyphen (vs. ?) it works just fine. Aargh.

    BTW, your response-time on this forum is wonderful and greatly appreciated.

    Coachsteele99,

    Yes, the code goes in the Default field.
    You also want to make that field the “Hidden” Element
    You also want to check the Signup box for it as it has to be on the page (albeit hidden) in order for it to work.

    Plugin Author xnau webdesign

    (@xnau)

    mu support email is support AT xnau.com

    Thread Starter coachsteele99

    (@coachsteele99)

    I have not idea how I figured it out, but I did. What I want to work works now. Issue resolved. I know it had to do with feedback in the post and continuing to read posts I found on this Plug In.

    A huge Thank You to all.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Particpant Database-pdb_list showing extra columns from other pdb_signups’ is closed to new replies.