vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How did vb.org do HR bbcode? (https://vborg.vbsupport.ru/showthread.php?t=150930)

cyberphr 07-04-2007 03:07 PM

Quote:

Originally Posted by RedTyger (Post 1282620)
It should be a self-closed element is what he's saying.

Correct. XHTML. ;)

Paul M 07-04-2007 07:36 PM

Well it would be much more helpful if you had just said so, instead of expecting me to spend time trying to spot the difference ......

cyberphr 07-04-2007 09:51 PM

Quote:

Originally Posted by Paul M (Post 1282863)
Well it would be much more helpful if you had just said so, instead of expecting me to spend time trying to spot the difference ......

Shouldn't take more than a few seconds lol

skepticality 07-10-2007 07:34 PM

It doesn't work for me unless I write:

This is over [hr'] whatever [/hr'] This is under.

Is there a way to make the forum software understand that I'm not interested in having to write junk text and a closing tag?
The ordinary HTML only has one tag for HR, and that's <hr>... no closing tag required.


Regards,
Dr. Mabuse
Admin, Skepticality.com

cheat-master30 07-10-2007 08:08 PM

Quote:

Originally Posted by skepticality (Post 1287840)
It doesn't work for me unless I write:

This is over [hr'] whatever [/hr'] This is under.

Is there a way to make the forum software understand that I'm not interested in having to write junk text and a closing tag?
The ordinary HTML only has one tag for HR, and that's <hr>... no closing tag required.


Regards,
Dr. Mabuse
Admin, Skepticality.com

Actually, in XHTML 1.0 and onwards, it's <hr /> and technically the validators consider <hr>Text</hr> valid XHTML as well. I personally just did the replacement for my version as <hr /><p>{param}</p>, and asked them to put the text to go under the horizontal line between the tags.

Shazz 07-10-2007 08:15 PM

Quote:

Originally Posted by cyberphr (Post 1282514)
You've forgotten something...
HTML Code:

<hr color="{option}" width="100%" size="1" />

You left out the ' ?

Za4a Tuner 07-10-2007 08:54 PM

Quote:

Originally Posted by skepticality (Post 1287840)
It doesn't work for me unless I write:

This is over [hr'] whatever [/hr'] This is under.

If you use this code ->

Quote:

Originally Posted by Paul M (Post 1282591)
Code:

<hr color="{param}" width="100%" size="1"/>

i think you should put between the tags a "COLOR" like red or green => [hr ]red[/hr ]

Distance 07-11-2007 01:01 PM

It would be better if it should just use a default colour if nothing is put in between. Also yeah a default character for the middle would be good.

skepticality 07-11-2007 08:30 PM

I don't want the "extras" implemented.

I just want one tag, [hr] to translate to <hr> without the need to have a closing tag. If I write <hr> in the most basic HTML page you can think of, then you get a default Horizontal Rule. That's what I want. Nothing more, nothing less.

regards,
Dr. Mabuse
Admin, Skepticality.com

Za4a Tuner 07-11-2007 08:37 PM

Quote:

Originally Posted by skepticality (Post 1288596)
I just want one tag, [hr] to translate to <hr> without the need to have a closing tag.

vBulletin doesn't work without a closing tag -> if you use bbCode, you always have to close the tags.

i myself use this code:
Code:

<hr color="gray" width="{option}" size="1" />
so users can diced, how long the line shuold be (in percent)!


All times are GMT. The time now is 12:05 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.01129 seconds
  • Memory Usage 1,740KB
  • 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_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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