View Full Version : Wicked bad?
PBChannel
Mon 18th Aug '03, 9:34pm
<!-- Put the proper table type here!! This HTML is wickedly bad! -->
Gotta love it when the vB programmers leave notes in the software... :D
N9ne
Tue 19th Aug '03, 6:24am
<!-- Put the proper table type here!! This HTML is wickedly bad! -->
Gotta love it when the vB programmers leave notes in the software... :D
You haven't seen the comments in some other files/versions :D
MarkB
Tue 19th Aug '03, 6:46am
<!-- Hey guys, what's for lunch? -->
<!-- Pizza. Chen's buying -->
<!-- I am not! -->
<!-- hehehe -->
N9ne
Tue 19th Aug '03, 6:56am
I think it's in 2.x.x that the parent/child forum check is commented on by John, something about insanity is in there, and about a child being the parent of its parent :p
Erwin
Tue 19th Aug '03, 7:53am
I've always liked the "Nutscrape" comment in functions.php of vB2. :)
assassingod
Tue 19th Aug '03, 8:04am
I've always liked the "Nutscrape" comment in functions.php of vB2. :)
Yeah - that one is hillarious
Chen
Tue 19th Aug '03, 8:09am
<!-- Hey guys, what's for lunch? -->
<!-- Pizza. Chen's buying -->
<!-- I am not! -->
<!-- hehehe -->
The only problem with that is that I usually finish the pizza all by myself. :D So sure, bring it on!
Kier
Tue 19th Aug '03, 8:23am
I've always liked the "Nutscrape" comment in functions.php of vB2. :)
I've always referred to NS as Nutscrape so I really didn't think about it when I typed that comment...
You should see some of the comments in vB3 though ;)
Chen
Tue 19th Aug '03, 8:29am
I've always referred to NS as Nutscrape so I really didn't think about it when I typed that comment...
You should see some of the comments in vB3 though ;)
Not anything that would warrant a slander lawsuit I hope. :p
MrNase
Tue 19th Aug '03, 8:55am
U R talking about
// attempts to fix idiotic Nutscrape textarea width problems
??!
*lol :)
Someone who found beta5 comments?
Scott MacVicar
Tue 19th Aug '03, 8:59am
Nutscrape
Oprah
are evil browsers
Kier
Tue 19th Aug '03, 10:02am
Nutscrape
Oprah
are evil browsers
... and we are finding that Mozilla's new Midas (WYSIWYG) system is pretty evil too...
fiNal
Tue 19th Aug '03, 12:44pm
i dont remember where, but i saw a comment like this:
// fixing the Kier situation
think it was in init.php beta 4 :)
Chen
Tue 19th Aug '03, 12:57pm
i dont remember where, but i saw a comment like this:
think it was in init.php beta 4 :)
Must've been all the muffins...
Kier
Tue 19th Aug '03, 12:58pm
i dont remember where, but i saw a comment like this:
think it was in init.php beta 4 :)
'Fixing the Kier situation' was in relation to a time when my firewall went bonkers and didn't seem to broadcast an IP address that we could read... or something like that. It was definitely firewall-related.
fiNal
Tue 19th Aug '03, 1:33pm
'Fixing the Kier situation' was in relation to a time when my firewall went bonkers and didn't seem to broadcast an IP address that we could read... or something like that. It was definitely firewall-related.
did you watch pulp fiction just before coding that part? it reminded me of this movie :) "the bonnie situation"
MrNase
Tue 19th Aug '03, 1:37pm
Not funny but:
//oops! it seems that some of the subscribed forums have been deleted, lets unset it
and
// ### ALL DONE! SPIT OUT THE HTML AND LET'S GET OUTA HERE... ###
Mike Sullivan
Tue 19th Aug '03, 1:51pm
I think it's in 2.x.x that the parent/child forum check is commented on by John, something about insanity is in there, and about a child being the parent of its parent :p
There's a comment like that in vB3, relating to child posts having their parent deleted and therefore having a foster parent. :)
squall14716
Thu 21st Aug '03, 12:51am
vB2 - forumdisplay.php:
// get number of sticky threads for the first page
// on the first page there will be the sticky threads PLUS the $perpage other normal threads
// not quite a bug, but a deliberate feature!
Can't forget that one. ;)
DarkDelight.net
Thu 21st Aug '03, 5:44am
I liked this one:
In vB3 Beta5 /admincp/thread.php
echo "\n\n<!-- the pun is intended ;o) -->\n\n";
N9ne
Thu 21st Aug '03, 6:50am
functions.php in vB3b5:
exec_mail_queue();
$shutdownqueries = array(); // stop the queries from being reexecuted for whatever reason
// bye bye!
Bye bye :D
init.php in vB3b5:
// deal with magic_quotes nastiness in GPC data
if (get_magic_quotes_gpc())
Nasty :D
assassingod
Thu 21st Aug '03, 7:42am
I like the bye bye! one (its in vB2 functions as well)
Zachery
Thu 21st Aug '03, 7:53am
I like the bye bye! one (its in vB2 functions as well)
ive seen that one.....
Chen
Thu 21st Aug '03, 7:58am
vB2 also had "That's all folks" or something like that.
DarkDelight.net
Fri 29th Aug '03, 10:28am
Let's not forget vB3beta5's
// isn't that a lame thing to have to do? Works, but it's not really nice... :/
in admincp/user.php
N9ne
Fri 29th Aug '03, 11:55am
includes/function_image.php vB3.0.0b5
define('JPG', 2);
define('PNG', 3);
// For the time being define IMAGEGIF as false as hacked versions of GD that claim to support .gif creation don't seem to always work :/
define('IMAGEGIF', false);
if (function_exists('imagejpeg'))
{
function vbimage(&$image, $type = 2, $headers = 1)
{
/* If you are calling vbimage inside ob_start in order to capture the image
remember any headers still get sent to the browser. Mozilla is not happy with this */
// Try to create a gif from a gif.
if ($type == GIF AND IMAGEGIF)
{
YCrowley
Fri 29th Aug '03, 12:15pm
nice random one here ;)
in newreply.php
// what was the line above supposed to do? I have changed it to the line below instead. - KD
another one :)
/// eeeewwww eregi_replace!
:D
cirisme
Fri 12th Sep '03, 3:47pm
WYSIWYG-related files have some really funny comments :D
In functions_wysiwyg.php, b6:
// Mozilla actually puts in newline characters when text hits the edge of the edit box boundary
// (stupid child of Nutscrape), so rather than stripping them we must replace them with a space
And in vbulletin_global.js:
if (document.getElementById)
{
// yay, a decent brower!
DOMtype = "std";
}
else if (document.all)
{
// mmm... probably IE4... ugh
DOMtype = "ie";
}
else if (document.layers)
{
// eeew Netscape 4 - run away very fast!
DOMtype = "ns";
}
I love it :D
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.