Johan WALTER
Forum Replies Created
-
Forum: Plugins
In reply to: [MC4WP: Mailchimp User Sync] Bug on Woocommerce edit account pageHi
I have tested the additions (newsletter on edit account page of woocommerce)
By default, box was checked and user registred in Mailchimp list.
1 – I uncheck the box, user was “unsubscribed” from the list.
2 – I checked the box, user does not become “Subscribed”.
It seems that when a user has unsubscribed from the list, even when checking the box again, he cannot subscribe to the list.Is it a normal behaviour and what you expected to work this way ?
Thanks
Johan
- This reply was modified 7 years ago by Johan WALTER.
Forum: Plugins
In reply to: [MC4WP: Mailchimp User Sync] Bug on Woocommerce edit account pageHi
Yes it solves the issue !
Thanks for quick fix !Johan
Ok
Thanks !
JohanFYI, excerpt on both websites are empty
Below, here’s what is set to single page event formatting
If I delete #_EVENTEXCERPT, problem is solved !<div style="float:right;margin-left:15px;margin-bottom:15px;">#_LOCATIONMAP</div> <div style="float:leftt"> <p> <strong>Date : </strong> #_EVENTDATES<br /> <strong>Heure : </strong>#_EVENTTIMES </p> {has_location} <p> <strong>Lieu</strong><br/> #_LOCATIONLINK</br> #_LOCATIONADDRESS</br> #_LOCATIONPOSTCODE #_LOCATIONTOWN</br> </p> {/has_location} #_EVENTEXCERPT <br style="clear:both" /> #_EVENTNOTES {has_bookings} <h3>Réservations</h3> #_BOOKINGFORM {/has_bookings} </div>
Hi
Here’s link
First example on one website https : // didierroche . com /date-conference/enthreprendre-jeunes/
Secont example on the other website https : // tih – business . fr /evenements-handicap/l-uptih-lannuelle/Can you please delete the links from this post when you have seen it
Thanks
Regards
Johan
- This reply was modified 7 years, 4 months ago by Johan WALTER.
Forum: Plugins
In reply to: [MC4WP: Mailchimp User Sync] Allow users to opt-out on front endHi Danny
Yes I am using mainly Woocommerce.
Customer registration is ot check out, a check box checked by default to register to the Newsletter displays with your plugin MailChimp for WordPress.
When customer had ordered, the only way he can register or unregister to Newsletter is when he receives Newsletter.
I expected to have this option in “My account” on frontend and was looking for such option for a long time without having found it.If you can add support for this option on different “Integrations” (as well as buddypress…. But Woocommerce most important), that would defintely be a great option
Thanks
Regards
Johan
Ok. I understand !
Thanks for your answerJohan
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Change User Role on Purchase of Specific ProductThanks for your answer and advice
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Change User Role on Purchase of Specific ProductHi,
That’s what I am looking for
I don’t manage to make it work, can you please help
1 – You place this function in Theme function.php, right ?
2 – I had a blank page including <?php ?> so is it the right function :function lgbk_add_member( $order_id ) {
$order = new WC_Order( $order_id );
$items = $order->get_items();foreach ( $items as $item ) {
$product_name = $item[‘name’];
$product_id = $item[‘product_id’];
$product_variation_id = $item[‘variation_id’];if ( $order->user_id > 0 && $product_id == ’33’ ) {
update_user_meta( $order->user_id, ‘paying_customer’, 1 );
$user = new WP_User( $order->user_id );// Remove role
$user->remove_role( ‘subscriber’ );// Add role
$user->add_role( ‘contributor’ );
}}
}
add_action( ‘woocommerce_order_status_completed’, ‘lgbk_add_member’ );3 – The only value I need to change to adapt to my case is product_id “$product_id == ‘myid”, right ?
Thanks for help
Forum: Fixing WordPress
In reply to: Cannot modify header information – headers already sent byHi,
You have been hacked. The code is not in the header it is in index.php of wp-admin and index.php of wp-ceontent
It affects only website on mobile not on desktop
After cleaning your code you will have your site back but they will trigger again the code after few hours.
To clean that up go to wp-includes/Simplepie/XML you will find .php which are the file to clean, you find more under Text
Make a full research of that content and clean all files.If anyone from WordPress have an idean to identify where the vulnerability is coming from, please let us know !
Forum: Plugins
In reply to: [Fundify Crowdfunding (Moved)] Category Campaign NOT FOUNDSoory ! Problem were coming from the theme not the plugin