What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » Quick-quoting smilies

Pages: (2): « First [ 1 ] 2 » Last »
Quick-quoting smilies
Author: Message:
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
O.P. Quick-quoting smilies
When i quote a smilie for example ;) it will just give me (Smilie) as quoted text instead of the actual code for the smilie. It just to work perfect in the past. WDZ:p ?

Example in this message: http://shoutbox.menthix.net/showthread.php?tid=54...d=587174#pid587174

EDIT: Just noticed that it only goes wrong when you select a part of the message that you want to quote and then press QuickQuote. It's fine when don't select anything and just QuickQuote the entire message. But quickquoting a part of the message used to be fine in the past too, what changed? :o

This post was edited on 01-05-2006 at 06:09 PM by Menthix.
Finish the problem
Menthix.net | Contact Me
01-05-2006 06:01 PM
Profile E-Mail PM Web Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: Quick-quoting smilies
it works in quotes, the only time you get "(Smilie)" is if you copy some text with a smilie in it as "(Smilie)" is the alt text for all smilies.

edit: was typing during your edit :( :P

This post was edited on 01-05-2006 at 06:07 PM by Eljay.
01-05-2006 06:07 PM
Profile PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Quick-quoting smilies
Imo the older one was good. Tho it wasnt totally xhtml compliant. Bah :P

Atfirst it gave me problems but then it became ok (random ones .... not related to the text showing up)

I was wondering it the alt for every image could have the smiley code for it. Then when the quick quote is posted ...... voila .... emotes again :cheesy:
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
01-05-2006 06:13 PM
Profile E-Mail PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Quick-quoting smilies
quote:
Originally posted by John Anderton
I was wondering it the alt for every image could have the smiley code for it. Then when the quick quote is posted ...... voila .... emotes again :cheesy:
I wish, but that's difficult to implement.

The problem is that after one smilie is replaced, subsequent replaces might mess with the alt code. For example...

:dodgy:

gets replaced with...

<img src="dodgy.gif" alt=":dodgy:">

:dodgy: contains :d so now :d will be replaced...

<img src="dodgy.gif" alt="<img src="msn_grin.gif" alt=":d">odgy:">

It may be possible to overcome this issue by converting the alt codes to pure HTML entities... I'll have to think about it...
01-05-2006 07:28 PM
Profile PM Web Find Quote Report
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
O.P. RE: Quick-quoting smilies
But why did it stop working in the first place? Like John Anderton said:"wasnt totally xhtml compliant"? I rather have a bit of incompliant code back that works fine than this dodgy (Smilie) thing :).
Finish the problem
Menthix.net | Contact Me
01-05-2006 08:01 PM
Profile E-Mail PM Web Find Quote Report
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
35 / Male / –
Joined: Jun 2004
RE: Quick-quoting smilies
could you use regexps to only parse text that isn't inside an <img> tag?
01-05-2006 08:12 PM
Profile PM Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Quick-quoting smilies
quote:
Originally posted by MenthiX
I rather have a bit of incompliant code back that works fine than this dodgy (Smilie) thing :).
I wouldn't... :p
01-05-2006 08:15 PM
Profile PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Quick-quoting smilies
quote:
Originally posted by MenthiX
wasnt totally xhtml compliant"? I rather have a bit of incompliant code back that works fine than this dodgy (Smilie) thing
Thank god some one thinks like me :P
I tht people might think im odd :P
Bah dz is a perfectionist anways. He wont do it sad:

quote:
Originally posted by Madman
could you use regexps to only parse text that isn't inside an <img> tag?
:lol:
Dz using someone else's script ..... id like to see that day :P (i heard he never does that :P)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
01-05-2006 08:22 PM
Profile E-Mail PM Web Find Quote Report
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
O.P. RE: Quick-quoting smilies
If it was the only piece of code to make this forum not validate, ok. But... MyBB is full of incompliant code anyway :p.
Finish the problem
Menthix.net | Contact Me
01-05-2006 08:24 PM
Profile E-Mail PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Quick-quoting smilies
quote:
Originally posted by Madman
could you use regexps to only parse text that isn't inside an <img> tag?
I don't think so, unless all the <img> tags were actually stripped out then replaced afterwards, and that would be a crappy/inefficient way to do it.
quote:
Originally posted by MenthiX
If it was the only piece of code to make this forum not validate, ok. But... MyBB is full of incompliant code anyway :p.
It's the only thing that makes the shoutbox not validate. :d
01-05-2006 08:50 PM
Profile PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On