What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » Quote Bug

Pages: (3): « First [ 1 ] 2 3 » Last »
Quote Bug
Author: Message:
Jhrono
Veteran Member
*****


Posts: 1791
Reputation: 25
33 / Male / Flag
Joined: Jun 2004
O.P. Quote Bug
Look at this :

code:

[quote=[url=http://en.wikipedia.org/wiki/Dynamic_IP#IP_address_allocation]Wikipedia[/url]
TEXT TEXT TEXT
[/quote]


Produces :

quote:
Originally posted by [url=http://en.wikipedia.org/wiki/Dynamic_IP#IP_address_allocatio[b
n][/b]Wikipedia[/url]
TEXT TEXT TEXT


For some reason, it doesn't display the [url=] closing bracket, hence, the problem.

:)
04-29-2006 10:39 AM
Profile E-Mail PM Find Quote Report
zaher1988
Senior Member
****

Avatar
Inseperable

Posts: 699
Reputation: 10
36 / Male / Flag
Joined: Jun 2005
Status: Away
RE: Quote Bug
quote:
Originally posted by [url=http
hii[/url]]hiii


That's a known bug, read here for more info.

Regards
04-29-2006 11:08 AM
Profile E-Mail PM Web Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
Status: Online
RE: Quote Bug
Don't know if you can call this a bug really :

When using [quote] the name is automaticly enclosed in [noparse] tags, so if someone quotes someone who has "]" in his/her username, the quote parser, won't get confused and think that the quote ends there.


That's why the url tag wont work there, because it's not parsed.


Edit: By looking again into it, it seems that the name is not enclosed in noparse tags :P

This post was edited on 04-29-2006 at 12:20 PM by Mike.
YouTube closed-captions ripper (also allows you to download videos!)
04-29-2006 12:20 PM
Profile E-Mail PM Web Find Quote Report
zaher1988
Senior Member
****

Avatar
Inseperable

Posts: 699
Reputation: 10
36 / Male / Flag
Joined: Jun 2005
Status: Away
RE: Quote Bug
That is a bug !! because some people may have [ or ] in their username which will cause some troubles.

If you have read the url i have posted, it currently under discussion on mybb community, and the team is trying to find a fix for that.

Many ideas were presented, however i'm not sure what fix will be chosen.

The problem as you havementioned is in the ], that's so abvious, but now what's important is to find an escape falling in this trap. Umm if you look at the code you see how things go in the quoting process.

code:
"#\[ quote=(?:"|\"|')?(.*?)[\"']?(?:"|\"|')?\](.*?)\[\/quote\ ]#si"

One of the best ways is to add quotation to the user name

[ quote='zaher1988' ]


Many Regards

This post was edited on 04-29-2006 at 06:46 PM by zaher1988.
04-29-2006 06:44 PM
Profile E-Mail PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Quote Bug
I've noticed this before when quoting [MR]. I reported it (ages ago now), but nothing was ever done. TBH, it's easy to fix: add support for stacking [ and ].
[Image: spartaafk.png]
05-01-2006 12:14 AM
Profile PM Web Find Quote Report
Lou
Veteran Member
*****

Avatar

Posts: 2475
Reputation: 43
– / Male / Flag
Joined: Aug 2004
RE: Quote Bug
quote:
Originally posted by zaher1988
[ quote='zaher1988' ]

That does not work unless the code is modified. Believe me I have tried. No matter what, the ] in the name ends the tag.
[Image: msghelp.net.png]
The future holds bright things in it\\\'s path, but only time will tell what they are and where they come from.
Messenger Stuff Forums
05-01-2006 12:34 AM
Profile PM Web Find Quote Report
zaher1988
Senior Member
****

Avatar
Inseperable

Posts: 699
Reputation: 10
36 / Male / Flag
Joined: Jun 2005
Status: Away
RE: Quote Bug
I added spaces :P just not to have a quotation of what i said:P
i'm referring to the '

regards
05-02-2006 12:19 PM
Profile E-Mail PM Web Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: RE: Quote Bug
quote:
Originally posted by zaher1988
[ quote='zaher1988' ]

That doesn't seem to work either. Like .Lou said, the code just searches for the next ] and there ends the name. The only work-around I see is by using:
code:
[quote][i]Originally posted by [MR][/i]
Text [MR] said...[/quote]
since that's what it generates: pure BBCode. You can just emulate it and everything works just fine. :)
I know it's not easy when you want to reply fast, but it's the only way I see to fix this
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
05-02-2006 05:36 PM
Profile E-Mail PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Quote Bug
quote:
Originally posted by Mattike
That doesn't seem to work either.
Because I haven't added support for it yet, but I plan to. :p

Then [quote="[MR]"] should work fine.
05-02-2006 05:43 PM
Profile PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Quote Bug
Will the QQ default to adding the quote marks?
[Image: spartaafk.png]
05-02-2006 07:48 PM
Profile PM Web Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » 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