Qbasicnews.com

Full Version: I found a broken topic (gets an error message)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Projects -> Super Array Handler

That link gives me this:
Quote:Fatal error: Call to undefined function: highlight_code() in /home/qbnews/public_html/forum/includes/bbcode.php on line 668
I'm guessing that at least one of the posts in that topic contains html or php generated by an older version of the GeSHi highlighter that isn't compatible with the one built in now. I found the topic searching for "XiberLord", but there doesn't seem to be any way to open it without getting that error message (I tried removing the "&highlight=" from the link, and that's all I can think of).
Thanks for reporting it. I'm looking into the problem, seems to be dieing on the [code] bbcode as said.
Quote:I tried removing the "&highlight=" from the link, and that's all I can think of.

JFYI the &highlight variable in the link just tells the script to highlight the keyword, in the result page, that you searched for.
Code:
'testing...
(){}:
print "hi"

Code:
qbasic'testing...
(){}:
print "hi"

[syntax="qbasic"]'testing...
(){}:
print "hi"[/syntax]

I've fixed the problem - the problem was with the old-style way of highlighting by putting [code]qbasic instead of [code] to highlight stuff. As you can see, brackets won't be highlighted anymore by that old method. And when I finally standardise the MOD I don't know whether I'll keep support for that old form anyway.
oracle, why is there an extra line after the code?
if you go

[ code ]
code here
[ /code ]

there's an extra line, but in

[ code ]
code here[ /code ]

there isn't. Same with quotes.
[syntax="QBASIC"]PRINT "PIE"[/syntax]
is the same as
Code:
[syntax="QBASIC"]PRINT "PIE"[/syntax]

but there is a line at the end.
Weird. What I wrote was my experience :???: Might be different with the new syntax things ofcourse.
dude, i posted about this problem twice or so. But it seems oracle kept missing those topics. Guess I should've pmed him =P. Anyway, what you described applies for the block. But the problem I described is GeSHi specific =).
He already knows, I notified him about it a long time ago... Wink
Pages: 1 2 3