vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   [table] tags... (https://vborg.vbsupport.ru/showthread.php?t=77905)

Carnage 03-11-2005 09:22 AM

[table] tags...
 
was wondering if anyone had added [table][tr] and [td] tags and if so how they'd done it. I kinda want to add them, but using the bb code manager theres no way to make it so you have to conform to slightly stricter rules on the usage of the tags (ie tr has to be inside table etc)

A code based solution may be the only way to go...

deathemperor 03-11-2005 01:05 PM

<table><tr><td>{param}</td></tr></table>

something like that, not so hard to bbcode

Carnage 03-15-2005 11:38 AM

no... my thinking on this would be along the lines of:

[table][tr][td]some content[/td][td]some mroe content[/td][/tr][/table]

with seperate tags for table td and tr

neocorteqz 03-15-2005 11:56 AM

just use what he posted, but instead of just one, make it for all of them

ie. <table>{param}</table>
<tr>{param}</tr>
etc...

deathemperor 03-16-2005 05:09 AM

right, create 3 new bbcode: [table], [tr], [td]

Carnage 03-16-2005 10:32 AM

i don't think anyone is quite seeing what i'm asking.

it is fairly easy to add [table] [tr] and [td] tags what i'm asking is how to prevent dumb users from messing up layouts with them. For example:

if someone was to use [tr]some text[/tr] on its own it would add a new table row part way through their post.

What i'm aiming to do is ONLY parse the tags if they are done correctly.

deathemperor 03-16-2005 11:29 AM

I don't think it's possible to do so, if you want that then just [table] with td and tr in

Carnage 03-19-2005 06:53 PM

thats why i was saying that you would probably need to code a solution. i was asking here to see if anyone had or had found another way to do it, before attempting to code it myself

neocorteqz 03-21-2005 06:17 AM

No. there is no other way. You would have to edit the code for a replacement variable so it would always do what YOU expect. Basically match it, and if it doesn't match to what you want, then replace it with another code.

There is no way to do this without editing the code, as far as I know that is.


All times are GMT. The time now is 04:50 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.01583 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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