Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generic Syntax Highlighting
#11
^ 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).
Reply
#12
No it doesnt =P

Code tags:
Code:
;)

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$
Reply
#13
In which case somebody must've already installed the mod for code tags Wink. I'll fix [syntax] later,
Reply
#14
I've fixed the colours for smartdark now. Is that more readable?
Reply
#15
[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?
Reply
#16
When I get around to it Wink. 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.
Reply
#17
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.
b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
Reply
#18
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...
Reply
#19
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).
url=http://fileanchor.com]FileAnchor[/url] - ImageAnchor - FBTK - QbasicNews - VPlanet - Various
Reply
#20
I remember smileys showing in code blocks. I remember myself having to edit posts with 8) and change it to 8 ).
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)