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
Repository
Source

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, 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

Download / Installation

You can download the plugin here:

https://github.com/marvinrabe/dokuwiki-facebook/downloads

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: 2015-11-16 14:21 by ach