The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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! |
#2
|
||||
|
||||
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. |
#3
|
|||
|
|||
The first one looks correct but the line you posted in the second post is red...
|
#4
|
|||
|
|||
Its because he used [hr=red][/hr] in his post
Not [hr={high}][/hr] [hr=yellow][/hr] edit: Damn i dont like vbcode |
#5
|
|||
|
|||
Oh wait
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 |
#6
|
||||
|
||||
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}. |
#7
|
|||
|
|||
Erm... yes...
|
#8
|
|||
|
|||
Ah fair enough
|
#9
|
|||
|
|||
how would I go about adding to that to my forums
the line break thingy?? |
#10
|
|||
|
|||
Interesting
Thx :P |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|