Tuxlog

Tuxlog, aus dem Alltag eines Linux-Fans

wp-Monalisa Version 1.7

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
  • Ab der Version 1.1. wird auch der FCK Editor unterstützt. Das Plugin dazu gibt es hier
  • Ab der Version 1.2 besteht die Möglichkeit an den Icons Tooltips einzublenden.
  • Ab der Version 1.3 unterstützt wp-monalisa rudimentär auch Multisite-Blogs
  • Ab der Version 1.4 bietet wp-monalisa eine Funktion zum besseren Einbinden und Platzieren der Smilies im Kommentarformular (s. Abschnitt 6 im Handbuch oder die ausführliche Erklärung bei Stefan)

Download

wp-monalisa 1.7 Downloads: 2131 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
Ausführliche Anleitung bei Stefan zur Positionierung der Smilies im Kommentaformular
WordPress Plugin wp-Monalisa Screencast zur Installation
WordPress Plugin wp-Monalisa Screencast zur Konfiguration
WordPress Plugin wp-Monalisa Screencast zur Verwendung
WordPress Plugin wp-Monalisa Screencast zum Im- und Export von Smilies

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

v1.1 (2011-01-23) added support for fckeditor (thanks to Ivonne)

v1.2 (2011-03-13) fixed a problem with wp 3.1 in network mode, due to a different search path the wrong setup.php was included, added tooltip support for icons

v1.3 (2011-05-03) added simple support for multisite installtions (smilies can be only maintained from mainblog and work on every blog which it is activated for)

v1.4 (2011-08-08) added function get_wpml_comment() which returns the smiley-html-code to integrate within comment_form theme code

v1.5 (2011-10-22) removed russian translation because of a restricton from wordpress.org, added hebrew translation thanks to Sagive

v1.6 (2011-12-14) now using wp_enqueue_style for css, clean up html5 code errors for 3.3 compatibility

v1.7 (2011-12-21) clean up more (maybe all?) html5 code errors for 3.3 compatibility

 

Artikel, die auch interessant sein könnten:

Diesen Artikel mit anderen teilen: 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
  • Facebook
  • XING

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

