DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:facebooklike

Facebook Like-Button Plugin

Compatible with DokuWiki

No compatibility info given!

plugin Facebook Like-Button Plugin for DokuWiki

Last updated on
2012-06-05
Provides
Syntax, Action

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to facebook, fbcomments, fbsp, socialshareprivacy

Tagged with facebook, fbml, like, social

I looked for a realy good Facebook like-button plugin for DokuWiki but there were only Facebook Plugin and fbsp Plugin. The first one only creates a big fat like-box and the second one is too simple. So I created a plugin on my own.

Features

  1. You can fully customize the appearance.
  2. Easy usage.
  3. Text-Editor button.

Plugin configuration is available in following languages: German, English.

Icon of the text editor button by Yusuke Kamiyamane.

Requirements

To use this Plugin you need the following system:

  • PHP >= 5.1.2
  • DokuWiki >= 2009-02-14b

Installation

In Admin → Configuration settings you can change various settings. You can modify and redistribute it under the terms of the GPL Version 3.

Usage

Adding the following code will insert a default Facebook like-button (with the default settings) on the current page. You can modify the default settings on the wiki configuration page (Admin → Configuration settings).

{{like>}}

If you want you can modify the default settings by adding one or more parameters.

{{like>url=http://example.com/|colorscheme=dark}}

Supported parameters:

Parameter Value Description
url String Page that should be liked. Must be a valid address (e.g. http://example.com/)
layout String Determines the size and amount of social context next to the button:
  • standard
  • button_count
  • box_count
show_faces Boolean Display faces of friends who likes the specified url. Effects layout “standard” only!
width Integer Width of the “reserved” area.
action String The verb to display in the button:
  • like
  • recommend
font String The font of the button:
  • Arial
  • Verdana
  • Segoe UI
  • Tahoma
  • Lucida Grande
  • Trebuchet MS
colorscheme String Colors of the buttons:
  • light
  • dark

Examples

You can try out different combinations on the official Facebook developer page.

plugin/facebooklike.txt · Last modified: 2023-12-21 15:51 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki