Linux 软件免费装
Banner图

WP Quadratum

开发者 vicchi
更新时间 2015年2月5日 21:06
PHP版本: 3.9.0 及以上
WordPress版本: 4.1.0
版权: GPLv2 or later
版权网址: 版权信息

标签

widget map maps foursquare swarm checkin checkins wp-quadratum

下载

1.3.1.4 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.3.0 1.3.1 1.3.1.1 1.3.1.2 1.3.1.3

详情介绍:

This plugin allows you to display your last Swarm checkin as a map widget on the sidebar or embedded via a shortcode in a post or page of your WordPress powered site. Setting and options include:
  1. Associate your WordPress powered site with your Foursquare account using OAuth 2.0, which keeps your personal information safe and secure.
  2. Choose which map provider you want your checkin shown on; you can choose from:
  3. HERE Maps
  4. Google Maps v3
  5. Bing Maps v7
  6. OpenStreetMap from Leaflet
  7. OpenStreetMap from OpenLayers
  8. OpenStreetMap from MapQuest
  9. Add your maps API key(s) for your chosen map provider; HERE, Google, Bing and MapQuest maps all require API keys.
  10. Choose the width and height of the widget and map on the sidebar. The width and height can be specified either as pixels (px) or as a percentage.
  11. Choose the zoom level of the map display.
The strapline text containing the venue name, venue URL and timestamp of your last Swarm checkin can be customised via the plugin's filters. See the Filter Support And Usage section for more information. The current version of this plugin allows you to associate a single Foursquare account with your WordPress site; associating multiple Foursquare accounts, one per user account is not currently supported.

安装:

  1. You can install WP Quadratum automatically from the WordPress admin panel. From the Dashboard, navigate to the Plugins / Add New page and search for "WP Quadratum" and click on the "Install Now" link.
  2. Or you can install WP Quadratum manually. Download the plugin Zip archive and uncompress it. Copy or upload the wp-quadratum folder to the wp-content/plugins folder on your web server.
  3. Activate the plugin. From the Dashboard, navigate to Plugins and click on the "Activate" link under the entry for WP Quadratum.
  4. Configure your Foursquare credentials; from the Dashboard, navigate to the Settings / WP Quadratum page or click on the "Settings" link from the Plugins page on the Dashboard.
  5. To display your Swarm checkins, WP Quadratum needs to be authorised to access your Foursquare account information; this is a simple, safe and secure 3 step process. WP Quadratum never sees your account login information and cannot store any personally identifiable information.
  6. Register your WordPress site as a Foursquare application on the Foursquare App Registration page. If you're not currently logged into your Foursquare account, you'll need to login with the Foursquare account whose checkins you want WP Quadratum to display. The Your app name field is a label you want to use to identify this connection to your Foursquare account. The Download / welcome page url is the URL of your Wordpress site. The Redirect URI will be provided for you and will be along the lines of http://www.yoursite.com/wp-content/plugins/wp-quadratum/includes/wp-quadratum-callback.php (this is just an example, don't use this URL). Push API Notifications should be set to Disable pushes to this app. All other fields can be left at their default values. Once you have successfully registered your site, you'll be provided with two keys, the Client ID and the Client Secret.
  7. Copy and paste the supplied Client ID and Client Secret into the respective WP Quadratum setting fields. Click on the "Save Changes" button to preserve them.
  8. You should now be authorised and ready to go; click on the Connect to Foursquare button.
  9. Choose your mapping provider. From the Maps tab, select the map provider from the Maps Provider drop down.
  10. If your chosen mapping provider requires an API key or keys, enter them as requested. If you don't have an API key, each maps provider tab has a link to the provider's site where you can sign up and obtain your API key. Click on the Save Changes button to save your credentials.
  11. Add and configure a WP Quadratum Widget. From the Dashboard, navigate to Appearance / Widgets and drag the WP Quadratum Widget to your desired widget area.
  12. You can configure the widget's title, with widget's width and map height in px or as a percentage and the map zoom level. Click on the Save button to preserve your changes.

屏幕截图:

  • Installed Plugins: Authentication prompt shown after activating plugin for the first time
  • Settings and Options: Foursquare Tab; No Client ID or Client Secret entered or saved
  • Settings and Options: Foursquare Tab; Client ID and Client Secret saved
  • Foursquare Authentication: Allow or deny plugin access to your Foursquare account
  • Settings and Options: Foursquare Tab; Successfully authenticated with Foursquare
  • Settings and Options: Maps Tab; HERE Maps configuration
  • Settings and Options: Maps Tab; Google Maps v3 configuration
  • Settings and Options: Maps Tab; Leaflet Maps configuration
  • Settings and Options: Maps Tab; Bing Maps v7 configuration
  • Settings and Options: Maps Tab; OpenLayers Maps configuration
  • Settings and Options: Maps Tab; MapQuest Open Maps configuration
  • Settings and Options: Shortcode Tab; [wp_quadratum] shortcode enabled
  • Settings and Options: Shortcode Tab; [wp_quadratum_locality] shortcode enabled, no Factual OAuth Key or Secret entered or saved
  • Settings and Options: Shortcode Tab; [wp_quadratum_locality] shortcode enabled, Factual OAuth Key and Secret saved
  • Settings and Options: Defaults Tab
  • Settings and Options: Colophon Tab
  • Appearance: Widgets; Sample widget settings
  • Sample Widget: Google v3, HERE and Leaflet maps
  • Sample Widget: Bing v7, OpenLayers and MapQuest Open maps

升级注意事项:

1.3.1.4 Updated venue category icon handling to correctly display venue icons and refer to checkins as Swarm checkins and not Foursquare checkins 1.3.1.3 Updated category icon handling in line with Foursquare API changes and added black and white cached icons 1.3.1.2 Updated Foursquare DATEVERIFIED version parameter to prevent API calls verified prior to 20120609 being rejected. 1.3.1.1 Fixed bug in checking for when the [wp_quadratum_map] and [wpq_map] shortcodes are enabled. Updated Factual PHP driver to latest version. 1.3.1 Cache last good Foursquare checkin response for when the Foursquare API is down. Add new locality shortcode. This release is fully compatible with WordPress 3.7 "Basie". 1.3.0 Fix issue where the map did not load due to new GitHub content serving policy. Add support for Leaflet, Bing and MapQuest Open maps. Add new wp_quadratum_checkin filter. 1.2 Adds support for the wp_quadratum_strapline filter plus internal housekeeping and library upgrades. 1.1 Adds support for multiple map providers, Internet Explorer map rendering issues and a new shortcode. This is the 4th. version of WP Quadratum. 1.0.2 This is the 3rd version of WP Quadratum; makes widget code W3C/HTML4 compliant, which was breaking widget display on Internet Explorer. 1.0.1 This is the 2nd version of WP Quadratum; fixing an issue with the PHP base class that the code extends. 1.0
  • This is the first version of WP Quadratum

常见问题:

How do I get help or support for this plugin?

In short, very easily. But before you read any further, take a look at Asking For WordPress Plugin Help And Support Without Tears before firing off a question. In order of preference, you can ask a question on the WordPress support forum; this is by far the best way so that other users can follow the conversation. You can ask me a question on Twitter; I'm @vicchi. Or you can drop me an email instead. I can't promise to answer your question but I do promise to answer and do my best to help.

Is there a web site for this plugin?

Absolutely. Go to the WP Quadratum home page for the latest information. There's also the official WordPress plugin repository page and the source for the plugin is on GitHub as well.

I have multiple authors on my site; can I have a widget for each author's Foursquare account?

In the current version, no. In the current version, you can link a single Foursquare account with your WordPress site (multi-site or network sites may work, assuming each site is for a single user but I haven't tested this). The plugin is currently designed to support a WordPress site which is used for a personal blog (in other words, exactly the way my site is set up). Future versions of the plugin may support this if people ask for this feature (assuming anyone apart from myself actually uses it!).

Can I change the format of the strapline that appears under the checkin map?

Yes. The wp_quadratum_strapline filter is for just this purpose. The filter is passed the default strapline as well as the URL to the Foursquare venue checked in at, the name of the venue and the date and time of the checkin as a UNIX timestamp. See the Filter Support And Usage section for more information.

I want to amend/hack/augment this plugin; can I do the same?

Totally; this plugin is licensed under the GNU General Public License v2 (GPLV2). See http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt for the full license terms.

Where does the name WP Quadratum come from?

WP Quadratum is named after both the Latin words quattor, meaning four and quadratum, meaning square.

更新日志:

The current version is 1.3.1.4 (2015.02.05) 1.3.1.4 1.3.1.3 1.3.1.2 1.3.1.1 1.3.1 1.3.0 1.2.0 1.1.0 1.0.2 Summary: Minor fixes to widget HTML structure Fixed: Non W3C/HTML4 compliant widget code which caused the map not to be displayed when viewed with Internet Explorer 1.0.1 Summary: Minor fixes to PHP base class. Fixed: An issue with an old version of WP_PluginBase, the PHP class which WP Quadratum extends. 1.0.0