197 Kommentare zu wp-Monalisa Version 1.7

  1. 120

    Hello Hans,
    First of all I want to thank you so much for such a wonderful plugin. But I have a small problem and hope you help me to sort out in it.
    It works perfectly if smiles inserted automatically (under comments form). But when I turn off the checkmark under Show smilies on comment and add to my comments.php the line , smiles is working only for me (when I logged in as an admin). For my visitors smiles don’t work. They can see smiles and can use them, but smile don’t appear in comments :cry:
    What the problem could be?


    • 120.1

      hello Anfisa,

      well, I am not sure I understood you correct. when you deactivate “show smilies on comments”, then smilies are deactivated for comments and therefore are not shown. but what exactly do you want to do? and which line did you add to your comments.php? if it is easier for you, you can send me a pm with some screenshots.

      regards, hans

       

    • 120.2

      ok, I’ll try to explain. By default smiles appear under comment form (under textarea). I would like them to be above textarea. I follow instruction at page http://www.tuxlog.de/wordpress/2009/wp-monalisa-manual/

      If you don’t want your smilies to show up automatically under the comments field but rather have them appear somewhere else, turn off the checkmark under Show smilies on comment and add to your comments.php the line wherever you would like your smilies to appear.

      As a result I get smiles above comment form, but my visitors cannot use them.
      It looks like this:
      Visitor writes a comment, clicks on smile, the code of smile image appear in textarea (till now everything is ok). Then the commentator click on “Send a comment” button. Comment appear, but smile not.

       

    • hello Anfisa,

      think I got it now. I just looked at your site and one thing strikes. you have two textarea one of them is hidden. my guess is that this conflicts because both have name id like comment. can you try to deactivate the second hidden textarea. by the way, I understood everything works fine, when you use wp-monalisa the normal way (smilies below the textarea), correct?

      regards, hans

       

  2. 119

    Das ging ja schnell! Danke! :good:


  3. 118

    Erstmal danke fuer dein Plugin :good: , zusammen mit den “Gruenen” (oder “Blauen”) klappt das ganz gut auf meinen bald erscheinenden neuen Blog. Ein Featurerequest habe ich dennoch: koenntest Du bei einem naechsten Update die Moeglichkeit bieten, dass man im img tag nebst “alt” auch “title” hat? So hat man einen ToolTip, was bei so manchem Smiley doch nuetzlich ist (und das sieht besser aus, als Text unterm Smiley). Im moment loese ich das mit jQuery (war eine schoene Uebung ;)) aber waere schoen, wenn das von Hause aus ginge. :yes:
    Danke & keep smiling,
    Wyando


  4. 117

    Hallo Hans,

    danke für die schnelle Antwort.
    Irgendwie hatte ich befürchtet, dass der fckeditor wohl das Problem ist. :(
    Wäre toll, wenn du das irgendwie hinbekommen könntest und würde es auch gerne testen. :yes:

    Sonnige Grüße
    Ivonne


    • 117.1

      hallo Ivonne,

      danke für testen und super das es klappt. ich werde die version 1.1 gleich veröffentlichen.

      viele grüße, hans

       

  5. 116

    Hallo,

    ein wirklich tolles Plugin, sowas hab ich schon länger gesucht.
    Aber ich hab ein kleines Problem. :(
    Ich kann die Smilies leider nicht anklicken.
    Die richtige ID “comment” ist in der wp-monalisa eingetragen und die ID wird auch nur von textarea benutzt. Zumindest finde ich weder im Quelletext noch in der comments.php einen anderen Eintrag mit “comment”. :unsure:
    Vermutlich ist die Lösung ganz simpel und ich bin nur zu blöd sie zu finden. :whistle:
    Wär schön, wenn mir da wer nen Schubs in die richtige Richtung geben könnte. :heart:

    Sonnige Grüße
    Ivonne


    • 116.1

      hallo Ivonne,

      wenn ich es richtig gesehen habe verwendest du den fckeditor, der ist nicht standard bei wordpress und wird bislang nicht von wp-monalisa unterstützt. ich fände es aber ganz nett das einzubauen. ich schau mir das mal an und melde mich dann. würdest du das eventuell testen?

      gruß, hans

       

  6. 115

    Pingback: blog.deniswelsch.de - i love my style » Smilies für mein Blog

  7. 114
    schrieb fireskyer:

    Toll Danke Hans :good:

    Es lag an den fehlenden Gif’s

    Mal ne blöde Frage, könnte man Monalisa so Programmieren, dass wenn die pak Datei hochgeladen wird, die Gif’s automatisch mit draufkommen ?

    Greetz fireskyer


    • 114.1

      hallo fireskyer,
      prima, das es geklappt hat. wie genau stellst du dir das vor? das pak format ist ja fest definiert. generell geht sowas, aber ich kenne keinen standard, der dafür geeignet wäre.

      gruß, hans

       

  8. 113
    schrieb fireskyer:

    Hallo Hans

    Wirklich ein super Smiley Plugin hast du da zusammengecodet :good:

    Ich habe aber ein Problem:

    Wenn ich mit einem pak Programm Smileys in eine Pak Datei umwandle, und sie dann hoch zum Server schicke und sie bei Monalisa Lade, dann hab ich immer ganz viele Smileys mit dem bild wpmlbye.gif

    Etz könnte man denken es liegt am pak Konverter, liegt es aber nicht, da es komischerweise bei einer anderen Hosterinstallation gegangen ist, habe aber alle Einstellungen so wie vorher

    Woran könnte das liegen ?

    Greetz fireskyer


    • 113.1

      hallo fireskyer,
      also auf anhieb hätte ich zwei ideen. die icons fehlen im verzeichnis oder der zeilenumbruch hat ein anderes format dos oder unix. schau doch mal ob sich die datei beim hochladen verändert, weil die zeilenumbrüche automatisch durch den ftp server konvertiert werden.

      gruß, hans

       

  9. 112

    Hello… I’ve installed Monalisa on one of my blogs:

    http://1socialmediamanager.com/10-great-social-media-quotes/comment-page-1#comment-3

    Are you aware that when you refresh a page where Monalisa is, that when it finishes refreshing, it shoots you down to the bottom of the page, where Monalisa is? On many forms that have an insertion point in the field where you type in your search word, this will do that… shoot the page to wherever the form is, for the blinking insertion point is the “live point” of the page. However, Monalisa does not have an active insertion point. How do I fix this, so it doesn’t shoot to the bottom?

    Thanks
    Leanne


    • 112.1

      hello Leanne,
      I think thats not the correct conclusion. the url you posted points to an anchor on your page. the anchor is comment-3. that is the reason why the reload brings you down to the bottom of the page. it does not bring you down to monalisa but to the comment on the page. try it with the url without #comment-3 (as I did ) a reload brings you to the position the page was when you hit reload. thats the way I suppose my browser to act anyway. should be the same behaviour with or withour monalisa.

      regards, hans

       

  10. 111

    Pingback: Nicht-spurlos 3.0 - Nicht spurlos

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

*

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

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