Page 1 of 1
emoticons are displayed as emoticon + html-tag
Posted: Sun Sep 26, 2004 11:53 pm
by nomoresecrets
hi,
I just installed s9y - and aftersome trouble with file-permissions it runs very nice - except one thing
the smilies are displayed in a "strange" way -->
_here_is_the_smilie_" style="display: inline; vertical-align: bottom;" class="emoticon" />
the alt tag of the smilie is: <img src=
can u pls help me to fix the prob ? thnx so far
ps: i'm running the latest version of s9y
Posted: Mon Sep 27, 2004 7:49 am
by Thomas
Hi,
which version do you mean? The latest version of the CVS tree or the latest official release 0.7-beta3?
Regards, Thomas
Posted: Mon Sep 27, 2004 10:33 am
by nomoresecrets
0.7b3
ps: html looks like this
Code: Select all
<img src="/serendipity/templates/default/img/emoticons/smile.png" alt="<img src="/serendipity/templates/default/img/emoticons/smile.png" alt=":)" style="display: inline; vertical-align: bottom;" class="emoticon" />" style="display: inline; vertical-align: bottom;" class="emoticon" />
Posted: Mon Sep 27, 2004 11:21 am
by Thomas
Hi,
the code you were posting looks like that the loop for extending the Smiley to a picture is gone through twice. The first loop works correctly but the second replaces the first alt="somthing" again to the image path plus adds a second alt="something".
Curious is that this does not happen on my site.
I'm not a developer but I may take a minute to look at it. s9y code is not so bad and not hard to learn.
Regards, Thomas
Posted: Mon Sep 27, 2004 11:27 am
by Thomas
Hi,
I found out what causes that effect. It seems that it is quite easy to enable one plugin twice.
Go to: "Open administration" -> "Admin interface" -> "Configure plugins" and take a look at the section "Event plugins".
Go through the list and watch out if "Markup: Emoticate" is twice listed. If yes mark one of them and press "Delete". This should then show you the emoticon in a right way.
HTH, regards, Thomas
Posted: Mon Sep 27, 2004 11:31 am
by nomoresecrets
ha ! that was quiet easy
evry plugin was plugged in twice :/
thanks !
Posted: Mon Sep 27, 2004 12:29 pm
by garvinhicking
You seem to have installed serendipity twice into the same database without erasing its contents first. Serendipity does not remove those entries automatically to not screw up your database - but in that case, the 'emoticate' event plugin was installed twice.
Please go to your plugin configuration panel and remove the double plugins there.
In a future release of Serendipity we will try to emit a warning, when tables already exist...
Regards,
Garvin.
(Edit: upps, while I edited that entry it seems Thomas was faster. Thanks!

Posted: Tue Oct 05, 2004 10:32 pm
by Hitch
Thanks from me also, solved my little problem. I did the same thing when I moved the php to the root.