MyBB Community Forums

Full Version: [Bug] MyCode Link Bug !important
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'm showing it on a new install without plugins

When trying to insert links within this mycode breaks unless the leave spaces..

Example: (spoiler)
[spoiler]link1 link2 link3[/spoiler]
[Image: Sin_t_tulo.png]


and if you wear them with space: (now if it works)
[spoiler] link1 link2 link3 [/spoiler]

Regular expression used: (normal)
\[spoiler\](.*?)\[/spoiler\]

If anyone knows to fix it, to alert now!
What is the parser order for your MyCode (see in the MyCode configuration page)? Does it helps to set it to 0 or even "-1"?

Also, did you just upgraded your forum? If so, did the MyCode work before upgrading it?
Or you can use spoiler plugin: http://mods.mybb.com/view/spoiler-bbcode It also allows nesting spoilers while MyCode doesn't.
(2014-05-01, 02:47 AM)Omar G. Wrote: [ -> ]What is the parser order for your MyCode (see in the MyCode configuration page)? Does it helps to set it to 0 or even "-1"?

Also, did you just upgraded your forum? If so, did the MyCode work before upgrading it?

Order #3
[Image: Sin_t_t2ulo.png]
Always worked well before and after the upgrade.


(2014-05-01, 04:37 PM)Destroy666 Wrote: [ -> ]Or you can use spoiler plugin: http://mods.mybb.com/view/spoiler-bbcode It also allows nesting spoilers while MyCode doesn't.

With or without plugins, functions the same way. Example:
[Image: Sin_t_tulo.png]
We changed the way our parser detects links in our new version and we noticed this error. You have to leave a space for now but it's likely that we will improve this in 1.6.14 (I don't say we do, but it's likely).
Some temporary solution?
(2014-05-26, 10:20 PM)Nomak Wrote: [ -> ]Some temporary solution?


(2014-05-02, 03:58 PM)King Louis Wrote: [ -> ]You have to leave a space for now
And will this affect all the older posts using a spoiler? I realise it isn't MyBB core code but a spoiler is a fairly standard addon. If that is so (all old posts look ugly) and changes to the code have broken previous functionality regarding spoiler plugins it should be fixed as a priority imo.
It was found too late for a quick fix and AFAIK it has already been fixed for the upcoming release.
@ Omar - is it possible to post a patch here ? If a user is using patches plugin they can pretty much just import it to patches and wait for upgrade on next revision.
Pages: 1 2