Denver
Forum Replies Created
-
Forum: Plugins
In reply to: [BP xProfile WordPress User Sync] Cannot save via xprofile_set_field_dataCould you tell me which version of Social Login you are using?
Forum: Plugins
In reply to: [BP xProfile WordPress User Sync] Cannot save via xprofile_set_field_dataHI kunalnagar,
could you please try this function?
add_action( 'oa_social_login_action_after_user_insert', 'update_base_user_profile' ); function update_base_user_profile($user_data, $identity) { $temp_user = new WP_User($user_data->ID); $temp_user->remove_role('subscriber'); xprofile_set_field_data('First Name', $user_data->ID, $identity->name->givenName); xprofile_set_field_data('Last Name', $user_data->ID, $identity->name->familyName); }
Forum: Plugins
In reply to: [Wordpress Special Characters in Usernames] Enabling Latin-2?Please try this:
$username = preg_replace ('|[^a-z\p{Arabic}\p{Cyrillic}0-9 _.\-@ě????yáíéú?]|iu', '', $username);
Forum: Plugins
In reply to: [Social Login] Display problem with FancyboxHello,
thank you for the bug report, we will have a look at the issue.
In the meantime you could force the height of the outer container using CSS. Like this:<div style="height:200px"> <div class="oneall_social_login">....</div> </div>
Forum: Plugins
In reply to: [Social Login] Redirect membersThe dashboard is the url that WordPress returns when calling this function:
$redirect_to = admin_url ();
Forum: Plugins
In reply to: [Social Login] Redirect using Callback URLHello,
you have to use the current URL of the page as callback URI.
Example:
_oneall.push(['social_login', 'set_callback_uri', window.location.href]);
Forum: Plugins
In reply to: [Social Login] invisible iconsThe plugin uses existing WordPress hooks to seamlessly integrate into your blog. If your theme does not support these hooks, the plugin will not be displayed correctly.
In this case you can add the Social Login features manually by inserting the following code into your template:
<?php do_action('oa_social_login'); ?>
Forum: Plugins
In reply to: [Social Login] My domain name consist just 4 lettersThe subdomain is not related to your own domain. It’s just a unique word to distinguish our users, feel free to choose whatever you like.
Forum: Plugins
In reply to: [Social Login] "Waiting for domain.api.oneall.com…"Please make sure that you have enabled this option in your WP admin:
Social Login -> Setup -> JavaScript Usage: Asynchronous
If this option is enabled, then the JavaScript of the plugin is loaded asynchronously and it will never interfere with the loading of the page itself.
Forum: Plugins
In reply to: [Social Login] avatars stop showingCould you please make sure that you have enabled this option in the Social Login settings in the WP admin area?
If the user’s social network profile has an avatar, should this avatar be used as default avatar for the user?
Forum: Plugins
In reply to: [Social Login] Unable to see Social Login in SidebarFixed through support ticked
Forum: Plugins
In reply to: [Social Login] post the comments in social mediasHi Sowmya,
no, the plugin currently does not have the option to post on behalf of the user. We have planned to add this in one of the coming releases.
In the meantime you could use the OneAll API to post content for the user:
https://docs.oneall.com/api/resources/users/write-to-users-wall/Regards,
Forum: Plugins
In reply to: [Social Login] Custom PHP Code Social LoginHello,
please have a look at the function
oa_social_login_callback
in the file/includes/communication.php
of the plugin. The is where the user data is being processed and stored.Best Regards,
Hello,
you should start by checking if the filter is called and make sure it returns the good value.
To debug you change your function like this:
function my_login_registration_redirect_filter ($url, $user_data) { die($_SESSION['specific_referer']); return $_SESSION['specific_referer']; }
Do not forget to remove the die after having tested.
Forum: Plugins
In reply to: [Social Login] Redirect to current page using comment login not workingHello,
today we have released a new version 4.6
Could you give it a try and check if the error still exists?Thank you,