View Full Version : How did vb.org do HR bbcode?
ssslippy
06-29-2007, 03:38 AM
Ok ive tried tons of different ways and for the life of me i cant figure out how to add the HR bbcode.text
G0F0RBR0KE
06-29-2007, 03:43 AM
Sorry for the newbish question...
What does HR stands for?
Shazz
06-29-2007, 03:46 AM
Sorry for the newbish question...
What does HR stands for?
Good question :erm:
Lizard King
06-29-2007, 04:32 AM
HR stands for Horizantal Line
Dismounted
06-29-2007, 06:33 AM
Wrong, horizontal rule.
Paul M
06-29-2007, 10:34 AM
Tag = 'hr'
Replace = '<hr color="{option}" width="100%" size="1">'
ssslippy
07-04-2007, 07:06 AM
Thanks paul i couldnt figure out the proper way to do it.
cyberphr
07-04-2007, 08:41 AM
Tag = 'hr'
Replace = '<hr color="{option}" width="100%" size="1">'
You've forgotten something...
<hr color="{option}" width="100%" size="1" />
Paul M
07-04-2007, 12:09 PM
I can't see any difference in what you posted, but as it happens, we don't use that exact code now anyway, we use ;
<hr color="{param}" width="100%" size="1"/>
RedTyger
07-04-2007, 01:00 PM
It should be a self-closed element is what he's saying.
cyberphr
07-04-2007, 03:07 PM
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
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
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
You've forgotten something...
<hr color="{option}" width="100%" size="1" />
You left out the ' ?
Za4a Tuner
07-10-2007, 08:54 PM
It doesn't work for me unless I write:
This is over [hr'] whatever [/hr'] This is under.If you use this 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
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:
<hr color="gray" width="{option}" size="1" />so users can diced, how long the line shuold be (in percent)!
Paul M
07-11-2007, 08:55 PM
I just want one tag, [hr] to translate to <hr> without the need to have a closing tag.
In that case just set-up a replacement variable to replace [hr] with <hr />
skepticality
07-14-2007, 08:53 AM
Ah!
Thank you!
I never realised that replacement variable kicked in between post database and output compiler. :erm:
abdulbasitsaeed
02-24-2011, 04:50 AM
I can't see any difference in what you posted, but as it happens, we don't use that exact code now anyway, we use ;
<hr color="{param}" width="100%" size="1"/>
Thank you very much. Works like a charm even on vB 4.0.6. :)
--------------- Added 1298539288 at 1298539288 ---------------
Actually, for some weird reason, it only shows in the post preview but doesn't show in the actual post.
BirdOPrey5
02-27-2011, 05:29 PM
This is VB3 discussion, please make a new thread in the VB4 area if you're having issues with VB4.
Thanks.
abdulbasitsaeed
02-28-2011, 12:08 AM
Thanks for pointing that out, BirdOPrey5. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.