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)

Snake 02-15-2006 11:09 AM

Thankies! :banana:

mkdevo 02-15-2006 12:04 PM

not working:

Fatal error: Call to undefined function: bcmod() in /home/www/xxxxxx/forum/includes/class_bbcode.php(149) : eval()'d code on line 329

StGaensler 02-15-2006 12:19 PM

Quote:

Originally Posted by mkdevo
not working:

Fatal error: Call to undefined function: bcmod() in /home/www/xxxxxx/forum/includes/class_bbcode.php(149) : eval()'d code on line 329

Seems your php doesn't have libbcmath or wasn't compiled with --enable-bcmath - I will try to do a workaround.

Edit: Workaround done, new version is online :)

mkdevo 02-15-2006 01:42 PM

new version works for me! thanks again!!

Hellcat 02-15-2006 11:37 PM

Quote:

Originally Posted by Darat
A good mod and I've installed it - but what do you mean by misused?

Well, tables are meant to display stacks of data.
But on most webpages they are used as layouting tool - you could do the same thing with this table BBCode in posts. That's what I was reffering to.

It wasn't meant negative!
More like "what else I can do with it" :)

Darat 02-16-2006 06:01 AM

Oh right - I didn't want to have this installed and find out someone could use it maliciously to disrupt the layout of the forum, I couldn't see how the could but thought I'd missed something.

Hellcat 02-16-2006 06:17 AM

Quote:

Originally Posted by Darat
Oh right - I didn't want to have this installed and find out someone could use it maliciously to disrupt the layout of the forum, I couldn't see how the could but thought I'd missed something.

Huh?
I didn't say that.... :speechless:

I don't think it can be used maliciously to break the forum layout.... more like a nice "feature" to add some more formatting to a post like, lets say, a picture on the right and the text on the left of the picture, rather than just under it....
Just like it's common practice on web pages (even vB).

I didn't mean my comment negative.... sorry if it sounded so.... :ermm:

GenSec 02-17-2006 11:44 AM

It works. Thank you!

But is it a way to change table border style?

StGaensler 02-18-2006 06:59 AM

Quote:

Originally Posted by GenSec
It works. Thank you!

But is it a way to change table border style?

Yes, that is possible through simple CSS:
Code:

/* format vBCode table */
table.stg_table {border:1px #0FF solid;}
table.stg_table thead tr {background:#000}
table.stg_table thead th {background:#FFF}
table.stg_table .alt1 {background:#F00;}
table.stg_table .alt2 {background:#0F0;}
table.stg_table td {border:1px #00F solid;}

I think you want to have the second line.
Put it into your css-definitions of your style.

GenSec 02-18-2006 03:12 PM

StGaensler
Grand mercy :)


All times are GMT. The time now is 06:43 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.01451 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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