WP-DOPPLR Wordpress plugin
WP-DOPPLR is a Wordpress plugin that displays your DOPPLR travel information on your blog.
It can be used as a widget or directly as a PHP call in the theme.
See an example of how it works at the upper right panel (sidebar) of the author’s page on this blog.
Installation
- Download WP-DOPPLR.
- Decompress and upload the contents of the archive into /wp-content/plugins/.
- Activate the plugin on your WP Admin > Plugins page by clicking ‘Activate’ at the end of the ‘WP-DOPPLR’ row.
- Configure the plugin on your WP Admin > Options > WP-DOPPLR page. You must sign in to your DOPPLR account in order to get an API key (URL provided).
Usage
To use it, there are two possibilities:
- If your theme supports widgets, and you have installed the widget plugin or you are using Wordpress 2.2 or higher, add the WP-DOPPLR widget on your WP Admin > Presentation > Widgets page.
- Add <?php wpdopplr_badge() ?> at the place in the theme you want the DOPPLR information to appear.
License
This plugin is released under the GPL.
This plugin is provided with absolutely no support or warranty.
Version History
- October 9 2007 - v1.0
- Initial release to the public.
- October 14 2007 - v1.1
- Use the Dopplr AuthSub process.
- January 13 2008 - v1.2
- Add new method future_trips_info.
- Add new option to display cities local time.
- Cache Dopplr query results (Thanks to Boris Anthony for this suggestion).
Frequently Asked Questions
- Is this plugin the official DOPPLR blog badge?
No. Visit the Dopplr badge for your blog post to find out how to get the official DOPPLR blog badge.
- Which are the plugin prerequisites?
- Can I modify the widget look & feel?
The DOPPLR widget information is in a <div class=”wpdopplr”> … </div>. So to modify the look & feel more precisely, just set the css properties of .wpdopplr.
- Can I customise the information that it is displayed?
If you are using the widget, you can not customize the information that it is displayed.
If you are calling the plugin directly in you theme, you can use these PHP functions:
- wpdopplr_badge(): prints your current status and all your future trips.
- wpdopplr_traveller_info(): returns a text var with your current status.
- wpdopplr_local_time(): returns a text var with the local time at your current location.
- wpdopplr_trips_info(): returns an array with all your trips.
- wpdopplr_future_trips_info(): returns an array with all your future trips.



















8 Comments to “WP-DOPPLR Wordpress plugin”
Trackbacks/Pingbacks:
October 21st, 2007 at 11:41 am
[...] WP-DOPPLR v1.1: [...]
December 15th, 2007 at 5:47 pm
[...] El Plugin instalado para wordpress puede ser el oficial de Doppler o este otro de rodenas.org. [...]
January 13th, 2008 at 11:46 pm
[...] Ferdy January 13th, 2008 - 11:45 pm Wordpress Average time to read 0:11 minutes I have updated the WP-DOPPLR Wordpress plugin to add some user [...]
January 22nd, 2008 at 1:15 pm
[...] Plugin Homepage [...]
April 20th, 2008 at 4:44 pm
[...] that little process worked out great. In my opinion, Ferran Rodenas, did a great job with the WP-DOPPLR widget - I wish I could customize it a bit more, but if I really want to, I will modify the [...]
Comments:
February 7th, 2008 at 9:06 pm
That’s pretty sweet. I might just have to use this one on my site!
May 25th, 2008 at 1:05 am
I’m seeing an error when installing the plugin after “Before you get started, please sign in to your DOPPLR accout.” I log in, grant access, then the redirect (/wp-content/plugins/wp-dopplr.php?token=f214e79f2ce1fa4d7f82193f16316429) gives this error:
Warning: require_once(../../wp-config.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/ericschlissel.com/wp-content/plugins/wp-dopplr/wp-dopplr.php on line 42
Fatal error: require_once() [function.require]: Failed opening required ‘../../wp-config.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/ericschlissel.com/wp-content/plugins/wp-dopplr/wp-dopplr.php on line 42
May 27th, 2008 at 1:15 pm
Dopplr Fan, your wp-dopplr plugin file must be installed in the wp plugin’s directory (no subdirectories allowed).
Leave a reply or a trackback from your own site
Please be respectful in your comments. Do not use fake names or email address, otherwise your comments will be moderated.