Tuxlog

Tuxlog, aus dem Alltag eines Linux-Fans

wp-Monalisa Version 1.0

wp-Monalisa ist das Wordpress Plugin, das dich anlächelt wie nur Mona Lisa es tut. :-)
wp-Monalisa ist ein weiteres Smiley-Plugin zur Einbindung beliebiger Smilies in Artikel, Seiten und Kommentare. Dabei soll wp-Monalisa leicht zu bedienen sein und sich in die Wordpress-Oberfläche integrieren.
Auslöser für die Realisierung war Barbara, die mir immer wieder versicherte, die bestehenden Plugins seien umständlich zu handhaben, werden nicht mehr gepflegt oder unterstützen nur bestimmte Funktionalitäten zur Einbindung von Smilies auf dem heimischen Blog. So ist dann die Idee von wp-Monalisa geboren worden…es ist einfach, es lächelt, was will man mehr? ;-)
Über Eure Anregungen und Hinweise freuen wir uns.
For some hints in english look at readme.txt

Features

  • Verwaltung der Smilies in einem eigenen Verzeichnis über den Admin-Dialog
  • Smilies können nur für Posts, nur für Kommentare oder für beides zugelassen werden
  • Smilies können direkt durch img Tags ersetzt werden
  • die Wordpress Smiley Funktion kann ergänzt oder übersteuert werden
  • wp-Monalisa zeigt sich im Edit-Dialog in einer praktischen, verschiebbaren und einklappbaren Metabox
  • wp-Monalisa erweitert vorhandene Kommentarformulare um Smilies :-)
  • die Smilies können beim Kommentarformular auf- und zugeklappt werden.
  • Importfunktion für phpbb Smiley-Pakete (beispielsweise zu finden unter www.greensmilies.de)
  • Exportfunktion für phpbb Smiliey-Pakete (.pak Format)
  • wp-Monalisa unterstützt sowohl GIF, als auch PNG Smilies

Download

wp-monalisa-1.0.zip Downloads: 1500 times

Ältere Versionen auf wordpress.org

Dokumentation

Das englischsprachige Readme. The readme.txt in english.
Die wunderbare Dokumentation von Barbara.
The wonderful manual from Barbara
Eine Kurzanleitung zur Integration von wp-monalisa in das dmsguestbook

Installation

  1. Auspacken des zip-Archivs und uploaden in das Wordpress-Pluginverzeichnis (wp-content/plugins/), so daß wp-monalisa.php im Ordner wp-content/plugins/wp-monalisa/ landet.
  2. Aktivieren des plugins über den Plugin-Admindialog.
  3. Einstellungen auf der wp-Monalisa Admin-Seite vornehmen (auf jeden Fall, sollte die Kommentarfeld ID geprüft werden, besonders bei der Verwendung von eigenen nicht standardisierten Themes)
  4. Optional: Wer möchte kann die Anzeigestile in der Datei wp-monalisa.css anpassen.

Beim Update sollte das Plugin einmal deaktiviert und dann wieder aktiviert werden, da im Falle von Datenbankänderungen, dies nur dann durchgeführt werden. Die gepflegten Smilies werden dadurch nicht gelöscht. Wer Änderungen am Layout vornehmen möchte, sollte diese durch kopieren der wp-monalisa-default.css nach wp-monalisa.css und dann editieren der wp-monalisa.css vornehmen. Ab der Version 1.0 werden beim Autoupdate von Wordpress sowohl die Datei wp-monalisa.css, als auch eventuell vorhandene eigene Smilies im Unterverzeichnis icons geschützt und nicht mehr durch den Autoupdate gelöscht. Dieses Feature greift erstmalig dann mit dem Update auf die Version 1.1 (mit 1.0 sind die entsprechenden Funktionen eingebaut worden).

Screenshots

Historie

2009-05-17 v0.1 Initial release

2009-05-22 v0.2 added alt attribute to img tags, to produce correct xhtml, fixed german translation, added import dialog to import phpbb3 smiley packages, added space after shortcode insertion, automatically extend array allowedtags when oncomment and replace options are set, improve error handling with directories, added polish translation

2009-05-29 v0.3 renamed default icons with prefix wpml_ to get a more or less unique name and prevent override, modified row width of row emoticon to 25, add maxlength attribute=25 to input fields for emoticons, added screenshot for import dialog, styled admin dialog a bit more wordpress like (alternate background color for table, buttons outside the table, added checkall box)

2009-05-30 v0.4 fixed trimming whitespace from emoticons in admin dialog, fixed replace algorithm, now search for longest substring first and can handle any whitespace situation

2009-06-16 v0.5 added dummy version to javascript includes to hide wordpress version, insert smilies with trailing space to make sure the shortcodes can be found, set default smiley to correct file name, now png icons are also supported, surpress showing smilies mor than once if more than one shortcode is defined for the same file, modified column width of column iconfile to 80

v0.6 (2009-08-18) changed readme to support new changelog feature at wordpress.org, new option, smilies can also be output in a table (only for comments), added support for user specific css file to improve support for automatic update, fixed handling of slashes in emoticons, fixed handling of trailing spaces in emoticons

