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)

toucan42 09-27-2007 12:54 PM

anyone able to implement rowspan? the documentation handles colspan but I can't get rowspan to behave.

toucan42 09-27-2007 01:44 PM

1 Attachment(s)
giving up on rowspan I am trying nested tables - but the outermost table breaks such that i get two tables "stacked" but the outer table code is not parsed. (see screenshot attached)

My code is as follows:

[table width=100%]|
[table=head; width=80%]{colsp=2}
A Place To Eat - Some Named Object
Name:|Some Named Object
Address:|Address 1{br}Address 2{br}Some City, GA 32434
Phone:|
Guide Description:|some descriptive text [/table]|
[table=head; width=20%]Map Location map goes here|[/table]
[/table]

toucan42 09-27-2007 02:22 PM

it's really treating the second table as another ROW instead of column - arrrgh! anyone?

Eagle Creek 09-30-2007 12:07 AM

I love it!
Thx.

What's live sortable columns?

evesve 09-30-2007 04:57 PM

Quote:

Originally Posted by toucan42 (Post 1348251)
it's really treating the second table as another ROW instead of column - arrrgh! anyone?

I don?t know how you want it to be but this is a guess:
Code:

[table]|
[table=head; width=80%]{colsp=2}
A Place To Eat - Some Named Object
Name:|Some Named Object
Address:|Address 1{br}Address 2{br}Some City, GA 32434
Phone:|
Guide Description:|some descriptive text
[/table]| [table=head; width=20%]Map Location map goes here
[/table]
[/table]


Eagle Creek 09-30-2007 07:28 PM

1 Attachment(s)
HU??
What am I doing wrong:

https://vborg.vbsupport.ru/attachmen...1&d=1191184097

[table="head;width=100%"][size=3][B]Verkeerde anti-spywareprogramma's[/B][/size]
Blablabla[/table]

[table="head;width=100%"][size=3][B]Verkeerde anti-spywareprogramma's[/B][/size]
Blablabla[/table]

As you can see I use the exact same piece of HTML code twice. Nevertheless, it appears not the same on my screen. Only the second table has a width of 100%.

Please advice.

MikQuattro 10-02-2007 04:41 PM

