Some Nested BBCode tags don't work correctly

Questions/Comments/Requests about the forum itself
This topic is 12 years and 10 months old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
weirdpeople
Member
Posts: 1105
Joined: August 16th, 2008
Location: Texas
Reputation: 15
Contact:

Some Nested BBCode tags don't work correctly

Postby weirdpeople » Wed Jun 08, 2011 6:22 pm

The

This one fails:

Code: Select all

[collapseimg=http://i153.photobucket.com/albums/s205/PSP_Junky/hahahahahaha.png][collapseimg=http://i153.photobucket.com/albums/s205/PSP_Junky/hahahahahaha.png]asdf[/collapseimg][/collapseimg]

[collapseimg=http://i153.photobucket.com/albums/s205/PSP_Junky/hahahahahaha.png]asdf
[/collapseimg]

These dont work nested either:

Code: Select all

[collapse=Collapsed section][collapse=Collapsed section][/collapse][/collapse]


[collapse=Collapsed section]
[/collapse]

This works fine:

Code: Select all

[quote]meeee[quote]meee[/quote][/quote]

meeee
meee



I think this is a bug because you should be able to have multiple collapsible images inside each other.
Last edited by weirdpeople on Wed Jun 08, 2011 6:57 pm, edited 1 time in total.
Developer of clone hero, and Former FoFiX developer
( 'o')/
User avatar
davidsevenfold
Member
Posts: 1030
Joined: May 10th, 2008
Reputation: 2
Contact:

Re: Some Nested BBCode tags don't work correctly

Postby davidsevenfold » Wed Jun 08, 2011 6:25 pm

thats what i've always wanted >:l
Image
GHWT 4.0 theme is currently at a hault :v
Emperor naru
User avatar
nwru
Administrator
Posts: 3529
Joined: October 14th, 2006
Location: /dev/null
Reputation: 64
Contact:

Re: Some Nested BBCode tags don't work correctly

Postby nwru » Wed Jun 15, 2011 5:03 pm

It *might* be possible, but the code will need altering. If anyone is good with JavaScript, feel free to change this code and I'll throw it in.

http://pastebin.com/zH149C8g
Use the Search feature first to find answers to your questions. Chances are that they have been asked before!

Forum FAQ / Frets On Fire Wiki
weirdpeople
Member
Posts: 1105
Joined: August 16th, 2008
Location: Texas
Reputation: 15
Contact:

Re: Some Nested BBCode tags don't work correctly

Postby weirdpeople » Wed Jun 15, 2011 11:52 pm

nwru wrote:It *might* be possible, but the code will need altering. If anyone is good with JavaScript, feel free to change this code and I'll throw it in.

http://pastebin.com/zH149C8g

Thats not the problem. After searching Google, it seems that its a phpBB problem. Looking at a few of there issue tracker issues about this it seems that the BBCode system would need to be rewritten for it to work correctly.

If a few different of the tags above could be added with names like [collapseimg1] [collapesimg2], and etc could be added it could be a workaround for the problem
Developer of clone hero, and Former FoFiX developer
( 'o')/
User avatar
davidsevenfold
Member
Posts: 1030
Joined: May 10th, 2008
Reputation: 2
Contact:

Re: Some Nested BBCode tags don't work correctly

Postby davidsevenfold » Wed Jun 15, 2011 11:58 pm

weirdpeople wrote:
nwru wrote:It *might* be possible, but the code will need altering. If anyone is good with JavaScript, feel free to change this code and I'll throw it in.

http://pastebin.com/zH149C8g
[collapseimg1] [collapesimg2]


exactly what i was thinking
Image
GHWT 4.0 theme is currently at a hault :v
Emperor naru
User avatar
nwru
Administrator
Posts: 3529
Joined: October 14th, 2006
Location: /dev/null
Reputation: 64
Contact:

Re: Some Nested BBCode tags don't work correctly

Postby nwru » Thu Jun 16, 2011 12:52 am

davidsevenfold wrote:
weirdpeople wrote: [collapseimg1] [collapesimg2]


exactly what i was thinking

Apparently neither of you tried that ;) Raph will fix it... two years ago: viewtopic.php?p=420828#p420828
Use the Search feature first to find answers to your questions. Chances are that they have been asked before!

Forum FAQ / Frets On Fire Wiki
( 'o')/
User avatar
davidsevenfold
Member
Posts: 1030
Joined: May 10th, 2008
Reputation: 2
Contact:

Re: Some Nested BBCode tags don't work correctly

Postby davidsevenfold » Thu Jun 16, 2011 1:14 am

o-o

*shocking twist
Image
GHWT 4.0 theme is currently at a hault :v
weirdpeople
Member
Posts: 1105
Joined: August 16th, 2008
Location: Texas
Reputation: 15
Contact:

Re: Some Nested BBCode tags don't work correctly

Postby weirdpeople » Thu Jun 16, 2011 1:26 am

haha wow nice, thats good to know.
nwru you should add that for spoiler tags as well.

Spoiler:bnm[Spoiler1]bnm[Spoiler2]jkl[/spoiler2][/Spoiler1]



and collapse tags

[collapse1=Collapsed section][collapse2=Collapsed section][/collapse2][/collapse1]
Developer of clone hero, and Former FoFiX developer
( 'o')/
User avatar
davidsevenfold
Member
Posts: 1030
Joined: May 10th, 2008
Reputation: 2
Contact:

Re: Some Nested BBCode tags don't work correctly

Postby davidsevenfold » Thu Jun 16, 2011 1:31 am

I simplified this for easier use :3


Code: Select all

[collapseimg=IMG.png]


   [collapseimg2=IMG.png]
      [url=link][img]IMG.png[/img][/url]
      [url=link][img]IMG.png[/img][/url]
      [url=link][img]IMG.png[/img][/url]
      [url=link][img]IMG.png[/img][/url]
   [/collapseimg2]



   [collapseimg2=IMG.png]
      [url=link][img]IMG.png[/img][/url]
      [url=link][img]IMG.png[/img][/url]
      [url=link][img]IMG.png[/img][/url]
      [url=link][img]IMG.png[/img][/url]
   [/collapseimg2]


[/collapseimg]
Image
GHWT 4.0 theme is currently at a hault :v

Return to “Forum Talk”

Who is online

Users browsing this forum: No registered users and 25 guests