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)

ThreeD 08-16-2007 01:01 PM

thanks StGaensler, I don't know if it's vbulletin 3.6.7 or whatever, but all I get is the default grey 1px border, no matter how many settings I tweak and change.

I've tried

.stg_table {border: 1px solid #000; padding: 5px;}
table.stg_table {border: 1px solid #000; padding: 5px;}
.stg_table_table {border: 1px solid #000; padding: 5px;}

nothing is working to change the border colors :( could it be a vbulletin cache problem? Anything I can reset in the maintenance area? I've evern tried to uninstall the plugin and reinstall it, that doesn't help either. Danke f?r die Hilfe StGaensler.

StGaensler 08-16-2007 01:36 PM

1 Attachment(s)
Do you really mean the border or the background of the table (which per default is grey)?

background: green, border: red
Attachment 68587
I used this css:
.stg_table {border:3px red solid; background:#4D4; padding:5px; }

Are you using the standard vBulletin style?
May I have a link to your board so I can look at it by myself?

Stefan

ThreeD 08-16-2007 02:48 PM

Sent you a PM with URL, thanks for your help.

I am using the default/standard vbulletin style, so it shouldn't be any problem.

StGaensler 08-16-2007 02:59 PM

No problem :)

It is a silly but simple bug. Before my CSS line there is this CSS code:
Code:

.navmenu { border-bottom: [...]; )
Do you see it by yourself? Right, there is no } at the end of the line, but a ) - thats wrong. If you use the right bracket it works :)

Stefan

ThreeD 08-16-2007 03:23 PM

I was about to say that I'm REALLY embarassed if that was the error giving me the headache, but it wasn't. I changed the ) to } but it's still the same :( Sigh.. thanks for your help though StGaensler.

StGaensler 08-16-2007 04:06 PM

Yes, the error occurs, because you still use .stg_table tborder {.
As I said in post #180 of this thread, you have to remove the tborder from your definition.

Stefan

ThreeD 08-16-2007 04:21 PM

OMG hehe..there we go! Danke Dir Stefan.. :)

alexsinev 08-17-2007 03:57 AM

StGaensler,

why do I cannot make a table with only one row and one column, like this:

[table]only one row and column[/table]

I want to use your BB code for making boxes around the text sometimes. I can only make that by adding '|' before or after the text:

[table]|only one row and column|[/table]

That's a pity.

StGaensler 08-18-2007 08:12 AM

Quote:

Originally Posted by alexsinev (Post 1319411)
I want to use your BB code for making boxes around the text sometimes.

Thats not the sense of a table - it exists to format/display tabular content, and not for "making boxes". I consider using <div> or <span> for that.

But if you want to use it this way...
Remove this code from the plugin xml (line 150ff.) and import it again:
Code:

# if we have only one row and one cell a table makes no sense - return input with no change
if($bbcode_table['table']['rows']+$bbcode_table['table']['cols']==2)
{

        return $code;
}

Stefan

TigerWare 08-19-2007 02:59 PM

This is a great modification StGaensler, thank you! I adore the live column sorting. :up:

Installed.


All times are GMT. The time now is 09:53 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.01647 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)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