A WordPress plugin that adds a "Share on D*" button at the bottom of your posts.
Diaspora to Wordpress plugin in WP Plugin Directory
This plugin adds a "Share on Diaspora" button at the bottom of your posts. Unlike other similar buttons, this one is not tied to one single pod. Instead it allows the users to select their favorite pod from the list, or type it directly. The button is highly customizable, allowing blog admins to set the color, size and shape in accordance with the overall look and feel of their blogs.
There is an ongoing effort to translate the plugin into other languages. This way, the sharing UI stays in the same language as the rest of the website. So far, the following translations are available:
- French -- contributed by Stef20 from stef20.info/blog and Se7h
- German -- contributed by Georg Krause mail@georg-krause.net and JanRei
- Indonesian -- contributed by https://www.chameleonjohn.com
- Italian -- contributed by Sandro kensan kensan@kensan.it from www.kensan.it
- Japanese
- Portuguese (Brazil) -- contributed by Vostok info@diaspbr.org
- Romanian
- Russian
- Serbo-Croatian -- contributed by Borisa Djuraskovic from Webhostinghub.com
- Spanish -- contributed by Andrew Kurtis from Webhostinghub.com and David Charte
Please note, that some translations might be incomplete and lack latest changes.
Currently, most translation efforts are concentrated on PoEditor.com. If you want to contribute a translation, or point out some errors in others' translations, check out our project.
- The "Share on D*" button under the default "Hello World" post in "Twenty Fifteen" theme.
- Choose a Diaspora pod from the list or type it in the text field.
- Verify the text of your post, Aspects that will see it etc, and press the Post button.
- To choose from several preset color profiles, go to the Settings page, 'Color Profiles' tab.
- To customize the look of you button, go to the Settings page, 'Button options' tab.
- To upload and use own image instead of the stock button, go to the Settings page, 'Custom Image' tab.
- To choose the pods to be included in the drop-down list, go to the Settings page, 'Pod list options' tab.
- To show/hide the button in RSS feeds, go to the Settings page, 'Misc' tab.
- Get the latest snapshot of master branch.
- In the
/wp-content/plugins/
directory of your WordPress installation create a subdirectory calledshare-on-diaspora
. - Copy the contents of
trunk
into the directory you created above. - Activate the plugin through the 'Plugins' menu in WordPress.
- Enjoy
No. Users can reshare to any Diaspora pod: select from the list or type their own.
Bug reports, feature requests and real code are always welcome. Check out https://github.com/ciubotaru/share-on-diaspora or drop a line to "vitalie at ciubotaru dot tokyo".
No.
Yes. In the plugin settings panel, go to 'Button options' tab (default) and tweak the colors, size and shape of your button. After you are done, press 'Update'.
Yes. In the plugin settings panel, go to 'Custom image' tab and upload your image or insert the URL of an existing image (e.g. from your Media gallery). After you are done, press 'Update'.
Yes. You can do this on the 'Pod list options' tab in the settings panel. To get (or update) the list of all active pods, press the 'Retrieve' button. To add a pod from the list, select it with up/down keys in the 'Add a pod' textbox and press 'Add'. To add a custom pod, type it in the textbox and press 'Add'. After you've added all pods that you want to see in the dialog, press 'Update'.
Yes. You can manually retrieve a fresh list of active pods on the 'Pod list options' tab of the settings panel. Press the 'Retrive' button to download the list, then press 'Update' to save changes. Now the list of active pods is available in the 'Add a pod' textbox. Use up/down keys to navigate the list.
Alternatively, you can install an auxiliary plugin called Diaspora Podlist Updater that automatically retrieves a fresh list of active pods.
- Bug-fix: a missing 'static' qualifier
- Bug-fix: class function and class property visibility
- Bug-fix: removed static functions
- Bugfix: a missing $ sign
- Buf-fix: some more compatibility iisues with WP versions >= 5.0
- Bug-fix: compatibility with WP versions >= 5.0
- Bug-fix: updated code to fetch podlist from podupti.me
- Bug-fix: a reflected XSS in share url parameters (patch provided by Framartin@GitHub).
- Moved translations to GlotPress
- Bug-fix: sharing functionality in RSS feeds.
- Button in RSS feeds is made optional
- Post title is editable now
- Bug-fix: warning messages about non-compliance with strict standards.
- i18n: German translation updated.
- Minor improvements (updated FAQ and compatibility info, removed deprecated calls etc.)
- Bug-fix: the default placeholder in pod selection window did not display properly.
- Code formatting streamlined to reflect WP Coding Standards.
- Bug-fix: saved settings shouldn't be deleted on deactivation, only on uninstall.
- Added color presets
- Changed podlist update mechanism
- Added support for an auxiliary plugin (Diaspora Podlist Updater)
- Very likely added new bugs
- Updated list of active pods
- i18n: Serbo-Croatian translation added
- Updated list of active pods
- i18n: French translation added
- i18n: Italian translation added
- Updated list of active pods
- i18n: completed Japanese translation, other minor updates
- New feature (admin can add custom pods from plugin settings panel)
- i18n: minor updates in translation
- Updated the list of active pods
- Bug-fix: Button on pages (changed to posts-only)
- i18n: Portuguese (Brasil) and Romanian translations updated. A [parial] Japanese translation added.
- New options (custom image)
- i18n: Portuguese (Brazil), Spanish, Russian and Romanian translations added
- Bug-fix: Button sometimes sharing wrong page
- New options (customizable text on the button, color change on mouseover)
- Customizable pod list on the pod selection page
- Bug-fix: bad button formatting on some themes
- Bug-fix: Missing callback function
- Bug-fix: Conflict with OpenGraph's "og:description" tag
- Bug-fix: syntax error on PHP < 5.4
- Bug-fix: function names can cause conflict
- Customizable button settings (text color, background color, size and rounded corners)
- Pod selection dialog renewed
- First release
Version 0.3.3 introduces new ways to customize you share button. The default values for these options may not match your preferences, so please make sure to check the "Share on D*" settings page and tweak them to your liking.
- Think about how to add a graphical color-picker to the settings page. JavaScript?
- Think how to update preview automatically. JavaScript?