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>
I'm new, so don't be too hard on me please. I have looked for a general questions forum and am not finding one. If this post belongs elsewhere, please feel free to move it.
BB