1 Attachment(s)
Concerning the border problem which was discussed and solved in the posts (around the 180's), I seem to be having the same problem and can't sort it out. Obviously I'm doing something wrong, can someone help? My CSS and screenie are attached. Basically, I don't want the white border and have tried setting everything I could to border: none and nothing worked. After unsuccessfully trying to use the fix in the posts mentioned above, I now am looking for help... :(

Code:

.stg_table
{
border: 1px #09335e solid;
padding: 0px;
}
.stg_table_sigtable
{
border: 1px #09335e solid;
padding: 0px;
}
.stg_table_sigtable thead
{
background-color:#09335e;
}
.stg_table_sigtable .alt1
{
background-color:#00458d;
color: #ffffff;
}
.stg_table_sigtable .alt2
{
background-color:#00458d;
color: #ffffff;
}


triff 10-14-2007 09:35 AM

So... My main goal is to be able to make a table with two columns, writing on one side and a picture on the other, preferably with the table invisible.

I found this code-thingy: .stg_table_transp {border: none; padding: 2px; background:transparent;} , which I added to my CSS Classes for the Table. This is supposed to hide the table, yeah? How do I activate it for my table? where do I put it in?

Also, can I set a defined width for one of the rows? If so, how?


Say my table goes somewhat like this:

[table="width=100%"]yadayadaday{br}yadayadayada{br}yada|[img]imageURL[/img][/table]

How would I go about to "hide" the table, and set the second column width to 200 px for example?

SGL.

EDIT: Also, is it possible to see the coding for the 3rd screenshot?

StGaensler 10-14-2007 11:11 AM

Quote:

Originally Posted by triff (Post 1359609)
The description of how to use this plugin is quite horrible, actually the worst I've ever come across so far.

This is no good feedback. Either you tell me what you don't understand and what I should describe better in my description of the options or I will plonk your post...
Anyway: I'm searching someone to write a description of the features for the users of my vB Code - feel free to contact me, if you think you can do this better than me.
Quote:

Originally Posted by triff (Post 1359617)
I found this code-thingy: .stg_table_transp {border: none; padding: 2px; background:transparent;} , which I added to my CSS Classes for the Table. This is supposed to hide the table, yeah? How do I activate it for my table? where do I put it in?

As you can see in my description of the options you are supposed to put only the name of the css class (as it is transp here) into the preferences of my vB Code, not the full CSS code. The CSS has to be put to the other CSS code of vBulletin: The css code has to be added to "Additional CSS Definitions" of your style (AdminCP -> Styles & Templates -> Style Manager -> (Dropdown) Main CSS -> Additional CSS Definitions)
Quote:

Originally Posted by triff (Post 1359617)
Also, can I set a defined width for one of the rows? If so, how?

As you can see in the description of my mod, this feature is maybe planned, not currently working.
Quote:

Originally Posted by triff (Post 1359617)
Say my table goes somewhat like this:

[table="width=100%"]yadayadaday{br}yadayadayada{br}yada|[img]imageURL[[B]/[/B]img][/table]

How would I go about to "hide" the table, and set the second column width to 200 px for example?

If you set the CSS code correct as I explained it earlier this post, you have to apply it to the table: [table="width=100%;css=transp"]
As I said, column width currently isn't possible. You could kind a "minimum width" through adding a (blind) image with this width.
Quote:

Originally Posted by triff (Post 1359617)
EDIT: Also, is it possible to see the coding for the 3rd screenshot?

No, this isn't possible as I accidentally lost the database of my test-forum (where this screenshot comes from) through an unsuspected hard disc error.
I "randomly" clicked the vB Codes, nothing special...

Stefan

StGaensler 10-14-2007 11:38 AM

Quote:

Originally Posted by toucan42 (Post 1348228)
giving up on rowspan I am trying nested tables - but the outermost table breaks such that i get two tables "stacked" but the outer table code is not parsed. (see screenshot attached)

Quote:

Originally Posted by toucan42 (Post 1348251)
it's really treating the second table as another ROW instead of column - arrrgh! anyone?

First of all: Please use valid vB Code syntax. It has to be: [table="option=value"]
Every linebreak opens a new row - you wrote the new table into a new line and so it gets a new row. Put it into the same row if you you want it in the same row.
Currently I have problems with vB Codes generating a block level element (such as center, left, ...) at the end of a line, because vBulletin removes the linebreak after this element. Please use CSS for centering the head column.
I currently don't know why {br} there makes a new line - I suggest because of the two nested tables. This hasn't been tested very well.

Here is the new code:
[table="width=100%"]|
[table="head;width=80%"]{colsp=2}[b]A Place To Eat[/b] - [i]Some Named Object[/i]
[b]Name:[/b]|Some Named Object
[b]Address:[/b]|Address 1, Address 2, Some City, GA 32434
[b]Phone:[/b]|
[b]Guide Description:[/b]|some descriptive text [/table]|[table="head;width=20%"]Map Location map goes here|[/table]
[/table]
Quote:

Originally Posted by Eagle Creek (Post 1349916)
I love it!
Thx.

What's live sortable columns?

Thanks :) With live sortable colums, the head colums are klickable. When you klick on the head of the first column, the table gets sorted for the first column. If you click again it gets sorted reverse. You can do this for every column.
Take the second table here: http://www.jabber.org/software/clients.shtml
They use merely the same code for this.
Quote:

Originally Posted by Eagle Creek (Post 1350370)
HU??
What am I doing wrong:

Sorry, I can't reproduce this. Please try it with a clean install, and report the modification causing this.
Quote:

Originally Posted by MikQuattro (Post 1351547)
Concerning the border problem which was discussed and solved in the posts (around the 180's), I seem to be having the same problem and can't sort it out.

Are you using a non-standard style? I think it would be the easiest if you provide me a example thread with this table and its vB Code (use the [noparse] tags for it) of the table.

Stefan


All times are GMT. The time now is 08:38 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.01798 seconds
  • Memory Usage 1,765KB
  • 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
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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