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)

ArnyVee 05-23-2008 01:18 AM

Well, I tried the php file edit that Mr Travel detailed and it didn't work for me.

I'm going to have to try the xml imports and see if that works for me.

Dragon Company 05-24-2008 02:49 PM

very interesting :)

DDIG 05-25-2008 02:07 PM

Great mod, great support. I was in need of a table in some forums. Thank you very much! :up:

ninjamaster 05-27-2008 08:48 AM

how do i change the colour of the lines coz i have a black skin so cant see the box lines

fernandose 05-27-2008 02:56 PM

is it possible for users to sort the columns themselves by clicking on the column header? Instead of auto sorting the columns?

cellow 06-02-2008 07:20 AM

I want to use the css option, but it doesn't works.
Maybe i make a misstake.
Here is, how i go for it:

1. Including CSS Option into the table in thread
[table=head;css=stg_table_myclass]spalte1|spalte2
bla bla|blabla[/table]

2. define of the CSS class in the Style preferences under "Additional CSS Definitions)"
.stg_table_myclass { font-size:8px; }

3. define the CSS in vB Code [table] Admin CP:
stg_table_myclass

If i start the thread, then there is no css formatet table in the thread.

Did i make i misstake?

regards

StGaensler 06-02-2008 08:35 AM

Quote:

Originally Posted by JonUrban (Post 1508809)
Is there a way to get it back to being centered?

Sorry for the late answer... Put something like .stg_table {margin: 0 auto;} to your additional CSS definitions.
Quote:

Originally Posted by fernandose (Post 1533006)
is it possible for users to sort the columns themselves by clicking on the column header? Instead of auto sorting the columns?

As I said in the first post:
If you want to have live sortable columns (JavaScript): Download attached sorttable.js.txt rename it to sorttable.js and place it into the /clientscript/ folder of your vBulletin. Then go to AdminCP -> vBulletin Options -> BB Code [table] Settings -> Enabled Features Of This BB Code and enable sortable
Note: Including the file on the webpages where it is necessary is done by my product. So if sortable is disabled, it won't be included automatically.
Quote:

Originally Posted by cellow (Post 1538457)
I want to use the css option, but it doesn't works.
Maybe i make a misstake.
Here is, how i go for it:

[...]

Did i make i misstake?

Yes, but only a very small. With point 1. and 3. you have to use myclass instead of stg_table_myclass
Quote:

Originally Posted by mr.Travel (Post 1513227)
Just open /includes/class_bbcode.php [...]
Simple for Wemasters like HTML

Yes I know that and I also linked to a product doing this. You should avoid file edits if you can archive the same with an Add-on.
Only some disadvantages of this solution: If you make any mistake with nesting or count of the elements, you have a broken (invalid) table. You can't define maximum dimensions of the table, or sort it in any way (live or for posting).

cellow 06-02-2008 03:31 PM

doesn't work :-(

i put this code into css preferences:
.stg_table_myclass { font-size:6px; }

and then i looked to the html output of the thread, there it is:
Quote:

<table class="stg_table tborder stg_table_myclass">
regards

StGaensler 06-02-2008 05:15 PM

So this means my code does it all very well.

Can it be that you mean this?
Code:

.stg_table_myclass th, .stg_table_myclass td {font-size:6px }

cellow 06-03-2008 08:32 PM

yes, now it works like a charm :-D


All times are GMT. The time now is 06:48 PM.

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.01507 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
  • (1)bbcode_code_printable
  • (5)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