WELCOME TO EHOST.COM.NP

Monday, March 21, 2016

Google Sign-in Requesting “Have offline access” – HybridAuth Fix

A customer of our ProfilePress WordPress plugin reported an issue where previously Google-authorized users of his website were being requested to grant his website offline access to their account.

Google sign-in requesting permission

We use the popular HybridAuth library to power the social login feature of ProfilePress. In this tutorial, I am going to show us how to fix this issue in it.

Fixing this issue is as easy as making the following modification to your existing Google HybridAuth config array.

  • Change the profile and email scope to the newer ones.
  • Include approval_prompt and access_type parameter to the config with their values set to auto and online respectively.

Below is the code for the Google HybridAuth configuration with the modification above applied.

La Fin!

ADS SPACE

Thursday, March 17, 2016

How to Fix SVN Error “The HTTP method ‘MKCOL’ is not allowed on …”

I ran into the following error while trying to svn commit the code of this plugin to WordPress plugin repository.

The HTTP method ‘MKCOL’ is not allowed on …

Got to discover via this stackoverflow thread that the error was as a result of me trying to add or push a directory that already existed in the SVN repository.

Wheew!

Categories

Article How-to All Posts WordPress Android Web design Blogger Plugins CSS Google JQuery Plugins Programming Reviews Web Hosting Blogger Blogging Blogging Tips Tricks Web Development Facebook Git Internet Make Money Online Social Plugins Tips Tips and Tricks Tools Tutorials Windows WordPress Plugins Blogging Tips and Tricks Freebies GSM Google Analytics HTML How To's JavaScript Plugin Development S.E.O SEO SMS SmartPhone Social Media Tips amp; Tricks Top-Most Updates Webmaster Tools Whatsapp Applications Apps Blogger Basics Documentary Downloads Entertainment Gadgets Games Gmail Google AdSense Guest Post IPhone Make Money Blogging SVN Security Softwares Web Hosting Tips and Tricks Wordpress Tips Wordpress Tips and Tricks hostgator iOS Advertising Networks Advertising Technology Affiliates Antivirus Audience amp; Traffic Biography Blog post Blog post Blogger Blogger Errors Blogger Tips Blogger Tools Blogger Widget Blogosphere Bogger Widgets CSS selectors CSS symbols CSS3 Computer amp; Internet Content Writing Coupon Codes Data amp; Analytics Deleted blog Design DoubleClick for Publishers Email and newsletter marketting Email marketing Excel Tips Excel Tips and Tricks Facebook Tricks Feed Feedburner Feedburner subscribers Font Fun GitHub Giveaways Gmail primary inbox Gmail tabs Google sign-in Guides HTML amp; CSS HTML5 Infographics Inspirational Instagram Internet Marketing Internet Tips amp; Tricks Job Listings Knowledge Life Hacks Lists Make-Money Monetization amp; Conversion Monetize Navigation Online Marketing Other PHP Tutorials Passport Publishing amp; Content Quotes RSS Sidebar Smartphones Social Networking Status Tech Tech Blog Technology Telegram Themes UI / UX User Psychology amp; Research VB.Net Web Tools Web browser Widget Windows Tips Windows-10 ad viewability admin notice blogging tools bluehost cherry-pick clone cors custom scrollbar customizer dismissible notices duplicate post feed title git branch git clone gpg gpg2 hybridauth iPad icon font notice responsive wordpress theme same origin policy scrollbar signed git commit smartsvn theme customizer vcs wordpress theme wordpress themes

Blog Archive