v0.7 (2009-09-27) added russian translation, thanks to Fat Cow (http://www.blog.fatcow.com), added belorussian translation, thanks to ilyuha (http://antsar.info), added .pak export functionality, divided smiley-list into two pages (smiley list navigator using jquery ajax)

v0.8 (2009-11-30) fixed invalid XHTML in admin dialog, fixed strange behaviour when deactivating smilies on comments results in null, added hint to deactivate wordpress smilies fpr wp-monalisa

v0.9 (2009-12-19) fixed invalid xhtml in admin dialog, mark iconfiles not yet mapped with a star

v1.0 (2010-01-17) fixed wrong initial value for show as table option, added alt attribute to admin dialog icons (xhtml fix), set floating control div to display:none in wpml_comments.php, added support for autoupdate to prevent auto delete of private smilies and custom css, fixed undefined index warning in wpml_admin.php

 

Artikel, die auch interessant sein könnten:

Teile und hab' Spaß Diese Icons verlinken auf Bookmark Dienste bei denen Nutzer neue Inhalte finden und mit anderen teilen können.
  • Print
  • email
  • Technorati
  • del.icio.us
  • MisterWong
  • Linkarena
  • Alltagz
  • Blogosphere News
  • Google Bookmarks
  • YahooMyWeb
  • Y!GG
  • Bloglines
  • TwitThis
  • Webnews
  • Digg
  • Wikio DE
  • Oneview

17. Mai 2009 Geschrieben von webmaster | KeinWindowsMehr, wordpress | 160 Kommentare | Trackback URI

160 Kommentare zu “wp-Monalisa Version 1.0”

Seiten: « 1611 10 9 [8] 7 6 51 » Zeige alle


80

then i change the default smiles, i got this error on my post.

Warning: preg_replace_callback() [function.preg-replace-callback]: Unknown modifier ‘\’ in /home/driftu/jamaica.asmeninis.com/wp-content/plugins/wp-monalisa/wpml_func.php on line 182

Then i use default smiles, my site front page looks:

http://img149.imageshack.us/img149/2298/nuotraukab.png

and comment with default smiles:

http://img149.imageshack.us/img149/8571/nuotrauka1.png

Then i use another smiles my site front page looks:

http://img228.imageshack.us/img228/7580/nuotrauka2.png

and comment with another smiles:

http://img229.imageshack.us/img229/4034/nuotrauka3.png

Gravatar of Driftu

79

hello driftu,
I just visited your website, try a comment and it worked perfectly. I can’t reproduce the error message.

Gravatar of webmaster

78

hi, what’s wrong with my website, then i active wp-monalisa plugin, where a my acticle post i got with error.

Warning: preg_replace_callback() [function.preg-replace-callback]: Unknown modifier ‘\’ in /home/driftu/jamaica.asmeninis.com/wp-content/plugins/wp-monalisa/wpml_func.php on line 182

this page:

http://jamaica.asmeninis.com/?p=4

thanks for help

Gravatar of Driftu

77

hello Tammy,
since you can have more than one emoticon for the same image it makes sense. think of : – ) and : smile : (without the spaces) for a normal smiley. this results in one image and two entries at the admin screen. thats exactly what you obeserved. to add other images just copy them into the image directory and add a new entry at the admin screen ( you can do this in the first line of the table where you see the textfields and checkboxes clicking save afterwards). alternatively you can have your own image directory if you want or import a phpbb3 image pak via the import link. unfortunately there is no english reference to wp-monalisa yet. I will ask Barbara if she likes to translate our german reference.

Gravatar of webmaster

76

One more question. Since I only speak English and I can’t read your website, I was wondering how to add other emiticons to the folder?

Gravatar of Tammy Adams

75

oooooooohhhhhhhhhhhh…… I think I see the problem. Even though there are over 30 images there are only 17 different Icons to choose for the emiticons. Does that make sense? Tammy

Gravatar of Tammy Adams

74

Just to add. I looked at the icon folder that is in the plugin and there are only 17 there, but there are over 30 showing when you look at the plug in at the admin area. Thanks, Tammy

Gravatar of Tammy Adams

73

They are all checked for comments. I’m not really sure where to check in the .css like you asked. I checked the style.css and I don’t see anything about the plugin. Should I be looking some where else? Thanks, Tammy

Gravatar of Tammy Adams

72

hi Tammy,
there are several reasons leading to this. please first check if you see all the smilies in the admin dialog (list at the bottom), then check if they are activated for comments and/or the editor as you wanted and last it could depend on your theme and how it is embedded via css (check the html source if only the 17 smilies are there or more and you can not see them, you can search for the image file names). can you check this and give the results?

thanks, hans

Gravatar of webmaster

71

Hi, When I activate the plugin, only 17 smiles show up and there are over 30 in the plugin. How do you get all of them to show? Thanks

Gravatar of Tammy Adams

Seiten: « 1611 10 9 [8] 7 6 51 » Zeige alle

Beitrag kommentieren

:bye: 
:good: 
:negative: 
:scratch: 
:wacko: 
:yahoo: 
B-) 
mehr...