Changeset 464181
- Timestamp:
- 11/17/2011 02:10:30 PM (14 years ago)
- Location:
- wp-google-plus-connect/trunk
- Files:
-
- 4 edited
-
buddypress.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
src/io/apiCurlIO.php (modified) (1 diff)
-
wp-google-plus-connect.php (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-google-plus-connect/trunk/buddypress.php
r461249 r464181 197 197 } 198 198 if($url){ 199 $content.="<p><a target='_blank' href='".$url."'>View on Google+</a></p>";199 //$content.="<p><a target='_blank' href='".$url."'>View on Google+</a></p>"; 200 200 } 201 201 //bp_activity_get_meta( $activity_id = 0, $meta_key = '' ); -
wp-google-plus-connect/trunk/readme.txt
r461352 r464181 1 1 === WP Google Plus Connect === 2 2 Contributors: Messenlehner 3 Tags: google +, google plus, google, plugin, login, admin, bridge, api, buddypress, registration, multisite, members, import3 Tags: google plus, google, googleplus, plugin, login, admin, api, buddypress, registration, multisite, members, import, post, social, widget 4 4 Requires at least: 3.0 5 5 Tested up to: 3.1 6 Stable tag: 1.0. 26 Stable tag: 1.0.3 7 7 License: GPLv2 or later 8 8 … … 13 13 Allow your website members the ability to register and/or log in via their Google+ account utilizing the Google+ API. Set up a Google Plus Application and store the API credentials in the WordPress backend, when a user clicks on the "Login with Google+" button that gets added to the WP log in screen or anywhere via a short code and authenticates their Google Plus account a WordPress account will be created with their G+ information and they will automatically be logged in. Any existing WordPress users can also log in via Google+ and link their two accounts. 14 14 15 If BuddyPress is enabled a Google+ login button will appear on the sidebar login and the registration page. Google+ profile photos will also be imported in as BuddyPress avatars. Members can stream their Google+ activity into their BuddyPress activity if they choose via the Google+ options screen under the logged in BuddyPress members profile settings page. A cron job runs every 30 min tues to import any new Google plus activity from connected users.15 If BuddyPress is enabled a Google+ login button will appear on the sidebar login and the registration page. Google+ profile photos will also be imported in as BuddyPress avatars. Members can stream their Google+ activity into their BuddyPress activity if they choose via the Google+ options screen under the logged in BuddyPress members profile settings page. A cron job runs every 30 minutes to import any new Google plus activity from connected users. 16 16 17 Configure Google+ Direct Connect and help visitors find your Google+ page and add it to their circles from directly within a Google Search. 18 19 Configure your Google+ badge and allow visitors to directly connect with and promote your brand on Google+. Visitors can also add your Google+ page to their circles directly from your website. Badges are easy to configure and can be placed anywhere on your website via a short code or a widget. 17 20 18 21 == Installation == … … 21 24 22 25 == Changelog == 26 27 = 1.0.3 = 28 * Added Direct Connect & Badge Settings Admin Page. 29 * Added Direct Connect support: <var><link href="{plusPageUrl}" rel="publisher" /></var> 30 * Added Google+ Badge Short Code and Widget 23 31 24 32 = 1.0.2 = -
wp-google-plus-connect/trunk/src/io/apiCurlIO.php
r460379 r464181 112 112 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); 113 113 curl_setopt($ch, CURLOPT_HEADER, true); 114 $data = @curl_exec($ch);114 $data = @curl_exec($ch); 115 115 $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); 116 116 $errno = @curl_errno($ch); -
wp-google-plus-connect/trunk/wp-google-plus-connect.php
r461249 r464181 6 6 Author: Brian Messenlehner of WebDevStudios.com 7 7 Author URI: http://webdevstudios.com 8 Version: 1.0. 28 Version: 1.0.3 9 9 */ 10 10 … … 15 15 } 16 16 17 //Google+ Auth and Button 17 //Google+ Direct Connect & Badge Header 18 add_action('wp_head', 'wds_google_connect_badge_wp_head'); 19 add_action('admin_head', 'wds_google_connect_badge_wp_head'); 20 function wds_google_connect_badge_wp_head(){ 21 $wds_google_connect_badge_page_id=esc_attr(get_option('wds_google_connect_badge_page_id')); 22 if($wds_google_connect_badge_page_id){?> 23 <link href="https://plus.google.com/<?php echo $wds_google_connect_badge_page_id;?>" rel="publisher" /> 24 <script type="text/javascript"> 25 (function() 26 {var po = document.createElement("script"); 27 po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js"; 28 var s = document.getElementsByTagName("script")[0]; 29 s.parentNode.insertBefore(po, s); 30 })();</script> 31 <?php 32 }