[OzzModz] Table BBcode Tweak

[OzzModz] Table BBcode Tweak 2.3.0

No permission to download
You may let me know what the other two files are doing?
I have changed only bbcode > Renderer > Html.php
There are also
bbcode > Renderer > EditorHtml.php and
Html > Renderer > BbCode.html

both i have not changed till now, because i dont know where or when they are used for.

Here is some css for that:

Code:
// to show va=top, if .vt is set
.bbTable .vt td {
    vertical-align:top;
}

// to show one cell per row
.bbTable .w25 td, .bbTable .w33 td, .bbTable .w50 td {
    width: 100%;
    display:block;
    margin-bottom: 1px;
}


// To show a table with cols > 1 from 533px
@media only all and (min-width:533px) {
    .bbTable .w25 td, .bbTable .w33 td, .bbTable .w50 td {
        display:table-cell;
    }
   
    .bbTable .w25 td {
        width: 25%;
    }

    .bbTable .w33 td {
        width: 33%;
    }

    .bbTable .w50 td {
        width: 50%;
    }
}


For me this enough now, but for shure we could add many more nice things here. :)
 
There are also
bbcode > Renderer > EditorHtml.php and
Html > Renderer > BbCode.html
Those modifications are needed to preserve the tags when switching views (toggle BB code) and I think preview or edit a saved message with tables.
 
Yes, something like this i have thought also. But i was to lazy to try - but you are right, it must be done.
Maybe i should add a short if ugp ... then people will not use this things at all.
 
This is a nice little addon. Thank you. Question, is it not possible to center the table in the post? When trying to add center tags around the table it just defaults left or adds extra center tags before and after to close/open the center tags.
 
Yeah it was strange. It kept forcing a new close on the open before the table and an open to the close at the end of the table.

For now I just added

.bbTable-collapse {
margin-left: auto;
margin-right: auto;
}

In the extra less and it seems to be working ok.
 
Mr. Jinx updated Table BBcode Tweak with a new update entry:

Discontinued

Announcement: I'm no longer able to maintain this (free) add-on.
The reason for this is that I have other priorities and providing these kind of add-ons no longer fits.

The resource will be available for download until the 1st of September.
If you are a developer and want to take over and continue this add-on, please contact me.

Read the rest of this update entry...
 
Last edited:
Could there be another 4th option added to this where it evenly divides the columns? Like if there's 2 columns, it splits 50/50, 3 columns then 33/33/33, for example?
 
Top Bottom