Page 1 of 1

Nesting of hide tags

Posted: Wed Jun 09, 2010 2:08 am
by Harleqin
When trying to nest hide tags, for example when quoting other posts with hide tags, the nesting often does not work.

There seems to be a workaround by using both 'spoiler' and 'hide' tags.

I have the impression that the BBCode parsing might be a bit fishy.

Re: Nesting of hide tags

Posted: Wed Jun 09, 2010 4:29 am
by freegame
I also had trouble when I wanted to nest hide tags.
I could not get it to work either.

It would be nice to know how to do this correctly, or if there is a work-around.

Re: Nesting of hide tags

Posted: Wed Jun 09, 2010 8:59 am
by Jordus
You can try using the indent and center tags. Their are called by using this code around what you want to nest:

Code: Select all

[indent][/indent] 
[center][/center]



                              example of using the indent tag


example of using the center tag

Re: Nesting of hide tags

Posted: Wed Jun 09, 2010 9:09 am
by xed_over
Jordus wrote:You can try using the indent and center tags. Their are called by using this code around what you want to nest:

Code: Select all

[indent][/indent] 
[center][/center]



                              example of using the indent tag


example of using the center tag

what has got to do with nested hide tags?
first hidden comment
[hide]nested hidden comment
[/hide]

Re: Nesting of hide tags

Posted: Wed Jun 09, 2010 9:35 am
by Jordus
So you are looking to write a hidden comment within a hidden comment?

Re: Nesting of hide tags

Posted: Wed Jun 09, 2010 9:45 am
by Chew Terr
Yep

Re: Nesting of hide tags

Posted: Wed Jun 09, 2010 9:54 am
by Jordus
comment
comment
comment
comment


so like this?

example code of what i did:

Code: Select all

[hide]comment[spoiler]comment[/spoiler][spoiler]comment[/spoiler][spoiler]comment[/spoiler][/hide]



If this is the case, for right now you will have to use hide and spoiler together. Use of for the main hide window, and the other for the nested windows...

I am under the impression the phpbb doesnt support nested custom bbcodes yet. I will be looking further into it to make sure, but for now, that's what the spoiler tag is for.

In cases where you are quoting a hidden comment, use spoiler for the main hidden window.... and hide as the nested ones.