Posting tables of data in the forum
-
The forum actually supports real tables, although it is easy to get lost in the tags.
[table=tablebg table1:3f3ppq8p][thead:3f3ppq8p][tr=:3f3ppq8p][th=2:3f3ppq8p]Oh look Ma, I can do tables too![/th:3f3ppq8p][/tr:3f3ppq8p][/thead:3f3ppq8p][tbody:3f3ppq8p][tr=bg1:3f3ppq8p][td=1,:3f3ppq8p]This is the left cell[/td:3f3ppq8p][td=1,:3f3ppq8p]And this (you've guessed it) is the right cell[/td:3f3ppq8p][/tr:3f3ppq8p][tr=bg2:3f3ppq8p][td=1,:3f3ppq8p]This is row[/td:3f3ppq8p][td=1,:3f3ppq8p]This is the second cell of that row.[/td:3f3ppq8p][/tr:3f3ppq8p][/tbody:3f3ppq8p][/table:3f3ppq8p]
[table=tablebg table1][thead][tr=][th=2]Oh look Ma, I can do tables too![/th][/tr][/thead][tbody][tr=bg1][td=1,]This is the left cell[/td][td=1,]And this (you've guessed it) is the right cell[/td][/tr][tr=bg2][td=1,]This is row[/td][td=1,]This is the second cell of that row.[/td][/tr][/tbody][/table]
Perhaps a simple forum table generator would make them easier to use.
-
Oh - so there are more BBCodes available than those available as buttons? Any list?
-
<span class="syntaxdefault"><br />function hello<br /></span><span class="syntaxkeyword">{<br /></span><span class="syntaxdefault"> print </span><span class="syntaxstring">"hello world"<br /></span><span class="syntaxkeyword">}<br /></span><span class="syntaxdefault"> </span>
def hello puts "hello world" end
No Ruby fun - only PHP...
-
@jim said:
The forum actually supports real tables, although it is easy to get lost in the tags.
Oh! they do work! I tried [table] ... [/table] tags but they just rendered as text. (I didn't use [thead] or [tbody] tags.)
@jim said:
... Perhaps a simple forum table generator would make them easier to use.
Yes we don't need fancy tables. I'd envisage a popup window with a title box and a grid of textboxes (the 1st being the header row, so draw a <HR> under it.) Then we just type into the cells, and the applet then writes all the tags and such.
I don't think we need cell column spanning.
It might be nice to format columns as left just'd text, or right just'd numbers, or centered. (via a control at the top of the data columns.)
-
We really should have that for SCF.
-
-
@dan rathbun said:
Looks like this phpBB MOD is gonna be orhpaned...
The author ("UseLess") saw this post, and refuted my assumption, viz:
@unknownuser said:
http://www.phpbbstyles.co.uk[/url:2e64680u] in [url=http://www.phpbbstyles.co.uk/info/viewtopic.php?f=6&t=39&p=360#p362:2e64680u]Re: [MODDB] phpBB Syntax Highlighter - 1.0.12[/url:2e64680u]":2e64680u]
No it's not.
It [meaning ver 1.0.14 ] just won't be submitted to phpBB for validation.
If enough people test the latest version, there's only been 4 downloads of 1.0.14 and not yet of 1.0.14a and report no major problems then it'll be released. But until I get at least some feedback on how it works in various enviroments then it'll stay at DEV status.
It might be time to talk to TBD about this issue.
-
HOLD the PRESSES!
Just checked on GeSHi. The bugs have been fixed in version 1.0.8.8
The reason I saw the bugs was that UseLess's test forum, is still running GeSHi version 1.0.8.4 with his Syntax Highlighter.
This is a cool test page at GeSHi where you can type code into a textarea in any language and see how it looks after lexing.
GeSHi Highlighter Demo page -
@thomthom said:
We really should have that for SCF.
BAD NEWS... re, phpBB Syntax Highlighter
(1) The MOD author answered me, and confirmed that the HTML NCR bug(s) are caused by GeSHi's Ruby lexer. His suggestion of correcting the bugs on SCF before outputting the webpage is not feasible. (Too many bugs involving '#' characters, and other characters replaced by HTML numeric character references, in both single and double quoted strings.)
and worse...
(2) He wrote in the MOD discussion forum:
@unknownuser said:phpBB Syntax Highlighter - 1.0.12](http://www.phpbbstyles.co.uk/info/viewtopic.php?f) at phpBBStyles":3lxjk95m]
After having read the changes to the mod validation requirements I have decided not to update this mod.Support will be provided for the last release version which is 1.0.12 but 1.0.14 will not be released and will not be submitted for validation by the phpBB MOD Team.
Looks like this phpBB MOD is gonna be orhpaned...
-
@thomthom said:
No Ruby fun - only PHP...
I posted a Ruby Hilited test example(s) at the phpBBStyles forum, ie: Code Test - Ruby
EDIT: corrected URL as topic was moved by phpbbstyles moderator.
.. in order to see how well the phpBB Syntax Highlighter MOD works/looks.- Adds a BBCode 'syntax' which allows you to post programs / scripts in upto 132 languages and have the post Syntax Highlighted using GeSHi.General description:
http://www.phpbb.com/customise/db/mod/syntax_highlighter
More info (install notes, etc.):
http://www.phpbb.com/community/viewtopic.php?t=1697035#p10232505
Extra info:
http://www.phpbbstyles.co.uk/info/viewtopic.php?f=6&t=39&p=83
Supported coding Syntaxes: [ emphasis on some by me ]
@unknownuser said:Syntax Highlighter - 1.0.8](http://www.phpbbstyles.co.uk/info/viewtopic.php?f)":sk3p0i6l]
now supports 138 languages.
Supported Syntaxes: abap, actionscript, actionscript3, ada, apache, applescript, apt_sources, asm, asp, autoit, avisynth, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, cmake, cobol, cpp, cpp-qt, csharp, css, d, dcs, delphi, diff, div, dos, dot, eiffel, email, erlang, fo, fortran, freebasic, genero, gettext, glsl, gml, gnuplot, groovy, haskell, hq9plus, html4strict, idl, ini, inno, intercal, io, java, java5, javascript, kixtart, klonec, klonecpp, latex, lisp, locobasic, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, make, matlab, mirc, modula3, mpasm, mxml, mysql, nsis, oberon2, objc, ocaml, ocaml-brief, oobas, oracle11, oracle8, pascal, per, perl, php, php-brief, phpbb, pic16, pixelbender, plsql, povray, powershell, progress, prolog, properties, providex, python, qbasic, rails, rebol, reg, robots, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl, teraterm, text, thinbasic, tsql, typoscript, vb, vbnet, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xhtml, xml, xorg_conf, xpp, z80Using GeSHi version: 1.0.8.4
- Adds a BBCode 'syntax' which allows you to post programs / scripts in upto 132 languages and have the post Syntax Highlighted using GeSHi.General description:
Advertisement