A bunch of plugins made for LionWiki (http://lionwiki.0o.cz)
Simply copy the file for the related plugin into your lionwiki directory, under the 'plugins' folder. Done!
A simple plugin to add an anchor in a page. Useful? Maybe.
Syntax:
{anchor:your_anchor_name}
A plugin to add Google ReCaptcha support. Help against spammers in comment or admin areas! Replaces the standard text CAPTCHA with the ReCaptcha one. Use the following syntax in your templates.
Syntax:
{ plugin:RECAPTCHA}
As an example, for the Comments section, you need to:
-
Add the corresponding plugin source in your /plugins folder.
-
Configure: your ReCaptcha API ID and the Secret Key;
-
Replace in the /plugins/wkp_Comments.php file, the following line (:197):
if(isset($plugins["Captcha"]) && $plugins["Captcha"]->checkCaptcha() == true) {
with this one:
if(isset($plugins["ReCaptcha"]) && $plugins["ReCaptcha"]->checkCaptcha() == true) {
-
Finally, replace in the /plugins/Comments/template.html the line:
{ plugin:CAPTCHA}
with, instead:{ plugin:RECAPTCHA}
-
Profit!
A plugin to add a Youtube video in a page. Without giving the right to write random HTML to the users.
Syntax:
{youtube:youtube_video_id}
Let me know for any security issue, or any other trouble that can happen.
Find more about LionWiki at: http://lionwiki.0o.cz/