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]
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?
(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]](https://camo.mybb.com/38d76c666da6f65053fd57c585c89c7947d7d5a6/687474703a2f2f73342e706f7374696d672e6f72672f6d77333235306469352f53696e5f745f7432756c6f2e706e67)
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]](https://camo.mybb.com/703dd723e23dc521233dbd7bfec8e6f47efbd616/687474703a2f2f7332392e706f7374696d672e6f72672f786269336566696d762f53696e5f745f74756c6f2e706e67)
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).
(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.