vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Tables (https://vborg.vbsupport.ru/showthread.php?t=230614)

fi3ryfalc0nZ 12-20-2009 07:51 AM

Tables
 
How do I create a table in a forum? There's no option for it, but there's an option for it in CMS.

Vaupell 12-20-2009 07:56 AM

hm blonde moment, just testet my suggestion and failed..

fi3ryfalc0nZ 12-20-2009 08:36 AM

lols so no ways then?

Varsh 12-20-2009 01:59 PM

For vB 3.8 there's a MOD that allows you to create tables, but it's not available for vB 4 yet.

Vaupell 12-21-2009 08:26 AM

1 Attachment(s)
Okay a little update..

You could do it with BB codes...

i did a test as you can see on the screenshots...

Attachment 107827

Attachment 107828

BBcodes i added :

table :
Code:

<table border="{option}">{param}</table>
used like this
Code:

[table=1]content[/table]
the =1 is border line.

tr :
Code:

<tr>{param}</tr>
used like this
Code:

[table=1][tr]content[/tr][/table]
td :
Code:

<td>{param}</td>
used like this
Code:

[table=1][tr][td]content[td][/tr][/table]
and a complete exsample..

Code:

[table=1]
[tr]
[td]Colum 1[/td]
[td]Colum 2[/td]
[/tr]
[tr]
[td]----------------------------------[/td]
[/tr]
[tr]
[td]test 1[/td]
[td]test 2[/td]
[/tr]
[/table]

which is the one you see on the image attached.

its not user friendly, but i dont think you want users to make tables, incase they forget to close a tag or something, which could ruin the style on that specifik post. :D

Vaupell 12-21-2009 08:27 AM

double post.... deleted

fi3ryfalc0nZ 12-22-2009 01:58 AM

o.O this looks cool. didn't think of that ^^ Thanks!


All times are GMT. The time now is 02:27 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.00982 seconds
  • Memory Usage 1,716KB
  • 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
  • (7)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete