This support ticket is created 8 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
// Custom Author Selection for CRED
add_action('cred_save_data', 'my_save_data_action',10,2);
function my_save_data_action($post_id, $form_data)
{
// if a specific form
if ($form_data['id']==357)
{
$my_post = array(
'ID' => $post_id,
'post_author' => $_POST['my_author_select']
);
// Update the post into the database
wp_update_post( $my_post );
}
}
1)
Could you please send me link of the page where you've inserted CRED form?
2)
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
I just realized after login to your wp-admin that I do not have sufficient access, I can see only profile page. Could you please allow me full rights so that I can move forward with the issue.
I can see that you have created view "List Authors" with role = "Subscriber" and when I've checked your users' list I can see that you have only one user with role = Subscriber and that user do not have first name as well as last name information.
Now, if you will input first name and last name values with above mentioned user you will be able to see dropdown with one entry I believe. Could you please check and try to resolve your issue.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.