vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - BB Code [table] (https://vborg.vbsupport.ru/showthread.php?t=107985)

AusPhotography 09-07-2009 01:01 AM

Installed and working on 3.8.4 ! Very nice tool.

Can someone please post some examples of CSS code for changing the table layout?

Valker 09-08-2009 04:20 PM

Quote:

Originally Posted by Schnee (Post 1880004)
I added this in the Main CSS definition and was able to get the padding changed, maybe you can work from this?

Code:

table.stg_table td, table.stg_table th {
padding: 10px;
}



WONDER FULL (for the others) just add this into additonal CSS

but i would set the padding to 5...10 is way to much imo.

very simple example:

table.stg_table td, table.stg_table th {
padding: 5px;
background-color: #ffffff;
color: #000000;
}

edit: at the best you separate:

table.stg_table td {}

and

table.stg_table th {}

and make them different looking

otherwise your table wont get a header if you do ="header"

Big thanks !

wolfstream 09-14-2009 10:56 PM

Wow, talk about not checking settings, fixed myself -- sorry!

paul41598 09-16-2009 12:17 PM

So this mod doesnt allow you to click a button, and it asks you how many rows you want, how many cells, and then puts the table into the text area? You have to put code in basically and its the same as if I were to put in <tr> tags, etc?

TaMpE 09-17-2009 04:32 AM

Will CENTER BBCode possible in this mod?

ie.

Code:

[table="head"][center]head col1[/center]|head col2|head col3
row1 col1|row1 col2|row1 col3
row2 col1|row2 col2|row2 col3[/table]


kiwivc 09-19-2009 05:24 PM

Quote:

Originally Posted by TaMpE (Post 1886165)
Will CENTER BBCode possible in this mod?

ie.

Code:

[table="head"][center]head col1[/center]|head col2|head col3
row1 col1|row1 col2|row1 col3
row2 col1|row2 col2|row2 col3[/table]


I tried your table code and the CENTER tag works ... see the image below:
I increased the table width so that the result was more obvious ([table="head;width=70%"])

http://img338.imageshack.us/img338/1696/tabled.jpg

grey_goose 09-21-2009 03:46 PM

I followed the steps in this post to add:

/*****TABLES******/
.stg_table_top {vertical-align: top; padding: 0px}
/*****TABLES END******/

and then added 'top' in the options.

It seemed to have no effect (or I did it wrong). Basically, I have a two column table, with tables within each column. One table has more data, and the other table is floating in the center -- I watn them both aligned to the top. Also, I want to remove the spacing between cells so that my 'header' graphics are seamless.

Texas_Dawg 09-23-2009 11:50 PM

How do I get the table icon to show up in the options of buttons on a new post?

Texas_Dawg 09-24-2009 07:12 PM

Quote:

Originally Posted by ArnyVee (Post 1851391)
Is there a way to center all cells without having to do each cell separately?

For some of the tables I'm creating, it's becoming quite time consuming :)

Did you figure out the answer to this one? Can someone that knows the answer please post it? Thanks.

MagicThemeParks 09-27-2009 11:20 PM

If I install this mod could I use it on custom pages as well as the threads?


All times are GMT. The time now is 06:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01765 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete