We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.
tags, none get parsed.
The exact example I found this with was two opening, one close:
[quote]Hi, please use PHP tags when posting PHP code (i.e. swap the
tags )
To use an objects properties/methods within a function, you must decalre the global object:
[php]<?php
function someFunction()
{
global $obj;
$obj->method();
}
?>[/php]
[/quote]
This isn't really a suggestion, more of a notification but maybe someone would like to look into the bbcode parser phpbb uses and perhaps submit a contribution if you are bored
I do miss our custom BBCode parsers Line wrapping is the thing that bugs me most about these. I imagine that it's just a case of applying CSS "white-space: no-wrap" to the <code> blocks?