gmisura
Forum Replies Created
-
They’ve looked through the backups and don’t find the pictures there either.
Are they supposed to be in /wp-content/gallery or is there another location?That makes more sense.
Forum: Reviews
In reply to: [Social Login] Nice plugin, where's email?Thanks Claude, must have been added since I used it last. I should have posted which version I was using.
The FIELD is not necessary. FIELD returns a number…
I think you have the wrong function.
For my purpose, I removed I updated:
participants-database/classes/PDb_Base.class.php
I just removed the ‘ORDER BY’ clause from
$sql = 'SELECT f.' . ($indices ? 'id' : 'name') . ' FROM ' . Participants_Db::$fields_table . ' f WHERE f.' . ($indices ? 'name' : 'id') . ' IN ("' . implode('","',$fieldnames) . '")';
Not sure what you were expecting the FIELD’s function to do…
Doco at:
https://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_fieldsays
Returns the index (position) of str in the str1, str2, str3, … list. Returns 0 if str is not found.
Maybe you just can remove “FIELD” and let the “ORDER BY” be followed by the implode call?
Forum: Plugins
In reply to: [WordPress Social Login] Bouncer Filter by email not workingI had to update the pull request with new code. Please check github
OC2PS
Per the docs:
https://miled.github.io/wordpress-social-login/troubleshooting.html
If you have caching or session configured differently, that might cause your problem.I had to have WPEngine add
wp-content/plugins/wordpress-social-login/hybrid
to the ‘do not cache list’. Maybe you have something like that?
Forum: Plugins
In reply to: [WordPress Social Login] Bouncer Filter by email not workingI think the pull request
https://github.com/miled/wordpress-social-login/pull/54
Also includes this fix.As noted: I didn’t do a lot of testing yet.
Forum: Plugins
In reply to: [WordPress Social Login] Bouncer filters not working?Created pull request to get this into the plugin (on github at least):
Forum: Plugins
In reply to: [WordPress Social Login] Bouncer Filter by email not workingI updated:
wordpress-social-login/includes/services/wsl.authentication.php
Before:
if( get_option( 'wsl_settings_bouncer_new_users_restrict_email_enabled' ) == 1 )
I copied the code from later on in the same function and put it just before the restrict_email_enabled:
// because instagram doesn't (do any?) have an email, we need to check if the option "require email" is set and then get the email from // the user BEFORE we filter by email address if( ( get_option( 'wsl_settings_bouncer_profile_completion_require_email' ) == 1 && empty( $hybridauth_user_email ) ) || get_option( 'wsl_settings_bouncer_profile_completion_change_username' ) == 1 ) { do { list ( $shall_pass, $requested_user_login, $requested_user_email ) = wsl_process_login_complete_registration( $provider, $redirect_to, $hybridauth_user_profile ); } while( ! $shall_pass ); } $hybridauth_user_email = $requested_user_email;
I didn’t do extensive testing, but that worked. I prompts for the email address BEFORE trying to “filter” on it.
Again, i’ll see about contributing that back to the original plugin.
Forum: Plugins
In reply to: [WordPress Social Login] Bouncer filters not working?Er, I only fixed “Filter by Profile URLs”.
I’ll open a separate defect for “filter by email” as that is still not working.Forum: Plugins
In reply to: [WordPress Social Login] Bouncer filters not working?Ok, i resolved this.
I had to update:
wordpress-social-login/hybridauth/Hybrid/Providers/Instagram.php
Added:
$this->user->profile->profileURL = 'https://instagram.com/' . $data->data->username;
After
$this->user->profile->photoURL = $data->data->profile_picture;
I’ll see about getting that committed back to the plugin.
Forum: Plugins
In reply to: [WordPress Social Login] Bouncer filters not working?I also tried with the ending slash:
https://instagram.com/gemisura/ – didn’t work
https://instagram.com/gemisura/ – didn’t work
https://www.instagram.com/gemisura/ – didn’t work
https://www.instagram.com/gemisura/ – didn’t workAre you testing this on a hosted site? Maybe with WPEngine?
Or locally? On a non-standard port?Forum: Plugins
In reply to: [WordPress Social Login] What about the passwords?DDT, the point of this is to never need a wordpress (org) password. You authenticate with whatever social network you want and that passes a token you use in your site.
You can read up on OAuth: