The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey guys, i know this prolly right in from of me, but i wanted to know how i would go about using the highlight thing that is used here. If i type in a color is changes on the style, like here is red and yellow. Is this a hack, or a default option? I can't seem to find it after searching forever.
Thanks! |
#2
|
||||
|
||||
![]()
well, it's both ^^
actually it's very easy to achieve, you have to create an replacement called {highlight} and then just open your functions_bbcodeparse.ophp file and change PHP Code:
PHP Code:
|
#3
|
|||
|
|||
![]()
I don't get it, i did the code change above, and when you say replacement do i go to the BB Code Manager, or Replacement Variables Manager? Kinda confised sorry.
|
#4
|
||||
|
||||
![]()
the replacement variable manager
![]() |
#5
|
|||
|
|||
![]()
It is a wonder we don't rely on replacements as much now a days, they are powerful overlooked tools.
|
#6
|
||||
|
||||
![]()
indeed, there are a few things on vb.org just done via replacements
![]() |
#7
|
|||
|
|||
![]()
I dunno, i tried. But im still abit confused. I go into the replacement variable manager and for the master style i click [Add New Replacement Variable]
Search for Text: {color} Replace with Text: {highlight} Then i get this as an error: Quote:
|
#8
|
||||
|
||||
![]()
the other way round.
search for {highlight} replace with your color code. but if you got an error that has nothing to do with us here, maybe upgrade to 3.0.3 first? |
#9
|
|||
|
|||
![]()
ya i should upgrade. Been dreaded doing so seeing as a have some sutom hacks that i lost the instructions to during a format =\
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|