Title: ranone's Replies | WordPress.org

---

# ranone

  [  ](https://wordpress.org/support/users/ranone/)

 *   [Profile](https://wordpress.org/support/users/ranone/)
 *   [Topics Started](https://wordpress.org/support/users/ranone/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ranone/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ranone/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ranone/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ranone/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ranone/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 71 total)

1 [2](https://wordpress.org/support/users/ranone/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ranone/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/ranone/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/ranone/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/ranone/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Auto delete record older 48h](https://wordpress.org/support/topic/auto-delete-record-older-48h/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/auto-delete-record-older-48h/#post-15165692)
 * Hi,
    writing some custom code, I saw that the fields deleted from the back office
   are actually still present in the database (mysql, access with phpmyadmin)…
 * Is there any way to clean up these ghost fields?
 * Tks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Auto delete record older 48h](https://wordpress.org/support/topic/auto-delete-record-older-48h/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/auto-delete-record-older-48h/#post-15163975)
 * Tks for your reply [@xnau](https://wordpress.org/support/users/xnau/)!
 * Which way is the correct one to delete a record and all its dependencies of a
   PDB record in the database? including linked upload files…
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Bypass required fields if hidden on frontend form by css](https://wordpress.org/support/topic/bypass-required-fields-if-hidden-on-frontend-form-by-css/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/bypass-required-fields-if-hidden-on-frontend-form-by-css/#post-15122664)
 * The fields are included because they are shown according to user choices on select
   with conditional logic..
 * Do you think there is a possible way?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Getter for form element title/value title](https://wordpress.org/support/topic/getter-for-form-element-title-value-title/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/getter-for-form-element-title-value-title/#post-15121914)
 * Simply fantastic!!
    -  This reply was modified 4 years, 5 months ago by [ranone](https://wordpress.org/support/users/ranone/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Record page as Signup thanks page](https://wordpress.org/support/topic/record-page-as-signup-thanks-page/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/record-page-as-signup-thanks-page/#post-15105965)
 * The `Participants_Db::$session->record_id();` return a bool false value in the
   signup thanks page..
 * I’m investigating to the best way 🙂
 * Tks for now
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Button “send & lock” editing record](https://wordpress.org/support/topic/button-send-lock-editing-record/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/button-send-lock-editing-record/#post-15101139)
 * Thanks anyway, now I will look for public methods in the plugin code that I can
   use to succeed 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] CSV export customization](https://wordpress.org/support/topic/csv-export-customization/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/csv-export-customization/#post-15090166)
 * I pass the result of the pdb_get_group_fields() function which I have verified
   to be an array…
 * This array is correct as result extrapolated from database.
 * The file CSV returned by csv_export_form() function is however incorrect because
   it shows fields not passed to the export_fields parameter..
    -  This reply was modified 4 years, 5 months ago by [ranone](https://wordpress.org/support/users/ranone/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] CSV export customization](https://wordpress.org/support/topic/csv-export-customization/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/csv-export-customization/#post-15084141)
 * From a further check I have found that the result of the query on the database
   is correct.
 * The problem is when I pass this result to the csv_export_form() function in the
   export_fields parameter.
 * The result in the CSV strangely includes other fields from other groups … I am
   doing some further testing, but it’s very strange…
 * Is there a way to clean cache in pdb-list template before include csv_export_form()
   function?
 * Tks
    -  This reply was modified 4 years, 6 months ago by [ranone](https://wordpress.org/support/users/ranone/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] CSV export customization](https://wordpress.org/support/topic/csv-export-customization/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/csv-export-customization/#post-15082277)
 * I’m sorry, but the $fields_table variable what should it be?
 * In the CSV export I have fields that seems to be cached from previous queries…
   Is there any way to reset and perform a new query?
 * Tks a lot
    -  This reply was modified 4 years, 6 months ago by [ranone](https://wordpress.org/support/users/ranone/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] CSV export customization](https://wordpress.org/support/topic/csv-export-customization/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/csv-export-customization/#post-15064142)
 * Hi,
    is there a method that gives me the names of all the fields of a group in
   a simple way?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] CSV export customization](https://wordpress.org/support/topic/csv-export-customization/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/csv-export-customization/#post-15061321)
 * Tks [@xnau](https://wordpress.org/support/users/xnau/) for your reply..
 * For the CSV Export I pass in the frontend template with csv_export_form() function,
   is there a possibility to write something here? (Not in back office interface)
 * Then I have another connected question…
 * In the csv_export_form() function I really need to pass groups names instead 
   of fields names (for example export_groups instead of export_fields).
 * Is it possible to do a hack?
 * Listing all the fields is impossible for me because I have available only a variable
   that I can use which is the group name…
 * Tks a lot
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Get record object in function.php file](https://wordpress.org/support/topic/get-record-object-in-function-php-file/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/get-record-object-in-function-php-file/#post-14970080)
 * Hi,
    the “Participants_Db::get_participant_id” didn’t work for me with **$private_id**,
   so I used this approach:
 * `$record_id = Participants_Db::get_record_id_by_term('private_id', $_GET['pid']);`
 * Not the best, but this works for me..
 * Tks a lot for all [@xnau](https://wordpress.org/support/users/xnau/)!
    -  This reply was modified 4 years, 7 months ago by [ranone](https://wordpress.org/support/users/ranone/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Get record object in function.php file](https://wordpress.org/support/topic/get-record-object-in-function-php-file/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/get-record-object-in-function-php-file/#post-14961970)
 * Hi [@xnau](https://wordpress.org/support/users/xnau/),
    I’ve the private_id (
   not the record id) as available variable.
 * Can I use it in any way?
 * Tks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Get record object in function.php file](https://wordpress.org/support/topic/get-record-object-in-function-php-file/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/get-record-object-in-function-php-file/#post-14956943)
 * Hi [@xnau](https://wordpress.org/support/users/xnau/), thanks for the reply.
 * I don’t have to use it at the template level (ok for that use) …
 * I would like to know if there is a static getter method to get the current record
   inside the function.php file in my child theme.
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Get record object in function.php file](https://wordpress.org/support/topic/get-record-object-in-function-php-file/)
 *  Thread Starter [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/get-record-object-in-function-php-file/#post-14951525)
 * Tks [@xnau](https://wordpress.org/support/users/xnau/) for your reply 🙂
 * I have created many groups in the “Database Fields Management” section and after
   I have created also a select field with values ​​that have the same name of the
   groups.
 * When I go to the edit page ([pdb_record] shortcode), I would like to display 
   only the group that has the same name of the value of the select field by means
   of the attribute of the pdb_record shortcode (groups=””)..
 * I don’t know if that is how I explained myself better..
 * Tks

Viewing 15 replies - 1 through 15 (of 71 total)

1 [2](https://wordpress.org/support/users/ranone/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ranone/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/ranone/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/ranone/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/ranone/replies/page/2/?output_format=md)