Skip to content

davidjimenez75/dokuwiki-smileys-local

Repository files navigation

dokuwiki-smileys-local

Recopilation of smileys packs to use in Dokuwiki.

Small PHP script for easyly create your own smileys/tags/labels packs config file conf/smileys.local.conf with just copy and paste from your own browser.

(http://YourDOKUWIKI.URL/lib/images/smileys/local/index.php)

Quick Start

Create a lib/images/smileys/local/ folder and clone this repo there.

cd ./lib/images/smileys/
mkdir local
cd local
git clone https://github.com/davidjimenez75/dokuwiki-smileys-local/ ./

Copy the smileys.local.conf to conf/smileys.local.conf

Touch conf/local.php to refresh the Dokuwiki editor cache.

WYSIWYG Dokuwiki Editor

Comparison between Dokuwiki Default smileys Vs EmojiOne Vs OpenMoji

Just copy the root folder smileys.local.conf to conf/smileys.local.conf

Don't forget to touch the file conf/local.php to refresh the Dokuwiki editor cache. ;)

WYSIWYG smileys

WYSIWYG Editor

Example with "emojione-smileys" + "dokuwiki-tags-en" icon packs installed.

WYSIWYG smileys

Smileys Packs

dokuwiki-tags-en

dokuwiki smileys

emojione-faces

dokuwiki smileys

emojione-smileys (just replace the default Dokuwiki smileys)

dokuwiki smileys

github-tags-en

dokuwiki smileys

icons8 (svg)

dokuwiki smileys

openmoji32-faces

dokuwiki smileys

openmoji32-smileys (just replace the default dokuwiki smileys)

dokuwiki smileys

Customize smileys (Official Dokuwiki Info)

https://www.dokuwiki.org/smileys

To add your own smileys, and make them upgrade-safe as well, you should follow these instructions instead of mixing them with the default-smileys from Dokuwiki-package:

  • Create a new folder called local inside the smileys-dir lib/images/smileys/local/ and put the imagefiles into it (make sure the images are readable by the webserver)
  • Create a custom smiley-config file at conf/smileys.local.conf and prefix each image filename with local/
An example configuration file could look like this: <code>
# Custom Smileys
# Images are seen relatively from the smiley directory lib/images/smileys/
# TEXT_TO_REPLACE       FILENAME_OF_IMAGE
#
:MYFACE:                local/i_am_so_pretty.jpg

# or eventually disable a smiley by mentioning the key, without image path.
DELETEME

Authors and Licenses

Smiley pack Website Repo License
icons8 https://icons8.com github Good-Boy Licence
openmoji https://openmoji.org/about/ github CC BY-SA 4.0
emojione https://www.joypixels.com/ github archived - github Free License
dokuwiki Pack created by myself github CC BY-SA 4.0
github Pack created by myself github CC BY-SA 4.0

FAQ

I can't see the new smileys on the Dokuwiki editor.

Editing smileys.local.conf sometimes doesnt not work due to cache issues, try touch the date of conf/local.php and reload Dokuwiki (Ctrl + F5).

I want to create my own icon package.

Just create a new folder with your smileys, lauch the config generator in your browser (http://YourDOKUWIKI.URL/lib/images/smileys/local/index.php), click on your folder, select content (Ctrl + A) and copy that inside your conf/smileys.local.conf

All icon packs folders are previewed on load.

What the #REPEATED text means?

There is another smiley with the same text-to-replace.

Can I create by own project/personal (TAGS)

By default Dokuwiki uses :TAGS:

But you can edit the index.php to generate the conf/smileys.local.conf with your own symbols.

    // CONFIG 
    $smileStringStart =':'; // prefix for smileys by default is :
    $smileStringEnd   =':'; // suffix for smileys by default is :

You can also manually edit the conf/smileys.local.conf first column text-to-replace.

Example of GTD "(TAGS)":

(ACTION)                                     local/dokuwiki/action.gif    
(TO-DO)                                      local/dokuwiki/to-do.gif     
(NEXT)                                       local/dokuwiki/next.gif    
(SOMEDAY)                                    local/dokuwiki/someday.gif     
(WAITING)                                    local/dokuwiki/waiting.gif 
(FINISHED)                                   local/dokuwiki/finished.gif   

Can I use GTD :TAGS: on my Dokuwiki to keep track of my tasklists?

With the Dokuwiki search tool is easy to keep track of :TAGS:

I have used this on my own Dokuwiki:

:ACTION:                                     local/dokuwiki/action.gif    
:TO-DO:                                      local/dokuwiki/to-do.gif     
:NEXT:                                       local/dokuwiki/next.gif    
:SOMEDAY:                                    local/dokuwiki/someday.gif     
:WAITING:                                    local/dokuwiki/waiting.gif 
:FINISHED:                                   local/dokuwiki/finished.gif   

I want to disable some of the default smileys

Add the text-to-replace to that smileys at the bottom of your conf/smileys.local.conf

# DISABLED
 
FIXME
DELETEME

About

Recopilation of "smileys" to use in Dokuwiki.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages