Participants Database 1.5 WordPress Plugin

Call for Beta Testers!

Release of version 1.6 is coming, with new features & many code improvements.

I need beta testers, so if you have an install of Participants Database in a non-critical application and want to run it through it’s paces for me, email me.

what’s new in 1.5

There’s lots of improvements under the hood, and a list of new and better user features too:

Plugin Overview

This WordPress plugin is for the purpose of creating a database for use in a WordPress site. It is primarily intended as a way to manage information pertaining to people such as the members of a club or team, volunteers, students, anything like that. It gives you the ability to allow people to create and edit their own record while additional information can be managed by administrators or managers. The plugin may also be used as the basis for an index, directory or catalog.

>> Quick Setup Guide

The database is made up of fields, and each field may be one of several types that are uniquely suited to store a particular kind of information. These fields can also be divided into groups to help organize the information. Fields can also be provided with help text to assist users in providing the information.

Please read the documentation fully, as this is a complex plugin that can be used in a lot of different ways.

I have created a page that gives a step-by-step method for setting up a typical application of the plugin. I suggest you begin with that, it will help you understand how the plugin works and also give you a working baseline so you know the plugin works on your site. You can make your modifications to the plugin functionality from there.

Next… Using The Participants Database Plugin

2,295 comments

Hi Roland. I’d like to thank you for your patient replies and professional, humane help!

I’ve been contacting you about the issue with empty string and comma in the list results when using a checkbox or multiselect checkboxes. I figured it would be more beneficial for everyone to see in case other people are experiencing the same issues.

I have found what’s causing this to happen with my stored serialized arrays. There’s a blank hidden field that has a value of “0″ which appears to be causing this.
The code, ‘aux_plugin_settings . ‘[%1$s]” type=”hidden” value=”0″ />’ seems to be the root of this issue. In Chrome dev tools, when I delete the hidden field where ever I’m using multi checkboxes, and submit the form, it stores and displays my checkbox values the way I expect without the leading empty string, integer, and comma.

Is it possible for me to comment out this code in the proper PHP files? Would this cause any future problems and which files?

Thanks,
Bob

by Robert Wilkins on August 20, 2014 at 7:40 am. Reply #

Yes, that is the issue, it’s a documented bug I’ve got fixed in the next release. The only problem with your fix is that you won’t be able to store a “nothing selected” state. That’s what the hidden field does, although I needed to improve the code so it works under all circumstances.

by Roland on August 20, 2014 at 9:31 am. Reply #

Thanks for your reply. If I just grabbed the affected files you’ve posted in the new release on github would it still work?

Can you point me to the PHP files that have this code?

Thanks again!
Bob

by Robert Wilkins on August 20, 2014 at 9:35 am. Reply #

Bob, if you’re going to use the new release, you have to use the whole thing. Check this page out for instructions:

Participants Database Beta Test

by Roland on August 20, 2014 at 9:53 am. #

So is there no way to remove the hidden field? I tried to remove this code from my forms ‘aux_plugin_settings . ‘[%1$s]” type=”hidden” value=”0″ />’ from the code in PDB_Aux_Plugin.class.php but that file had no effect on my form.

I know you mentioned the beta version but I’m a little worried about testing it on a production site.

Can you let me know what code I’d have to modify to eliminate the hidden field(s) for checkboxes? When I remove them in my browser, the records seem to save just fine.

Thanks again,
Bob

by RW on August 20, 2014 at 3:55 pm. Reply #

OK, I got it. I’ve resolved the issue and edited the code. I will make sure to be careful when you release the Production version of your updated plugin.

Thanks again,
Bob

by RW on August 20, 2014 at 7:13 pm. #

Leave your comment

You can use these XHTML tags: <strong> <em> <code> <pre> <a href="" title=""> <img src="">

Required.

Required. Not published.

If you have one.



css.php