The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Question on Custom BB Codes
Hi guys and gals,
I am running a small union forum using 3.6.x and I am trying to create some BB Codes to allow users to build tables within posts. I tried building three codes: [TableBorder={option}]{param}[/TableBorder] to echo <table border="1"> where {option} is the 1 or what ever they want... [TR]{param}[/TR] to echo "<tr>" [TD]{param}[/TD] to echo "<td>" My thought was I could 'nest' these BB Codes to echo more complex HTML like a table; but the Admin CP will not accept these inputs. The "Replacement" block just shows the BB Code tags and does not show the HTML I'm trying to use. I was sucessful with a text highlighter that works like this: [hl]{param}[/hl] HTML Code:
<span style="background-color: rgb(255, 255, 102);">Highlighted Text</span> BB |
#2
|
||||
|
||||
In case you didn't know, there already is a table BB code mod. I use it. It's pretty good. Check it out if you haven't seen it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|