Advertisement:

Navigation

SMF Mod Site

Mod Name:
Tabs In Posts
Created By:
dougiefresh
Type:
New Feature
First Created:
April 28, 2018, 05:02:16 PM
Last Modified:
October 15, 2018, 12:01:18 AM
Latest Version:
1.2
Compatible With:
2.0.15, 2.1 Beta 3
Total Downloads:
237

Download this mod

Tabs_In_Post_v1.2.zip (8kB) [44]
Manual Install Instructions for SMF

Description:


TABS IN POSTS v1.2
By Dougiefresh -> Link to Mod


Introduction
Ever had too much information and wished you could put it in tabs to organize it?  Well, now you can with this mod using the tabarea and tab bbcodes like this:
Code: (Example) [Select]
[tabarea]
[tab=Tab 1]This is a test![/tab]
[tab=Tab 2]This is a test as well![/tab]
[taburl=URL]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: (Excluded Example) [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=URL]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.

Version 1.2 allows the user to use some smileys in the title, however, anything with brackets should be avoided.  BBcodes in general cannot be used as any part of the title, but this may be change in later versions....

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.

Admin Settings
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.

Compatibility Notes
This mod was tested on SMF 2.0.15 and SMF 2.1 Beta 3, but should work on SMF 2.0 and up.  SMF 1.x is not and will not be supported.

Changelog
The changelog can be viewed at XPtsp.com.

License
Copyright (c) 2018, Douglas Orend
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.