• Dear Support Team,
    I am currently experiencing an issue with the editing functionality in Participants Database when using the pdb_record shortcode in the front office. Despite proper configuration, the system does not retrieve the pid parameter from the URL, which prevents users from modifying their records.
    Details of the issue:
    1. Setup:
    ? I have created a page for viewing individual records using pdb_single. The URL correctly includes the pid parameter, such as: https://myhairitage.co/fiche-client/fiche-client-detaillee/?pid=Z53BQ0Q

    I have also created a page for editing records using pdb_record, with the URL:https://myhairitage.co/fiche-client/modifier-une-fiche/

    Expected Behavior:
    ? Users should be able to click a “Modify” button or link that redirects them to the editing page with the correct pid parameter in the URL (e.g., https://myhairitage.co/fiche-client/modifier-une-fiche/?pid=Z53BQ0Q).
    ? The pdb_record shortcode should then display the editable fields of the selected record.

    3. Actual Behavior:
    ? When users access the editing page, it does not retrieve or display any data from the record. The fields remain empty.
    ? It seems that the pid parameter is not being passed or recognized properly by the pdb_record shortcode.

    4. Troubleshooting Steps Taken:
    ? I verified that the “Restrict access to logged-in users” option is enabled.
    ? I checked that all fields are set to be editable in “Manage Database Fields.”
    ? I ensured that the page URLs are correctly configured in Participants Database > Settings > List

    Display (the page containing pdb_record is properly set).
    ? I tested using different browsers and cleared all caches.
    ? I enabled debugging, but no specific errors were reported.

    Request for Assistance:
    Could you please help me resolve this issue? Specifically:
    ? How can I ensure that the pid parameter is correctly passed and recognized by pdb_record?
    ? Are there additional configurations or troubleshooting steps I should perform?
    Thank you for your assistance. Please let me know if you need any additional information or access to my setup.


Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author rolandbarker

    (@rolandbarker)

    I’m looking at your link https://myhairitage.co/fiche-client/modifier-une-fiche/?pid=Z53BQ0Q and it is displaying the editable record as expected. This suggests a page cache is causing the problem you’re seeing.

    I suggest you make sure that caching is turned off for this page, this can cause a cached page to be shown to the user instead of the freshly-generated HTML.

    thank you for your support.

    The link is ok but it’s not my issue. When I’m on this page https://myhairitage.co/fiche-client/fiche-client-detaillee/?pid=Z53BQ0Q, I cannot edit my information.

    Plugin Author rolandbarker

    (@rolandbarker)

    That page has the [pdb_single] shortcode, which will not display an editable record, you must use the [pdb_record] shortcode to get the editable record.

    • This reply was modified 2 weeks, 2 days ago by rolandbarker.

    Thank you, but that’s not my question.
    How can my users edit their details directly without the direct link? I want them to be able to edit their details when they are on the details page. I havé created a button.

    Plugin Author rolandbarker

    (@rolandbarker)

    The only way to provide the user with a way to edit their record is with a link that contains the “pid” value to a page the has the [pdb_record] shortcode. This is necessary because the plugin has no other way of knowing which record to make available for editing.

    If you have coding skills. it is possible to create a custom template for the [pdb_single] shortcode that will show an editable record when they click a button.

    Thank you very much. I added with IA a custom code to modify my customer’s record. The code retrieves the “pid” value. But I have another question, I can’t figure out how to protect my page so that only my user can see his registrations?

    Plugin Author rolandbarker

    (@rolandbarker)

    Yes, I was wondering how you planned to do that. The plugin relies on the “private link” being a secret that only an authorized user will have. If you are going to publish those URLs on your website, then anyone can access them.

    The only way to verify who the user is is to have them log in. Once they’re logged in, you can verify their identity and allow them to see their record. The plugin does not normally work this way, so you will need to use custom code to implement something like this.

    We do have a plugin called Participant Login that provides a way for a user to type in their credentials and gain access to their record (instead of using the private link). It works by getting their credentials, then taking them to their record, which they can edit.

    I used your script : pdb_wp_user_shortcode.php with your shortcode pdb_user_list. But it’s not working. The record is not working. And thank you for your plugging Loging but the goal is to use the WordPress credentials. Is it possible?

    Plugin Author rolandbarker

    (@rolandbarker)


    You’re not saying exactly how it isn’t working for you, but first thing to check is make sure the script is properly configured for your setup. Scripts like these are examples, they will require modification to work in your specific case. Read the script carefully to understand how it works and what changes you need to make for it to work on your site.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.