Javier Carazo
Forum Replies Created
-
Sorry I don’t know anything about changes. I am not an PMPro user.
@cbutlerjr thanks for your help.
Good evening,
Could you tell me how this data is stored in the usermeta table and I will be able to help you.
Forum: Plugins
In reply to: [Import and export users and customers] Gateway Timeout = New Users, No EmailThis is really a problem with how the plugin currently works, doing the whole process at once, and how your hosting seems to work: a server with its own processing times and limits in the background and a proxy in front.
The solution to this, right now, is to do the import in parts.
We will soon release a version of the plugin that allows you to do the import asynchronously, as the export is already done, step by step, avoiding these problems.
It will be version 2.0, and I hope to have it available very soon.
Do some tests with our code, if you achieve it, let me know.
yes… as I told you, this part of the code came from PMPro. I could try to fix it if there is some problem here but maybe they do not allow change it for active subscriptions for some reason.
Yes but in this csv the date is bad formed. You should use yyyy-mm-dd hh:ii:ss
Maybe the problem is the format of the date?
I am not a PMPro user and I don’t know anything about the importer you mention.
All I can tell you is that when they released the new API, I had to redo the importer (myself) taking into account their instructions (using part of the code they provided me, which is what I mentioned you can override, for example).
Yes, but that data in that loop, if you look at the add-on, which, by the way, that part of the code is directly from PMPro, not mine (they sent it to me to incorporate it), reads it from an object that is not the metadata that appears in the export.
If you know how to work with code, try removing that condition. I can’t do it in the general plugin, and since the add-on is directly controlled by PMPro, I can’t do it either.
Maybe the problem is in this line:
if( !empty( $membership_subscription_transaction_id ) && ( $membership_status == 'active' || empty( $membership_status ) ) && !empty( $membership_enddate ) ){
return;
}If the user is created, the membership_subscription_transaction_id maybe is not empty and then it fails.
Forum: Plugins
In reply to: [Import and export users and customers] date format exported ACFSorry but this is not a hook for ACF. This is a hook of this plugin and you can use it in our functions.php file.
Forum: Plugins
In reply to: [Import and export users and customers] date format exported ACFMichel,
Sorry but this is the way that ACF saves the date in database.
Maybe you can use this hook if you want to modify the way the data is shown in the export result:
$row = apply_filters(
'acui_export_data',
$row,
$user,
array(
'columns' => $this->get_columns_to_export(),
'datetime_format' => $this->get_datetime_format(),
'order_fields_alphabetically' => $this->get_order_fields_alphabetically(),
'double_encapsulate_serialized_values' => $this->get_double_encapsulate_serialized_values(),
'filtered_columns' => $this->get_filtered_columns()
)
);Can you make a test deactivating all the other plugins and using a default theme?