DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:socialite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:socialite [2018-04-09 23:24]
Fernando Ribeiro [Examples/Usage]
plugin:socialite [2019-04-15 22:11] (current)
cpedraza [Discussion]
Line 6: Line 6:
 email      : fribeiro@fribeiro.org ​ email      : fribeiro@fribeiro.org ​
 type       : syntax, type       : syntax,
-lastupdate : 2018-04-09 +lastupdate : 2019-01-01 
-compatible : "​Frusterick Manners",​ "​Elenor Of Tsort",​ Detritus,+compatible : "​Greebo", ​"​Frusterick Manners",​ "​Elenor Of Tsort",​ Detritus,
 depends ​   :  depends ​   : 
 conflicts ​ :  conflicts ​ : 
Line 27: Line 27:
 ===== Installation ===== ===== Installation =====
  
-Install ​the plugin using the [[plugin:plugin|Plugin ​Manager]] ​and the download URL above, which points to latest version of the plugin. Refer to [[:​Plugins]] on how to install plugins manually.+Search and install ​the plugin using the [[plugin:extension|Extension ​Manager]]. Refer to [[:​Plugins]] on how to install plugins manually.
  
 ===== Examples/​Usage ===== ===== Examples/​Usage =====
Line 46: Line 46:
  
 {{https://​servidordebian.org/​_media/​en/​blog/​2015/​dokuwiki-plugin-socialite-icon.png?​}} {{https://​servidordebian.org/​_media/​en/​blog/​2015/​dokuwiki-plugin-socialite-icon.png?​}}
- 
  
 ===== Syntax ===== ===== Syntax =====
Line 76: Line 75:
 ~~socialite:​icon googleplus tumblr reddit~~ ~~socialite:​icon googleplus tumblr reddit~~
 </​code>​ </​code>​
 +
 ===== Configuration and Settings ===== ===== Configuration and Settings =====
  
Line 93: Line 93:
     * ''​_top'':​ Opens the linked document in the full body of the window ​     * ''​_top'':​ Opens the linked document in the full body of the window ​
   - ''​twitter_user''​ Twitter username of content author (don't include "​@"​),​ to share //via @twitter_user//​.   - ''​twitter_user''​ Twitter username of content author (don't include "​@"​),​ to share //via @twitter_user//​.
 +
 ==== Local settings ==== ==== Local settings ====
  
 Optionally, it is possible to define locally the display mode and network list. This will always override the default settings. Use the syntax ''​~~socialite[:​display_mode] [network ...]~~''​ to define local settings. Optionally, it is possible to define locally the display mode and network list. This will always override the default settings. Use the syntax ''​~~socialite[:​display_mode] [network ...]~~''​ to define local settings.
 +
 ===== Development ===== ===== Development =====
  
Line 112: Line 114:
 ===== FAQ ===== ===== FAQ =====
  
-  - **This plugin counts the number of shares?** No. To count and displays the number of shares lots of external scripts are injected ​on your site, the page will be much heavier and will take longer to download and display. This plugin only calls the external social site if and when you click on the button.+  - **This plugin counts the number of shares?** No. To count and displays the number of shares lots of external scripts are injected ​in your site, the page will be much heavier and will take longer to download and display. This plugin only calls the external social site if and when you click on the button.
  
 ===== Discussion ===== ===== Discussion =====
Line 119: Line 121:
  
 You can report any issues either on the [[https://​github.com/​fa-ribeiro/​dokuwiki-plugin-socialite/​issues|Issue Tracker]]. You can report any issues either on the [[https://​github.com/​fa-ribeiro/​dokuwiki-plugin-socialite/​issues|Issue Tracker]].
 + 
 // -- Add your comments here --- // // -- Add your comments here --- //
 +
 +Hi. When I use the ~~socialite:​icon~~ option it doesn'​t display just the icon. It displays the same as ~~socialite:​name~~ (i.e., **both** the name **and** the icon). If you check your own site, you'll see the problem is replicated there. --- [[user>​cpedraza|Carlos Pedraza]] //​2019-04-15 14:23//
 +
 +----
  
 Hi. I'm sorry but ''​lsb''​ sounds like <​CENSORED>​ :-( Maybe to rename the plugin?--- [[user>​Aleksandr|Aleksandr Selivanov]] //​2015-08-27 11:07// Hi. I'm sorry but ''​lsb''​ sounds like <​CENSORED>​ :-( Maybe to rename the plugin?--- [[user>​Aleksandr|Aleksandr Selivanov]] //​2015-08-27 11:07//
Line 127: Line 133:
 >> Hi, [[user>​Aleksandr|Aleksandr Selivanov]],​ [[user>​ach|Anika Henke]], I decided to rename the plugin, just in case. Also I was not happy with the previous name. Thanks both!  --- [[user>​Fernando Ribeiro|Fernando Ribeiro]] //​2015-09-13 17:58// >> Hi, [[user>​Aleksandr|Aleksandr Selivanov]],​ [[user>​ach|Anika Henke]], I decided to rename the plugin, just in case. Also I was not happy with the previous name. Thanks both!  --- [[user>​Fernando Ribeiro|Fernando Ribeiro]] //​2015-09-13 17:58//
 >>>​ Many thanks, Fernando! --- [[user>​Aleksandr|Aleksandr Selivanov]] //​2015-09-13 18:01// >>>​ Many thanks, Fernando! --- [[user>​Aleksandr|Aleksandr Selivanov]] //​2015-09-13 18:01//
- 
  
 Hola! If you end up with this error: ''​can'​t use method return value in write context'',​ an easy fix is to edit ''​lib\plugins\socialite\syntax\button.php''​ file: Hola! If you end up with this error: ''​can'​t use method return value in write context'',​ an easy fix is to edit ''​lib\plugins\socialite\syntax\button.php''​ file:
plugin/socialite.1523309041.txt.gz · Last modified: 2018-04-09 23:24 by Fernando Ribeiro