Hi there!
I couldn’t get this working …
I followed the tutorial:
https://plugins.miniorange.com/nextcloud-wordpress-remote-user-sync
Everything fine, but no user will be created on Nextcloud.
If I click “Test configuration” I get a new window with just an WP error saying:
“Test unsuccessfull because code => message => Test Configuration for following server does not exist”
This seem to be placeholders for more helpful things, I think. What can I do now? Any advice? Any idea what is going wrong here?
Thanks in advance for your help!
All the best
Torsten
Hello,
does the plugin allow to sync users (with their user roles) between 2 wordpress websites ?
Hi,
I was creating a shortcode but it’s not working with user-sync plugin. The code I use for the shortcode is:
function ts_user_login_shortcode() {
ob_start();
$redirect = $_GET['redirect'];
if ( is_user_logged_in() ) {
// User is already logged in
} else {
// Display login form with Bootstrap 5 classes
?>
<form class="form" method="post" action="<?php echo esc_url( wp_login_url() ); ?>">
<div class="mb-3">
<label for="user_login" class="form-label">Username or Email</label>
<input type="text" name="log" id="user_login" class="form-control" value="<?php echo esc_attr( isset( $_POST['log'] ) ? $_POST['log'] : '' ); ?>" />
</div>
<div class="mb-3">
<label for="user_pass" class="form-label">Password</label>
<input type="password" name="pwd" id="user_pass" class="form-control" />
</div>
<?php do_action( 'login_form' ); ?>
<div class="mb-3">
<input type="submit" name="wp-submit" id="wp-submit" class="btn btn-primary" value="Log In" />
<input type="hidden" name="redirect_to" value="<?php echo esc_url( $_SERVER['REQUEST_URI'] ); ?>" />
</div>
</form>
<script>
// Reload the page after successful login
document.addEventListener('DOMContentLoaded', function() {
var loginForm = document.querySelector('.form');
loginForm.addEventListener('submit', function(event) {
event.preventDefault(); // Prevent form submission
var formData = new FormData(loginForm);
fetch(loginForm.action, {
method: loginForm.method,
body: formData
})
.then(function(response) {
if (response.ok) {
window.location.href = '<?php echo $redirect; ?>'; // Redirect to demo.com
} else {
console.error('Login failed.');
}
})
.catch(function(error) {
console.error('Login failed:', error);
});
});
});
</script>
<?php
}
return ob_get_clean();
}
add_shortcode( 'user_login_register', 'ts_user_login_shortcode' );
Please give me the modified code for working with user-sync plugin
]]>Does the plugin also sync Woocommerce memberships across websites?
]]>Hello… Im looking for something like this, but Im not sure where can I find documentation… I have many questions, but I want to ask you one in here… with this plugin on its own, can I make that my users log register and login whithn wordpres sites, domain and subdomains located on the same server? is not a multisite.
]]>Good Day,
Just want to double check if below is possible:
1. User Data Sync & Password Sync
The user signup on Site A, and there is also Site B & C. Once user sigup to Site A, all their user data is populated to Site B & C? Also, password is synced? So that user when singin for Site A can also login to Site B & C with same password?
2. Database is synced across all sites?
3. What type of security is used to protect user data?
]]>