Title: Xtremefaith's Replies | WordPress.org

---

# Xtremefaith

  [  ](https://wordpress.org/support/users/xtremefaith/)

 *   [Profile](https://wordpress.org/support/users/xtremefaith/)
 *   [Topics Started](https://wordpress.org/support/users/xtremefaith/topics/)
 *   [Replies Created](https://wordpress.org/support/users/xtremefaith/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/xtremefaith/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/xtremefaith/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/xtremefaith/engagements/)
 *   [Favorites](https://wordpress.org/support/users/xtremefaith/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/users/xtremefaith/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/xtremefaith/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-OAuth] Unable to match previous users](https://wordpress.org/support/topic/unable-to-match-previous-users/)
 *  Thread Starter [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/unable-to-match-previous-users/#post-7716665)
 * Judging from this line you have no intentions of including emails in your plugin:
 *     ```
       $oauth_identity['email'] = $result_obj['emails'][0]['value'];
       // PROVIDER SPECIFIC: Google returns an array of email addresses.
       To respect privacy we currently don't collect the user's email address.
       ```
   
 * Unfortunately without at least using it for the moment I don’t know how else 
   you can compare against current users:
 *     ```
       function wpoa_match_wordpress_user_by_email($oauth_identity) {
           $userid = email_exists( $oauth_identity['email'] );
           $user = get_user_by('id', $userid);
           return $user;
       }
       $this->wpoa_match_wordpress_user_by_email($oauth_identity);
       ```
   
 * If this is the case then I will likely just fork my own version in order to add
   this feature
 * Also migrating this post to github for further development:
    [https://github.com/perrybutler/WP-OAuth/issues/52](https://github.com/perrybutler/WP-OAuth/issues/52)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-OAuth] Unable to match previous users](https://wordpress.org/support/topic/unable-to-match-previous-users/)
 *  Thread Starter [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/unable-to-match-previous-users/#post-7716567)
 * It looks like if I just change `login-google.php` line:
 *     ```
       define('SCOPE', 'profile');
       ```
   
 * to:
 *     ```
       define('SCOPE', 'https://www.googleapis.com/auth/plus.profile.emails.read');
       ```
   
 * Now the plan is to use this in the `wp-oauth.php` file at the `wpoa_login_user()`
   process just after `wpoa_match_wordpress_user()`. How does this sound to you.
   Is this something that would not work for the direction of your plugin (if so
   I may need to just fork this and make my own custom updates).
 * Please let me know your thoughts.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-OAuth] Unable to match previous users](https://wordpress.org/support/topic/unable-to-match-previous-users/)
 *  Thread Starter [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/unable-to-match-previous-users/#post-7716566)
 * Within `get_oauth_identity()` _(in login-google.php)_ I added a `scope` parameter
   and set it to `'email'`, I also tried `https://www.googleapis.com/auth/plus.profile.
   emails.read`.
 * Unfortunately neither of these work. I don’t understand why not from what I’ve
   read of Google’s documentation. While playing on the [API Explorer](https://developers.google.com/apis-explorer/#p/plus/v1/plus.people.get?userId=me)
   it returned as expected but only when accessing my own account. This leads me
   to believe that when attempting through plugin perhaps it lacks permissions even
   though it was granted.
 * I will keep attempting this because I need it for a couple sites both with Google
   and Windows, so any help would be really appreciated. Depending on what needs
   updated I may work directly with you to contribute changes so please let me know.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-OAuth] Unable to match previous users](https://wordpress.org/support/topic/unable-to-match-previous-users/)
 *  Thread Starter [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/unable-to-match-previous-users/#post-7716561)
 * I’m pretty sure I could write a patch into this IF I can figure out where the
   email that was used is stored. When I debug the `$oauth_identity` I only get 
   the provider and ID. And if I debug the `$result_obj` I get the following keys:
 * `kind, etag, gender, objectType, id, displayName, name, familyName, givenName,
   url, image, url, isDefault, isPlusUser, language, circledByCount, verified`
 * Is there not a way to get the email?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Debug Error "bp_setup_current_user was called incorrectly" ( When Yoast Activate](https://wordpress.org/support/topic/debug-error-bp_setup_current_user-was-called-incorrectly-when-yoast-activate/)
 *  [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/debug-error-bp_setup_current_user-was-called-incorrectly-when-yoast-activate/#post-7335243)
 * Same issue. When I deactivate either Yoast or BuddyPress it goes away _(but I
   think that’s just simply because it’s a BuddyPress function that Yoast is using
   incorrectly)_. Anyone have progress on this? Not interested in turning off debug
   while in development, want to resolve the issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mytory Markdown] Code Fencing Issues](https://wordpress.org/support/topic/code-fencing-issues/)
 *  Thread Starter [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/code-fencing-issues/#post-7593529)
 * In case it helps, I came across this:
    [http://wordpress.stackexchange.com/questions/90065/preserve-white-space-in-page](http://wordpress.stackexchange.com/questions/90065/preserve-white-space-in-page)
 * I noticed that in some cases the white spaces are not preserved and I think its
   because WordPress editor is expecting `<pre>` & `<code>` in the html tab and 
   not backticks.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Download Monitor] Unuseful without download page!](https://wordpress.org/support/topic/unuseful-without-download-page/)
 *  [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/unuseful-without-download-page/#post-8110102)
 * **Trolling**: _make a deliberately offensive or provocative online posting with
   the aim of upsetting someone or eliciting an angry response from them._
 * > _“yes, exist addon (29$!!!) but why pay for this if other plugin make this 
   > as free? is no sense and is nosense a plugin manager without a page.
   >  i’ve 
   > lost some hours of my life to install, try and found that not exist a download
   > page!”
 * Sounds like trolling with really bad english, who compares himself to another
   troll and says I’m not as bad as him _(welcome to humanity’s view of morality)_.
 * Just to be clear to **anyone reading this review**, I have no connection to the
   author of this plugin, **I simply use it with a national franchise for 4+ years
   now without any issues**. Salvatore’s review is a feature request at best and
   should not have a barring on the quality of plugin that authors have made up 
   until this point.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Download Monitor] Unuseful without download page!](https://wordpress.org/support/topic/unuseful-without-download-page/)
 *  [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/unuseful-without-download-page/#post-8110100)
 * So the plugin works fine the way it was intended but since it doesn’t do what
   you want it to do you are trolling the author who put some legitimate effort 
   into making this work for **70,000+ people for free**?
 * Not sure you understand what the review process is for but would advise you post
   your questions or concerns to the developer in the forums where they can properly
   deal with it and leave an honest review here _(if at all)_.
 * Many people do not need the feature you are requesting, and there is nothing 
   wrong with a developer creating a premium feature (perhaps you suggest it as 
   a feature to be added in a future release). If you are willing to endorse the“
   free” plugin you mentioned than use that, but the fact that it exist should not
   reflect poorly on this author’s craftsmanship
 * I understand your frustrations but hope you can respect my comments
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make a separate login page for customer other than wp-login](https://wordpress.org/support/topic/how-to-make-a-separate-login-page-for-customer-other-than-wp-login/)
 *  [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/how-to-make-a-separate-login-page-for-customer-other-than-wp-login/#post-6143833)
 * I’ve been attempting the same thing but correct me if I’m wrong, doesn’t this
   still lead the user to the WP-login.php page of they:
    - Attempt the wrong username/password
    - Forget password
 * I think we need a way to only use WP-login.php (or other) for POST and not as
   an actual page
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pure Chat - Live Chat & More!] Chat for desired pages only](https://wordpress.org/support/topic/chat-for-desired-pages-only/)
 *  [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/chat-for-desired-pages-only/#post-6058415)
 * Glad you guys started this post cause I was about to do the same. Is it possible
   load on only selected pages? With that addition I’m willing to vote 5 stars simply
   for how easy it was to setup 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Wp-Admin has a redirect loop after migrating to new server](https://wordpress.org/support/topic/wp-admin-has-a-redirect-loop-after-migrating-to-new-server/)
 *  [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wp-admin-has-a-redirect-loop-after-migrating-to-new-server/page/2/#post-4514023)
 * If its any help to anyone. I had this problem as well because as with most host,
   the only way to direct the primary domain to a directory other than root is to
   use a .htaccess method, and that works fine except when going to `/wp-admin` (
   no trailing “/”) because when it redirects to the wp-login.php it adds a redirect_to
   parameter in the URL, which in my case meant it included the “_production” directory
   in the absolute path.
 * I think this is a bug with WP, but either way the way to fix it was to insert
   this line in the _production directory .htaccess file.
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]  <-- This line
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 * Hope that helps
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Filebase Download Manager] ERROR!](https://wordpress.org/support/topic/error-439/)
 *  [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-439/#post-5333172)
 * Same here, please don’t say something like set WP_DEBUG to false. 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Custom Fields (ACF®)] Bug in Relationship field for Custom Taxonomy](https://wordpress.org/support/topic/bug-in-relationship-field-for-custom-taxonomy/)
 *  [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/bug-in-relationship-field-for-custom-taxonomy/#post-4756117)
 * I see you figured out your answer but the bug still remains from what I can see.
   When I add custom post type relationship field to an options page right now I’m
   getting that same notice:
 * **Notice: Trying to get property of non-object in \acf\core\fields\relationship.
   php on line 496**
 * Any thoughts on how this should resolved?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Fields Shortcodes] Options Page for ACF?](https://wordpress.org/support/topic/options-page-for-acf/)
 *  [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/options-page-for-acf/#post-3306424)
 * If you can clearify you question I may be able to help. Currently my custom starter
   theme allows you to set options in option pages that then effect ACF fields used
   throughout the site.
 * You must export the fields to PHP so they are initiated in the code not the database.
   Then from that point its all about where you hook. Since **4.3** you can use 
   get_field() within your functions.php scope
 * >  4.3.0
   >  Core: get_field can now be used within the functions.php file
 * I believe what you may be attempting is possible but I need better details to
   give you specifics. ACF is an awesome plugin and I’ve used it to great depths
   that I doubt there is anything it can’t do 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Errors in Image Files After Updating WP](https://wordpress.org/support/topic/errors-in-image-files-after-updating-wp/)
 *  [Xtremefaith](https://wordpress.org/support/users/xtremefaith/)
 * (@xtremefaith)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/errors-in-image-files-after-updating-wp/#post-4285948)
 * You are not alone. Are you getting image that are distorted but readable? (lines
   through image, weird coloring etc)? Hopefully someone can verify if it is a WP
   issue of host, at the moment I say WP because I build a lot of sites on different
   host and have only experience this on 3.7+ thus far.

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/users/xtremefaith/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/xtremefaith/replies/page/2/?output_format=md)