WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
[resolved] Can't find shortcode (13 posts)

  1. fsn
    Member
    Posted 2 years ago #

    We reinstalled on site and it is working well now (thanks!) and we're very excited about this plug in--thank you for creating it! However, I am a total newbie with code and can't seem to find where the short code is to copy it and install on desired page. I'll eventually want to have the front end visible to website visitors, and I saw a thread where I can grab the code for that. In the meantime, please forgive dumb questions... where do I grab the short code from once my fields are established. Thanks!

    http://wordpress.org/extend/plugins/participants-database/

  2. That plugin has a lot to read! But it's mentioned on the Installation tab.

    http://wordpress.org/extend/plugins/participants-database/installation/

    Place [pdb_record] in your blog posts and pages to show the signup form

  3. fsn
    Member
    Posted 2 years ago #

    I see this, Jan, but where do I find the [pdb_record] in order to place it on the pages? - thanks for helping!

  4. Ah, got it! Sorry about that. That's a complex plugin (but looks really well documented), hopefully the plugin author will see this tag and reply.

  5. fsn
    Member
    Posted 2 years ago #

    Hopefully - thanks. :)

  6. bran8464
    Member
    Posted 2 years ago #

    There is a code for displaying a single record [pdb_single] so it shouldn't be impossible to dispay all records. However dtat protection may be something to be concerned with.

    I would like to have a search facility on one field and display that one record. I live in hope.

  7. xnau
    Member
    Plugin Author

    Posted 2 years ago #

    @fsn, Shortcodes seem kinds mysterious at first, but all it is is just this text which you type in to your content: [pdb_signup]

    That will print the signup form when the page is viewed. Start with that, and the rest will be easier.

    @bran8464 the latest update includes the ability to add a search form to the [pdb_list] shortcode. If you want to display only one record you can either use the [pdb_list] shortcode with a filter--or you can use the [pdb_record] shortcode with the id if the record you want to show in the URL. It is explained in the docs, but I realize there's a lot to explain and I did not go into a lot of detail.

  8. bran8464
    Member
    Posted 2 years ago #

    @xnau

    I have removed 1.3.3 and installed 1.3.4 as suggested. However I am finding that a 15 digit numerical field will not save to the record.

    I have a test site still using 1.3.3 and that does save the field to the record. BTW my one and only search requirement is on the unique 15 digit numerical field to display the one record that matches.

  9. fsn
    Member
    Posted 2 years ago #

    Thanks so much - now it makes sense! :)

  10. xnau
    Member
    Plugin Author

    Posted 2 years ago #

    bran8464,

    I just tested this and had no trouble...I think I need you to go into more detail...what kind of field are you using to store the number? Do you have a page where I can see the problem?

  11. bran8464
    Member
    Posted 2 years ago #

    This is the test site which will be deleted once the live site is completed and operational : http://idchip.websanon.com/

    The above site has 1.3.3 and works fine. You will see from the forms that the id chip number is crucial.

    The live site is under contruction. It is running v1.3.4. I cannot add the id chip no in admin/edit record. I enter it but it isn't saved.

    http://www.id-chip-it.co.uk

    The input form on the site won't accept the number even though it has the validation box ticked in admin.

    It's nearly midnight here so I will be offline in 20 mins.

  12. xnau
    Member
    Plugin Author

    Posted 2 years ago #

    bran8464,

    I think I see what your problem is. You created a field name with a dot, and that's preventing it from working. Delete that field, and create a new one without a dot in the name. You can use a dot in the title if you like.

    I just tested it, and the dot causes the field value to not be saved.

    Thanks for bringing this to my attention...I didn't realize the dot would have that effect.

  13. bran8464
    Member
    Posted 2 years ago #

    Thanks, that fixed it. E-Mail sent.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic