Polarsteps.com offers a great way of logging your travel experiences. The app does record GPS Locations “Steps”. The user can add images and texts for them. However, for multiple reasons, a lot of travelers are having WordPress travel blogs up and running. If they still want to use Polarsteps and show their last location in their WordPress instance, this plugin offers basic integration between both worlds.
While being on my round the world trip, I was looking into several options how to communicate back home from my journey. In the end, I thought a combination of a traditional blogging platform used to write posts and an app like Polarsteps offers the most flexibility for me while traveling. If my girlfriend or I want to write an article what happened in the last days (for multiple locations) we can do so. If it’s just about letting everyone know where I was, I use polarsteps travel tracker. Still, for the audience it is important to have all in one place – and have a single point of knowledge.
This plugin does the first approach to caching the “Steps” on WordPress-side and giving to the users a brief information within a widget where and when the last location within polarsteps was set.
See the Github-Repo here: https://github.com/npersonn/integrate-polarsteps
As I’m not part of the company behind Polarsteps and just developed the plugin for personal purposes, I reached out to them, in order to check, if they might support the plugin officially. Mainly due to business and UX reasons, they responded they could not officially support my approach. This means the APIs on their side could change from one day to another. In this case, the plugin would stop getting new steps from your Polarsteps profile.
- Register an account for Polarsteps (if not already done)
- Install the plugin. Upload a zip-archive or upload
polarsteps-integrationdirectory to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Obtain Username (and if needed Trip Id) from Polarsteps.com and add it to the plugin’s settings (see FAQs)
- Create Trip (with at least one Step) on Polarsteps.com and make sure it is public
- If WP-Cron is not activated. Install & activate Cronjob Plugin e.g.
- Schedule the action
polarsteps_update_stepswhenever needed e.g. hourly
- Add the widget to your page to see the last location (“Step”) on your page
- How to get my Username from Polarsteps?
You registered with a unique Username on Polarsteps. This Username is used in the Polarsteps Settings.
- How to get a Trip Id from Polarsteps?
Currently, the plugin only supports having profiles with one trip. For now enter “0” here.
- I don’t see a Recent Location in the Widget
Check the Settings (Settings > Polarsteps Settings), if the username is correctly set.
If the username is correct, on save the data is fetched. Afterwards, last step is shown in a notice.
- My Widget “Recent Location” is not updating
Make sure that either WP-cron is activated or a Cronjob plugin is successfully triggering the action
Furthermore, the polarsteps account needs to have public trips. If the user exists but no trip nor steps, naturally the plugin cannot show your recent location.
- I want to customize my Widget
Feel free to edit the CSS-classes
polarsteps_country_flagto your needs.
No hi ha ressenyes per a aquesta extensió.
Col·laboradors i desenvolupadors
«Polarsteps Integration» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.Col·laboradors
Tradueix “Polarsteps Integration” a la teva llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.
Registre de canvis
- Use cUrl for API-Calls
- Add scalar Typehints
- Bugfix: Adapt Connector due to breaking change on
- Use api.polarsteps.com instead of www.polarsteps.com
- Usability: Validating, if a Username exists on Settings Change
- Bugfix: If a User exists, but does not have a public trip an error is logged.
- Usablity: Updating & showing the recent location in the options, after a username is changed
- Fixing issue on Admin-page, not showing the correct polarsteps_username
- Fixing issue of incomplete data-sets from API. Added Update-Query for missing location names
- Updated Settings. Instead of a UserId, only the username is now needed
- Using Wp-Cron to Schedule Updates
- Added pot-File for I18n
- Added Deeplink for Recent Location Widget
- Extended Database Schema for deeplink generation
- Updated Descriptions
- Added Plugin Icons
- Initial Commit providing the base. Caching Steps on the WordPress Db and showing them as a widget.