MyBB Community Forums

Full Version: multi mycode will fix in 1.8?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
That is what this spoiler on the mybb mods site already does - it supports nested spoilers.

http://mods.mybb.com/view/spoiler-bbcode
(2012-06-10, 12:38 PM)Leefish Wrote: [ -> ]That is what this spoiler on the mybb mods site already does - it supports nested spoilers.

http://mods.mybb.com/view/spoiler-bbcode

i need mycode and not plugin...
because so there is not customizable

(2012-06-10, 12:00 PM)Tomm M Wrote: [ -> ]Isn't that just not the Regex used for the MyCode? I'm sure we don't limit it - if someone can create nestable spoilers, you can make nestable div tags.

I've never seen same multi mycode working in mybb...

Omar G. use plugin and not mycode...
http://community.mybb.com/thread-108832.html

I did not find any mycode (not plugin) spoiler nestable...
I think spoiler MyCode should be part of default MyBB personally. Toungue
well, can you not extract the code from the plugin and put that in your mycode? I am trying to understand...
(2012-06-10, 02:34 PM)Leefish Wrote: [ -> ]well, can you not extract the code from the plugin and put that in your mycode? I am trying to understand...

you tried it? I tried but it still fails. Not to mention that I donĀ“t have so much knowledge in php.
Why can't you use the plugin? I'm not sure I really understand.
(2012-06-10, 03:47 PM)Alex Smith Wrote: [ -> ]Why can't you use the plugin? I'm not sure I really understand.

because so there is not customizable
style etc.
(2012-06-10, 04:07 PM)martec Wrote: [ -> ]
(2012-06-10, 03:47 PM)Alex Smith Wrote: [ -> ]Why can't you use the plugin? I'm not sure I really understand.

because so there is not customizable
style etc.

The CSS you add to glabal.css file can be changed - e.g. spoiler background colour etc. Or is that not enough customisation?

The CSS for: http://mods.mybb.com/view/spoiler-bbcode


Code:
.spoiler_header {
    background: #FFF;
    border: 1px solid #CCC;
    padding: 4px;
    margin: 4px 0 0 0;
    color: #000;
}

.spoiler_body {
    background: FFF;
    padding: 4px;
    border: 1px solid #CCC;
    border-top: 0;
    color: #000;
    margin: 0 0 4px 0;
}


Aventura
(2012-06-10, 05:54 PM)aventura Wrote: [ -> ]
(2012-06-10, 04:07 PM)martec Wrote: [ -> ]
(2012-06-10, 03:47 PM)Alex Smith Wrote: [ -> ]Why can't you use the plugin? I'm not sure I really understand.

because so there is not customizable
style etc.

The CSS you add to glabal.css file can be changed - e.g. spoiler background colour etc. Or is that not enough customisation?

The CSS for: http://mods.mybb.com/view/spoiler-bbcode


Code:
.spoiler_header {
    background: #FFF;
    border: 1px solid #CCC;
    padding: 4px;
    margin: 4px 0 0 0;
    color: #000;
}

.spoiler_body {
    background: FFF;
    padding: 4px;
    border: 1px solid #CCC;
    border-top: 0;
    color: #000;
    margin: 0 0 4px 0;
}


Aventura

not only style custumization...

i use \[Spoiler\]=(.*?)](.*?)\[/Spoiler\]
and not \[Spoiler=(.*?)\](.*?)\[/Spoiler\]

\[Spoiler=(.*?)\](.*?)\[/Spoiler\] --> Tapatalk not work

and this is not only problem with spoiler tag...
if you use more one same mycode not work as noted by Eric J. .
http://community.mybb.com/thread-120207-...#pid868509
(2012-06-10, 06:05 PM)martec Wrote: [ -> ]not only style custumization...

i use \[Spoiler\]=(.*?)](.*?)\[/Spoiler\]
and not \[Spoiler=(.*?)\](.*?)\[/Spoiler\]

\[Spoiler=(.*?)\](.*?)\[/Spoiler\] --> Tapatalk not work

and this is not only problem with spoiler tag...
if you use more one same mycode not work as noted by Eric J. .
http://community.mybb.com/thread-120207-...#pid868509

Why can't you use the first spoiler tags?

As for the second point, that is fair enough except for the vast majority of mycodes that's not necessary (eg. bold, italic, underline, strikethrough... as you cannot "bold you bold"). Also he suggests a fix for things like using multicoulours (or in his case multi divs) etc. by applying different parse orders.

Aventura
Pages: 1 2 3