Table of Contents

Enhancing DokuWiki with an Email Script for the Bureaucracy Plugin

Enhance your DokuWiki experience with a powerful email script for the Bureaucracy Plugin. This script streamlines communication, ensuring efficient data management and user interaction within your DokuWiki.

Introduction

DokuWiki, known for its simplicity and versatility, becomes even more powerful with the addition of custom scripts. One such enhancement is the email script for the Bureaucracy plugin. This script automates email communication, making it an essential tool for wiki administrators and users alike.

Download

File(s)

Setting Up the Script

The email script, `email.php`, utilizes the settings defined in the Bureaucracy form. The script's settings are set using bureaucracy inputs either in the very first unnamed fieldset or without a fieldset.

Here is a list of the available settings:

Available Patterns

The email.php script uses the Bureaucracy form data to generate emails. It replaces specific patterns in the form fields with actual data and sends an email to the configured recipient.

Here is a list of available patterns:

Example

====== Account Opening ======
 
<form>
Action script email.php
 
Hidden to "=username@domain.com"
Hidden from "=no-reply@domain.com"
Hidden subject "=@FORMPAGE_!!PAGE@"
Hidden showFieldSet "=0"
Hidden debug "=0"
 
Fieldset "Company Information"
Textbox  UsualName "=ABC Company"
Textbox  LegalName "=1234-1234 Quebec Inc."
Textbox  SBRN "=123456789RM0001"
Textbox  Address
Textbox  City
Textbox  State
Textbox  Country "=Canada"
Textbox  ZipCode
Textbox  Phone
</form>

Install the Script

You will need to download the script from here email.php. And upload it to [webroot]/conf/plugin/bureaucracy/. Detailed setup instructions are available on the [DokuWiki Plugin page](https://www.dokuwiki.org/plugin:bureaucracy).

Conclusion

The email script for the DokuWiki Bureaucracy plugin is a testament to the flexibility and adaptability of DokuWiki. By enhancing communication and data management, it becomes an indispensable tool for any DokuWiki user seeking to maximize the efficiency of their wiki.

Tags