PDA

View Full Version : quotes changed here.. ;)


TECK
02-24-2002, 07:01 AM
firefly, you just changed the code for the quotes fron hr to a table. i tried the same, but it doesnt let me store but a limited number of lines, what did you edited? to make it put all your table code? thanks.

Admin
02-24-2002, 07:07 AM
Find out how many chars it is storing... then you'll figure it out.
(lol it took me a while to get this too, heh)

Admin
02-24-2002, 07:09 AM
Let me use this as a test thread please...

if (floor ($phpversionnum) < 4) {
// get rid of stray <br> tags in the code - upsets older browsers (IE 4.72 reported problems)
$codebits=explode("</normalfont><pre><smallfont>code:</smallfont></normalfont><hr><blockquote>",$bbcode);
list($key,$bbcode)=each($codebits);

while (list($key,$val)=each($codebits)) {
$sbbits=explode("</blockquote><hr></pre><normalfont>",$val);
$newbits=str_replace("<br>", "", $sbbits[0])."</blockquote><hr></pre><normalfont>".$sbbits[1];
$bbcode.="</normalfont><pre><smallfont>code:</smallfont></normalfont><hr><blockquote>".$newbits;
}
}

if (floor($phpversionnum) < 4) {
// get rid of stray <br> tags in the code - upsets older browsers (IE 4.72 reported problems)
$codebits=explode("</normalfont><pre><smallfont>code:</smallfont></normalfont><hr><blockquote>",$bbcode);
list($key,$bbcode)=each($codebits);

while (list($key,$val)=each($codebits)) {
$sbbits=explode("</blockquote><hr></pre><normalfont>",$val);
$newbits=str_replace("<br>", "", $sbbits[0])."</blockquote><hr></pre><normalfont>".$sbbits[1];
$bbcode.="</normalfont><pre><smallfont>code:</smallfont></normalfont><hr><blockquote>".$newbits;
}
}

The quick brown fox jumped over something... I don't remember really.

TECK
02-24-2002, 07:10 AM
hehe.. made me smile with the last part.. thanks chen

TECK
02-24-2002, 07:12 AM
place it as a hack.. :p :D

Admin
02-24-2002, 07:15 AM
Yes I will... blatantly ripped off phpBB2. ;)

TECK
02-24-2002, 07:22 AM
forgive me sirrrrr.. :D

TECK
02-24-2002, 07:47 AM
test

MiF
01-06-2004, 08:41 PM
if (a<b&&a>c){
DoIt();
}

MindTrix
01-06-2004, 08:46 PM
Chen im intrigued, What did he jump over? Pleaseee tell me!!!!!!!

Zachery
01-06-2004, 09:20 PM
old spammage posts?

MindTrix
01-06-2004, 09:23 PM
Oops i didnt realise it was an old thread, thought it was a new one, My bad sorry.

Note: I never bumped it ;)