View Full Version: Okay, Tables

Dozensonline > Number Bases > Okay, Tables



Title: Okay, Tables


The Mighty Dozen - April 26, 2006 09:49 PM (GMT)
Well, Shaun asked me to enable the html code thing so we can post tables. I have done that, but he says the tables still ain't working. I wouldn't know, cos I don't know about all that code malarky, so I just wanna know....


.....can no one get tables? If not, I'll contact my superiors... ;) :)

Dan - April 26, 2006 11:48 PM (GMT)
Let me see...

<table>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
<tr>
<td>data 11</td>
<td>data 12</td>
</tr>
<tr>
<td>data 21</td>
<td>data 22</td>
</tr>
</table>

No, it doesn't work.

The Mighty Dozen - April 27, 2006 03:20 PM (GMT)
Okay, that's very odd. I'll get on it. :)

Shaun - April 27, 2006 04:33 PM (GMT)
QUOTE (Dan @ Apr 26 2006, 11:48 PM)

<table>
  <tr>
      <th>Header 1</th>
      <th>Header 2</th>
  </tr>
    ........
</table>

No, it doesn't work.

They say put
doHTML (between square brackets [ ])
before the HTML code and
/doHTML (with [ ])
at the end.
But it still don't work ...

see
Ref:
http://support.invisionfree.com/index.php?showtopic=251181

Ruthe - April 27, 2006 09:38 PM (GMT)
I had a look at the invisionfree website. Nowhere does it say that HTML can be included AND parsed. It is possible to include HTML code for highlighting. I found a number of extra codes that can be used although there are no buttons for them.

I will not post these unless Bryan says it is OK to do so.

Shaun - April 28, 2006 07:51 AM (GMT)
QUOTE (Ruthe @ Apr 27 2006, 09:38 PM)
I had a look at the invisionfree website. Nowhere does it say that HTML can be included AND parsed.

You have to hunt around the help section.
That's where I found the doHTML coding.

The Mighty Dozen - April 28, 2006 11:07 AM (GMT)
QUOTE (Ruthe @ Apr 27 2006, 09:38 PM)
I had a look at the invisionfree website. Nowhere does it say that HTML can be included AND parsed. It is possible to include HTML code for highlighting. I found a number of extra codes that can be used although there are no buttons for them.

I will not post these unless Bryan says it is OK to do so.

I dont see why you wouldnt post it. Post away!! :)

Endi - April 28, 2006 11:26 AM (GMT)
Well, the link BB Code Help has been staring me in the face under the smilies. I did a bit of looking around this is what I found:

The InvisionFree website got by deleting the URL of this forum back to .com states:

QUOTE
Software Requirements

Invision Power Board requires PHP 4.3+ and either MySQL 3.23+ (4.x highly recommended), MSSQL or Oracle 9i for database storage. MySQL 5.x not yet supported - news on MySQL 5.x support coming soon.

I don't know whether you have all that software or not.


Now when I realised it was BB code I googled "Hidden BBCodes table" and came up with a page from the skeptics society of all things.
http://www.skepticforum.com/faq.php?mode=bbcode
Nevertheless, this page shows you how to write tables. I tried it and it didn't work. Now there is a section on this page that says:
QUOTE
Can I add my own tags?
No, I am afraid not directly in phpBB 2.0. We are looking at offering customisable BBCode tags for the next major version.

So I thought, ah "phpBB 2.0". So I looked to see if it says what version the dozenal forum is.

Well, the bottom of each page in the dozenal forum reads:
QUOTE

Hosted for free by InvisionFree (Terms of Use: Updated 7/7/05) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.

I don't know if the "v" there stands for version, but if it does, does that mean that we are using version 1.3 instead of 2.0? I suspect not because I think it refers to the version of "powerboard rather than the version of anything else.

Nevertheless, out of date software might that explain why we can't post tables.
The strange thing is that the software requirements are supposedly for PHP 4.3+ so "phpBB 2.0" would appear to be an older verson yet it still apparantly supports tables. Would it be possible to upgrade to 2.0 or 4.3+ if necessary?

Endi - April 28, 2006 12:00 PM (GMT)
This should post a very colourful table using BBCode but it doesn't.

