The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello!
I own a website where I am making a code highlighting system like the php highlighting system so now I want to make a bbcode for it so I say [trigger]somecode[/trigger] which the bbcode system then will parse. I cant use the standard custom bbcode system for this. so how do I add a new one? |
#2
|
|||
|
|||
![]()
sry for bumping but can anyone answer my question?
|
#3
|
||||
|
||||
![]()
The bbcode system basically replaces html. For example, doing a spoiler box -- it sets the opening and closing of the table with the content in the middle.
I am not sure what you mean by "parsing highlighting"? |
#4
|
||||
|
||||
![]()
Can there be a conditional in the HTML replacement?
Something like, "if the browser is MSIE, use this. If the browser is Firefox, use that." I'd love to see an example of code that could do that. |
#5
|
|||
|
|||
![]()
have you ever seen the [highlight] mod for vbulletin? well I don't understand the source of it, but I am making something similiar to that.
I don't know which hook to use when wanting to modulate the text.. I have seem something in the source saying [php] // PHP Code:
And I want to do this with hooks and plugins |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|