emoticons are displayed as emoticon + html-tag

Found a bug? Tell us!!
Post Reply
nomoresecrets
Posts: 3
Joined: Sun Sep 26, 2004 11:46 pm

emoticons are displayed as emoticon + html-tag

Post 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
Thomas
Regular
Posts: 130
Joined: Tue Sep 21, 2004 2:00 pm
Location: Stockerau/NÖ/A
Contact:

Post 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
nomoresecrets
Posts: 3
Joined: Sun Sep 26, 2004 11:46 pm

Post 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" />
Thomas
Regular
Posts: 130
Joined: Tue Sep 21, 2004 2:00 pm
Location: Stockerau/NÖ/A
Contact:

Post 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
Thomas
Regular
Posts: 130
Joined: Tue Sep 21, 2004 2:00 pm
Location: Stockerau/NÖ/A
Contact:

Post 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
nomoresecrets
Posts: 3
Joined: Sun Sep 26, 2004 11:46 pm

Post by nomoresecrets »

ha ! that was quiet easy :)

evry plugin was plugged in twice :/

thanks !
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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! :)
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hitch
Posts: 1
Joined: Tue Oct 05, 2004 10:29 pm

Post by Hitch »

Thanks from me also, solved my little problem. I did the same thing when I moved the php to the root.
Post Reply