vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   News and Announcements (https://vborg.vbsupport.ru/forumdisplay.php?f=2)
-   -   Two new vB codes! (https://vborg.vbsupport.ru/showthread.php?t=33041)

Admin 12-08-2001 01:49 PM

Nothing special really, just something you can play with even more. :)

I have created two new vB codes - [hr] and [high]!

The first is obvious, you use it to make <hr>'s. Two versions of it, first is like this:
[hr][/hr] becomes:
[hr][/hr]
and second is:
[hr=red][/hr] becomes:
[hr=red][/hr]

The second one is a bit more special. We usually use the [color=red] code to denote important things in our posts. Problem is, the color red is poorly viewed for members using the vBulletin.org style.
So, now you can use this special code!
[high]What's up?[/high] becomes:
[high]What's up?[/high]
For vBulletin.org style users, it will be yellow, and for vBulletin.com style users it will be red.

Enjoy! :)

Admin 12-08-2001 01:54 PM

By the way, you can also do this.

If you want the [hr] to show up for members using both styles, you can do something like this:
[hr={high}][/hr] which becomes:
[hr=red][/hr]
(again, colors changes depends on which style the viewer is using)

If you don't get it, {high} is replaced by either yellow or red according to the style of the user.

:)

GameCrash 12-09-2001 03:26 PM

The first one looks correct but the line you posted in the second post is red...

merk 12-09-2001 08:44 PM

Its because he used [hr=red][/hr] in his post :)

Not
[hr={high}][/hr]
[hr=yellow][/hr]

;)

edit: Damn i dont like vbcode :)

merk 12-09-2001 08:52 PM

Oh wait :o

I dont think this works properly :(

Firefly what style were you using when you posted?

Cause when i posted i was using styleid 1, and now looking at it in vb.com style, its not right...

It seems the {high} is replaced as you post with the current style :(

Admin 12-10-2001 11:15 AM

You are right, but it only happens when posting {high} directly.
If you use [high] it's fine (because [high] only uses {high} after parsing, meaning when viewing the post).

So... don't use {high}. ;)

GameCrash 12-10-2001 01:37 PM

Erm... yes... :rolleyes:

merk 12-10-2001 07:37 PM

Ah fair enough :p

Psychdrone 12-22-2001 05:14 AM

how would I go about adding to that to my forums

the line break thingy??

wyzzor 05-16-2003 04:24 PM

Interesting
Thx :P

Dean C 05-17-2003 11:32 AM

Major bumpage there ^^ :p

- miSt

David_McPherson 05-18-2003 02:40 PM

[QUOTE]12-22-01 at 08:14 AM Psychdrone said this in Post #9
how would I go about adding to that to my forums

the line break thingy??

gengar003 05-18-2003 03:27 PM

... how can I color <hr> tags in html?

gmarik 05-18-2003 04:12 PM

How can I make a 80% hr with your code, Chen?

Gary King 05-19-2003 12:25 PM

[QUOTE]Yesterday at 01:12 PM gmarik said this in Post #14
How can I make a 80% hr with your code, Chen?

Gary King 05-19-2003 12:26 PM

[QUOTE]Yesterday at 12:27 PM gengar003 said this in Post #13
... how can I color <hr> tags in html?

Gary King 05-19-2003 12:32 PM

[QUOTE]Yesterday at 11:40 AM David_McPherson said this in Post #12
I'm curious too..


All times are GMT. The time now is 02:17 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.01051 seconds
  • Memory Usage 1,741KB
  • 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
  • (17)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