Miled
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Social Login] Twitter login creating multiple new usersbut maybe its still interfering?
i didn’t try oneall, but as far as i can tell both plugins can coexist without any issue.
thank you for your prompt follow up. i’ll dig into it.
Forum: Plugins
In reply to: [WordPress Social Login] show provider nameI understand if you dont have time to go any further, as you hinted.
it’s not about time, i simply lack patience. apologies if i sound rude.
now im no wordpress expert, but that filter works fine in wp 4.0 twenty twelve, so it must be an issue with your theme. could you switch it to something else for a split second and see if it works.
Forum: Plugins
In reply to: [WordPress Social Login] show provider nameyes it is possible, dlature. i’ll just give you a hint.
function wsl_logged_in_as( $default, $commenter, $user_identity ) { if( ! $provider = get_user_meta( get_current_user_id(), 'wsl_current_provider', true ) ) return $default; return '<p class="logged-in-as">' . '<img src="' . WORDPRESS_SOCIAL_LOGIN_PLUGIN_URL . '/assets/img/16x16/' . strtolower( $provider ) . '.png"> ' . sprintf( __( 'Logged in as <a href="%s">%s</a> from %s.</p>' ), get_edit_user_link(), $user_identity, $provider ); } add_filter( 'comment_form_logged_in', 'wsl_logged_in_as', 10, 3 );Forum: Plugins
In reply to: [WordPress Social Login] Usagei’m asked that question quite often and the answer is always the same.
as stated in the plugin description: wsl is licensed under MIT terms.
you can sell it if you want as long as you don’t step on my toes: don’t hold me liable for any problem you may encounter and keep those copyright headers inside wsl code because it’s not in the public domain either.
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.Forum: Plugins
In reply to: [WordPress Social Login] Twitter login creating multiple new userstwitter 7 times while testing
that’s one hell of a test, you broke it.
this is clearly a functional error in the plugin and i’m very interesting in knowing more details about your env and the steps to follow to reproduce this issue:
the version of wsl and wp,
were you using an old version of wsl before,
what config you’re using for wsl: what options did you enable in widget or bouncer tabs,
are you using any plugin who interfere with users authentication/moderation,
also it will be good to know you website link.Forum: Plugins
In reply to: [WordPress Social Login] Redirect Toyour theme functions.php file will do
alternatively, you can create this file: wp-content/plugins/wp-social-login-custom.php, and wsl will load it automatically.
alternatively, you can create a plugin and put your hooks there
alternatively, hire someone if this sound too complicated.
edit: $redirect_to will tell you where the user come from. in your case you may append “#comments” to that variable like this
function wsl_redirect_to( $redirect_to ) { return $redirect_to . '#comments'; } add_filter( 'wsl_hook_process_login_alter_redirect_to', 'wsl_redirect_to', 10, 1 );Forum: Plugins
In reply to: [WordPress Social Login] Redirect ToForum: Plugins
In reply to: [WordPress Social Login] Couldn't Get to Workdespite having social login set for facebook only, with others turned off.
that doesn’t make any difference.
Just doesn’t work.
oh well. could you mail me your website info?
Forum: Plugins
In reply to: [WordPress Social Login] Redirect Tois better to use wsl hooks.
function wsl_redirect_to( $redirect_to ) { return 'http://example.com/#comments'; } add_filter( 'wsl_hook_process_login_alter_redirect_to', 'wsl_redirect_to', 10, 1 );Forum: Plugins
In reply to: [WordPress Social Login] Redirect Towhat file did you edit?
Forum: Plugins
In reply to: [WordPress Social Login] wordpress.wp_wslusersprofiles table missingif the table doesn’t exist you can create it manually (assuming the prefix is wp_):
CREATE TABLE IF NOT EXISTS wp_wslusersprofiles ( id int(11) NOT NULL AUTO_INCREMENT, user_id int(11) NOT NULL COMMENT 'refers to wp.users.id', provider varchar(50) NOT NULL COMMENT 'provider id', object_sha varchar(255) NOT NULL COMMENT 'to check if hybridauth user profile object has changed from last time, if yes we update the user profile here', identifier varchar(255) NOT NULL COMMENT 'The Unique user\'s ID on the connected provider. Depending on the provider, this field can be an number, Email, URL, etc.', profileurl varchar(255) NOT NULL, websiteurl varchar(255) NOT NULL, photourl varchar(255) NOT NULL, displayname varchar(150) NOT NULL, description varchar(255) NOT NULL, firstname varchar(150) NOT NULL, lastname varchar(150) NOT NULL, gender varchar(10) NOT NULL, language varchar(20) NOT NULL, age varchar(10) NOT NULL, birthday int(11) NOT NULL, birthmonth int(11) NOT NULL, birthyear int(11) NOT NULL, email varchar(255) NOT NULL, emailverified varchar(255) NOT NULL, phone varchar(75) NOT NULL, address varchar(255) NOT NULL, country varchar(75) NOT NULL, region varchar(50) NOT NULL, city varchar(50) NOT NULL, zip varchar(25) NOT NULL, UNIQUE KEY id (id), KEY idp_uid (provider,identifier), KEY user_id (user_id) );Forum: Plugins
In reply to: [WordPress Social Login] wordpress.wp_wslusersprofiles table missingpatched r1004796