Posts: 1,272
Threads: 36
Joined: Feb 2003
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).
Posts: 1,138
Threads: 211
Joined: Feb 2020
Thanks for reporting it. I'm looking into the problem, seems to be dieing on the [code] bbcode as said.
Posts: 4,307
Threads: 63
Joined: May 2003
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.
Posts: 3,343
Threads: 83
Joined: Mar 2003
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.
Posts: 4,307
Threads: 63
Joined: May 2003
oracle, why is there an extra line after the code?
Posts: 838
Threads: 17
Joined: Jan 2002
if you go
[ code ]
code here
[ /code ]
there's an extra line, but in
[ code ]
code here[ /code ]
there isn't. Same with quotes.
url=http://www.copy-pasta.com]CopyPasta[/url] -
FilePasta
Posts: 2,765
Threads: 138
Joined: Nov 2002
[syntax="QBASIC"]PRINT "PIE"[/syntax]
is the same as
Code:
[syntax="QBASIC"]PRINT "PIE"[/syntax]
but there is a line at the end.
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 838
Threads: 17
Joined: Jan 2002
Weird. What I wrote was my experience :???: Might be different with the new syntax things ofcourse.
url=http://www.copy-pasta.com]CopyPasta[/url] -
FilePasta
Posts: 4,307
Threads: 63
Joined: May 2003
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 =).
Posts: 1,845
Threads: 44
Joined: Aug 2002
He already knows, I notified him about it a long time ago...