Table MyCode
#11
Regular Expression:
\[tablecenter\](.*?)\[/tablecenter\]

Replacement:

<table border="1" style="margin-left: auto; margin-right: auto; text-align: left;" summary="Table MyCode"><tbody>
<tr> <td>$1</td> </tr>
</tbody></table>



Make another custom mycode with that
Proud Owner of The HD Forums since Aug 2009
[Image: dp93py.png]
Reply
#12
lol... that's a way to go Big Grin Thanks!
Reply
#13
No problem
Proud Owner of The HD Forums since Aug 2009
[Image: dp93py.png]
Reply
#14
Hm, all I can see is a single box (one cell). This can be done with a bordered div too.
It's not a real table (for example to show a comparison of two products etc).

Maybe you could adapt the wiki code (it's simple to use [if you know how]) and create a plugin: http://en.wikipedia.org/wiki/Help:Wikitable
Reply
#15
What I did is a simple single cell table, the very basic HTML one
Proud Owner of The HD Forums since Aug 2009
[Image: dp93py.png]
Reply
#16
This user has been denied support. This user has been denied support.
thanks...Nice job
Reply
#17
How can i add a table with colums and rows?
I've tried to do it creating different mycode for <td> and <tr> but seems that i missing something.
Edit:founded, is a problem with the "regular expressione" of td; anyone know the right format for single element?
for example, if i don't want to use [colum]text[column] can i use just "|"?
Reply
#18
Well if you want to do them as separates mycodes:
table rows:
Regular expression:
\[tr\](.*?)\[/tr\]

Replacement:
<tr>$1</tr>
Table columns:
Regular Expression:
\[td\](.*?)(\.*?)\[/td\]
Replacement
<td>$1</td>
It will also accept other mycode in your table cells.

Reply
#19
Unfortunetaly it isn't working on my mybb forum. Is there anything else I need to set?
Reply
#20
I would also like to include tables with columns and rows in my forum. Where do I add this custom mycode?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)