🔒 EXCLUSIVE: Changeset/ - HD Photos!

Changeset 464181


Ignore:
Timestamp:
11/17/2011 02:10:30 PM (14 years ago)
Author:
Messenlehner
Message:

Added Direct Connect & Badge Settings Admin Page.

Location:
wp-google-plus-connect/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-google-plus-connect/trunk/buddypress.php

    r461249 r464181  
    197197            }
    198198            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>";   
    200200            }   
    201201            //bp_activity_get_meta( $activity_id = 0, $meta_key = '' );
  • wp-google-plus-connect/trunk/readme.txt

    r461352 r464181  
    11=== WP Google Plus Connect ===
    22Contributors: Messenlehner
    3 Tags: google+, google plus, google, plugin, login, admin, bridge, api, buddypress, registration, multisite, members, import
     3Tags: google plus, google, googleplus, plugin, login, admin, api, buddypress, registration, multisite, members, import, post, social, widget
    44Requires at least: 3.0
    55Tested up to: 3.1
    6 Stable tag: 1.0.2
     6Stable tag: 1.0.3
    77License: GPLv2 or later
    88
     
    1313Allow 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.
    1414
    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 mintues to import any new Google plus activity from connected users.
     15If 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.
    1616
     17Configure Google+ Direct Connect and help visitors find your Google+ page and add it to their circles from directly within a Google Search.
     18
     19Configure 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.
    1720
    1821== Installation ==
     
    2124
    2225== 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
    2331
    2432= 1.0.2 =
  • wp-google-plus-connect/trunk/src/io/apiCurlIO.php

    r460379 r464181  
    112112    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
    113113    curl_setopt($ch, CURLOPT_HEADER, true);
    114     $data = @curl_exec($ch);
     114    $data = @curl_exec($ch);
    115115    $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    116116    $errno = @curl_errno($ch);
  • wp-google-plus-connect/trunk/wp-google-plus-connect.php

    r461249 r464181  
    66Author: Brian Messenlehner of WebDevStudios.com
    77Author URI: http://webdevstudios.com
    8 Version: 1.0.2
     8Version: 1.0.3
    99*/
    1010
     
    1515}
    1616
    17 //Google+ Auth and Button
     17//Google+ Direct Connect & Badge Header
     18add_action('wp_head', 'wds_google_connect_badge_wp_head');
     19add_action('admin_head', 'wds_google_connect_badge_wp_head');
     20function 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    }