Posts: 3,343
Threads: 83
Joined: Mar 2003
^ Bleh, so does [code]. There's a phpBB mod to fix that, I might look at integrating it, but probably not.
I'm going to work on colouring soon, I want to make it like the last version (where colours could be changed for each style).
Posts: 2,771
Threads: 96
Joined: Oct 2003
No it doesnt =P
Code tags:
And it is a real problem. The smilies replace the text, so you can miss out parts of the program that is supposed to be there.
what if you had this:
[syntax="qbasic"]blah$ = "(8)"
print blah$[/syntax]
That SHOULD be:
Code:
blah$ = "(8)"
print blah$
Posts: 3,343
Threads: 83
Joined: Mar 2003
In which case somebody must've already installed the mod for code tags
. I'll fix [syntax] later,
Posts: 3,343
Threads: 83
Joined: Mar 2003
I've fixed the colours for smartdark now. Is that more readable?
Posts: 1
Threads: 0
Joined: Jul 2004
[syntax="c"]
function Testing (int a, int b)
{
if (a < b) {
cout << "testing" << endl;
} else {
return 0;
}
}
[/syntax]
Hmmmm, nice one... final mod is expected... when?
Posts: 3,343
Threads: 83
Joined: Mar 2003
When I get around to it
. I still have many issues to iron out - at the moment it doesn't use the bbcode_tpl thing that all other BBCodes use, and that's normally grounds for an instant refusal by the team at phpBB, so I'll have to talk to them first.
Posts: 530
Threads: 17
Joined: May 2002
Quote:In which case somebody must've already installed the mod for code tags
Code has never respected smilies...... that was the whole purpose of the code blocks.
Posts: 3,343
Threads: 83
Joined: Mar 2003
Code used to just play them out, I'm sure of it. Possibly this was just built into a newer version and now we have that... I could be wrong of course...
Posts: 970
Threads: 77
Joined: Jun 2002
Quote:Code used to just play them out, I'm sure of it. Possibly this was just built into a newer version and now we have that... I could be wrong of course...
Code was made to stop smileys (among other formatting issues) from occuring when trying to post. For as long as I can remember, phpbb has always been this way (with vbulletin being the same way).
Posts: 6,419
Threads: 74
Joined: Mar 2002
I remember smileys showing in code blocks. I remember myself having to edit posts with 8) and change it to 8 ).