arjanwit
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Members Membership Plugin] WordPress data compliancyThat would be awesome.
I added following code (with help from ChatGPT) but that fails the download of the Personal Data. Maybe in the mean-time you could take a look what is going wrong?
// WP-Members user data export
function wpmem_personal_data_exporter( $exporters ) {
$exporters['wpmembers'] = array(
'exporter_friendly_name' => __( 'WP-Members Data' ),
'callback' => 'wpmem_export_personal_data',
);
return $exporters;
}
add_filter( 'wp_privacy_personal_data_exporters', 'wpmem_personal_data_exporter' );
function wpmem_export_personal_data( $email_address, $page = 1 ) {
$user = get_user_by( 'email', $email_address );
if ( ! $user ) {
return array(
'data' => array(),
'done' => true,
);
}
// Retrieve WP-Members user data
$user_data = wpmem_user_data( $user->ID );
$data_to_export = array();
// Export WP-Members custom fields (stored in usermeta)
$custom_fields = get_user_meta( $user->ID ); // Get all usermeta fields for the user
// Loop through each custom field and add it to the export
foreach ( $custom_fields as $key => $value ) {
// If the key starts with 'wpmem_' or any other prefix your fields have
if ( strpos( $key, 'wpmem_' ) === 0 ) {
$data_to_export[] = array(
'name' => $key,
'value' => is_array( $value ) ? implode( ', ', $value ) : $value,
);
}
}
// Add the WP-Members data to the export
foreach ( $user_data as $key => $value ) {
$data_to_export[] = array(
'name' => $key,
'value' => $value,
);
}
return array(
'data' => $data_to_export,
'done' => true,
);
}Forum: Plugins
In reply to: [Conditional Fields for Contact Form 7] Conditional Fields not workingHi,
I figured out that the conditional fields are not working due to the theme. Now I need to figure out how the conditional fields are displayed. I have created a form with 3 radio buttons nd depending on which radio is selected, conditional fields should be displayed. But they are not.
The console log does not show me any errors. How does the conditional field selector work? Dos it work with Javascript? If so, which script?
Regards,
ArjanForum: Plugins
In reply to: [Pronamic Pay with Mollie for Contact Form 7] Recurring betalingenThanks for your reply. CF7 however is free and all the add-ons are free too. Gravity forms is not. So will be looking forward to de update for cf7
Hi Hessel,
Thanks, that makes sense.
Regards,
Arjan- This reply was modified 2 years, 3 months ago by arjanwit.
Hi Hessel,
Thank you.
Since I have a static IPv4 I can filter that.
Looking forward to being able to also filter the IPv6 range since part of it is dynamic.
Regards,
ArjanForum: Plugins
In reply to: [WP-Members Membership Plugin] Shortcode for membershipsThanks Chad,
That does the trick.
Should have read the documentation better then I would have known.Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] My Events shortcodeAwesome Felix, that does the trick.
Need to do some magic for css though.Forum: Plugins
In reply to: [Autoptimize] Autoptimize JS conflict when mergingThat seems to do the trick Frank.
For now it is resolved however, some of the plugins custom css I added does not work anymore, but that is less important.Thanks!
ArjanForum: Plugins
In reply to: [Autoptimize] Autoptimize JS conflict when merginghttps://www.veteranengemeentedronten.nl/crm
To get access to the crm, I will need some detailled information from you so I can setup an account. Please send an email to webmaster [at] provided domain so I can create admin account for you.
Forum: Plugins
In reply to: [Autoptimize] Autoptimize JS conflict when mergingForum: Plugins
In reply to: [Autoptimize] Autoptimize JS conflict when mergingNo, somehow I have missed your reply.
So it is not resolved unfortunately.
In JavaScript Options I only checked Optimize Javascript and Aggregate JS-files.
I added the whole JS folder “wp-content/plugins/shwcp/assets/js/” to the exclusion line.
The same for the whole CSS folder in the CSS section.What do you mean by Merge, I can’t find that option.
Minify and Eclude JS/CSS is unchecked.Regards,
ArjanHi Dimitris,
Yes, that is the plugin I was referring to.
Regards,
ArjanForum: Plugins
In reply to: [Contact Form 7] CF7 and WSDesk integrationThanks, that was what I was looking for.
Forum: Plugins
In reply to: [WSDesk - Wordpress HelpDesk & Support Ticket System] API setupRequest 5056