[table][mrow]Main Row Column 1[col]Main Row Column 2[col color=red]Main Row Column 3[col color=#FF0000]Main Row Column 4[row]Regular Row Column 1[col]Regular Row Column 2[col color=red]Regular Row Column 3[col color=#FF0000]Regular Row Column 4[row color=blue]Colored Row 1 Column 1[col]Colored Row 1 Column 2[col color=red]Colored Row 1 Column 3[col color=#FF0000]Colored Row 1 Column 4[row color=#0000FF]Colored Row 2 Column 1[col]Colored Row 2 Column 2[col color=red]Colored Row 2 Column 3[col color=#FF0000]Colored Row 2 Column 4[/table]

Ruthe - April 28, 2006 01:25 PM (GMT)
QUOTE (Endi @ Apr 28 2006, 12:00 PM)
This should post a very colourful table using BBCode but it doesn't.


According to the invisonfree website help section on "Your Personal Messenger", HTML code can be used in personal messages , but says nothing about in the main forums.

As for the reference provided to the invisionfree website by Shaun, it gives some suggestions but they are just that, suggestiions posted to the website by other invisonfree users. The second posting in that thread does give another hint. It says the administrator should try the following.


QUOTE

1. Go to your Admin CP
2. Users and Groups >> Manage User Groups
3. Choose your group there, enable the doHTML
4. Post with this tag

[doHTML]HTML you want here[/doHTML]



This does not say anything about BBcode.

So Bryan, is there such a facility in the Admin CP and if so have you enabled it?

Just in case there is, and you have, I'll try the following test, which if it works fine, if not, over to you Bryan.

[doHTML]
<TABLE>
<TR>
<TD>Hi Folks</TD><TD>Spaces</TD><TD><Hello World</TD>
</TR>
<TR>
<TD>Line 2 Col 1</TD><TD></TD><TD>Line 2 Col 3</TD>
</TR>
</TABLE>
[/doHTML]

Well that didn't work 'cause this is what I typed with the open and close doHTML tags without a space following the opening brace "[".


[ doHTML]
<TABLE>
<TR>
<TD>Hi Folks</TD><TD>Spaces</TD><TD><Hello World</TD>
</TR>
<TR>
<TD>Line 2 Col 1</TD><TD></TD><TD>Line 2 Col 3</TD>
</TR>
</TABLE>
[ /doHTML]

<_<

The Mighty Dozen - May 2, 2006 04:53 PM (GMT)
Okay guys, I have it enabled now. Sorry for the delay. :)

Ruthe - May 2, 2006 07:30 PM (GMT)
QUOTE (The Mighty Dozen @ May 2 2006, 04:53 PM)
Okay guys, I have it enabled now. Sorry for the delay. :)

OK Does this work? Note there is a space after the opening and closing doHTML tags following the opening "[" in the example code below. With these removed the table below is what you get

[ doHTML]
<TABLE BORDER=2 bordercolor="gold">
<TR>
<TR><TD>Line1 Col1</TD><TD>Line1 Col2</TD><TD>Line1 Col3</TD></TR>
<TR><TD>Line2 Col1</TD><TD>Line2 Col2</TD><TD>Line2 Col3</TD></TR>
</TABLE>
[ /doHTML]

[doHTML]
<TABLE BORDER=2 bordercolor="gold">
<TR>
<TR><TD>Line1 Col1</TD><TD>Line1 Col2</TD><TD>Line1 Col3</TD></TR>
<TR><TD>Line2 Col1</TD><TD>Line2 Col2</TD><TD>Line2 Col3</TD></TR>
</TABLE>
[/doHTML]

YES!!!!!! Go for it!

uaxuctum - May 2, 2006 07:57 PM (GMT)
Do those "doHTML" tags allow to insert whatever HTML code one needs, or is it restricted to table-related code?

BTW, is there a way to enable TeX? This would make posting mathematical expressions so much easier.

Dan - May 2, 2006 08:29 PM (GMT)
QUOTE (uaxuctum @ May 2 2006, 01:57 PM)
Do those "doHTML" tags allow to insert whatever HTML code one needs, or is it restricted to table-related code?

[doHTML]It <sup>looks</sup> like <sub>you</sub> can use <blink>any</blink> HTML tag, <font style="text-decoration: overline">including</font> <a href=".">tags</a> <strong>already</strong> <em>available</em> <font style="color: maroon">with the [] tags</font>.
<hr>
<marquee>You can make your posts look like ransom notes!</marquee>
Just don't overdo it.
[/doHTML]

Ruthe - May 2, 2006 08:47 PM (GMT)
QUOTE (Dan @ May 2 2006, 08:29 PM)
QUOTE (uaxuctum @ May 2 2006, 01:57 PM)
Do those "doHTML" tags allow to insert whatever HTML code one needs, or is it restricted to table-related code?

[doHTML]It <sup>looks</sup> like <sub>you</sub> can use <blink>any</blink> HTML tag, <font style="text-decoration: overline">including</font> <a href=".">tags</a> <strong>already</strong> <em>available</em> <font style="color: maroon">with the [] tags</font>.
<hr>
[/doHTML]

By the way, here are the additional BB codes I found on invisionfree's website. I have created two copies of each example, one with an extra space after the opening "[" tag to prevent it from being parsed followed by a valid version to show the effect.

Hidden BBCodes
In addition to the BBCodes such as bold or underline, there are several BBCodes that have no buttons.

[ hr] can be used to make a horizontal line as a divider.


[ sup]superscript[/sup] will make superscript text.
superscript

[ sub]subscript[/sub] will make subscript text.
subscript

[ html]<a href="www">link</a>[/html] highlights HTML code.
HTML
<a href="www">link</a>


[ sql]SELECT * FROM table;[/sql] highlights SQL queries.
SQL
SELECT * FROM table;


However, now we have the doHTML enabled, these are probably redundant.




Hosted for free by InvisionFree