dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on October 14, 2018, 04:57:12 AM

Title: TABS IN POSTS
Post by: Chip on October 14, 2018, 04:57:12 AM
https://custom.simplemachines.org/mods/index.php?mod=4182

Adds tabbing using the tabarea and tab bbcodes like this:

Code: [Select]
[tabarea]
[tab=Tab 1]This is a test![/tab]
[tab=Tab 2]This is a test as well![/tab]
[taburl=Tab 3]http://www.xptsp.com[/taburl]
[/tabarea]

Note that anything between [tabarea] and [tab], between closing and opening [tab] tags, and between the last [tab] and the closing [tabarea] tag is discarded.  The example below:

Code: [Select]
[tabarea]Excluded # 1
[tab=Tab 1]This is a test![/tab]Excluded # 2
[tab=Tab 2]This is a test as well![/tab]Excluded # 3
[taburl=Tab 3]http://www.xptsp.com[/taburl]
[/tabarea]

is the same as the first code block shown.  You can also use the [taburl] bbcode to go to a different page/site by clicking that link.

Using the new wholepost bbcode changes the format of the post so that the poster information is omitted from the message display.

There is no restriction of tab areas per post or topic, as each tab area is independent of the others.

There are no admin settings for this mod.  To disable the bbcode, you may go to Admin => Forum => Posts and Topics => Bulletin Board Code and uncheck the tagarea and/or tag bbcodes.



will test in dev.
SimplePortal 2.3.6 © 2008-2014, SimplePortal