vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Biggest coding project ever (https://vborg.vbsupport.ru/showthread.php?t=71981)

Link14716 12-01-2004 08:20 PM

And by changing this:
PHP Code:

$path $_SERVER['DOCUMENT_ROOT'] . '/dev/'

To this:
PHP Code:

if (!isset($_POST['path'])) {
 
$path $_SERVER['DOCUMENT_ROOT'] . '/dev/';
} else {
 
$path $_POST['path'];
}

echo 
'<form action="omgcountlines.php" method="post">'."\n";
echo 
'<input type="text" name="path" value="'.$path.'" size="50">'."\n";
echo 
'<input type="submit" name="submit" value="OMG COUNT LINES!">'."\n";
echo 
'</form>'."\n"

You get a nice little box for the path.

Oh, here's uCS in its current form.

uttstore
---- action.boldusername.php (Lines: 107)
---- action.forumaccess.php (Lines: 145)
---- action.admindonate.php (Lines: 103)
---- action.stickythread.php (Lines: 88)
---- action.colorusername.php (Lines: 206)
---- action.changeusername.php (Lines: 110)
---- action.secondaryusergroup.php (Lines: 139)
---- action.bank.php (Lines: 301)
---- action.denyforumaccess.php (Lines: 157)
---- action.glowusername.php (Lines: 207)
---- action.forumpassword.php (Lines: 127)
---- action.thief.php (Lines: 152)
---- action.giveforumaccess.php (Lines: 161)
---- action.italicusername.php (Lines: 100)
---- action.changetitle.php (Lines: 101)
---- action.changeothertitle.php (Lines: 130)
---- action.donate.php (Lines: 121)
includes
---- functions_uttstore.php (Lines: 511)
images
uttstore
admincp
---- uttstoreadmin.php (Lines: 519)
---- ushop_install.php (Lines: 1,184)
---- ushop.php (Lines: 531)

Total Lines = 5,200

Erwin 12-01-2004 09:51 PM

Quote:

Originally Posted by Zero Tolerance
Yeah .. i opened each individual file, went to the bottom of everyone, press ctrl+g (in notepad btw). And up comes the line number :)

Btw Erwin .. i think you bought a year license for inferno .. so you can just update since your license isn't a year old yet.

- Zero Tolerance

I was talking about filburt's new webmail system. ;)

This thread has become a "My code is BIGGER than yours" competition. ;)

Guys, it's not how big your code is... is how you use it.

AN-net 12-01-2004 10:45 PM

Quote:

Originally Posted by Erwin
I was talking about filburt's new webmail system. ;)

This thread has become a "My code is BIGGER than yours" competition. ;)

Guys, it's not how big your code is... is how you use it.

oh wise erwin, your words are true:)

Dean C 12-02-2004 08:15 AM

Quote:

Originally Posted by Erwin
I was talking about filburt's new webmail system. ;)

This thread has become a "My code is BIGGER than yours" competition. ;)

Guys, it's not how big your code is... is how you use it.

Bigger is better :up:

Erwin 12-02-2004 09:33 PM

Quote:

Originally Posted by Dean C
Bigger is better :up:

I would be more impressed by smaller amounts of efficient code that does the same thing. ;)

filburt1 12-02-2004 10:45 PM

Quote:

Originally Posted by Erwin
I would be more impressed by smaller amounts of efficient code that does the same thing. ;)

To be fair, a huge amount of the lines are PHPDoc...does that count?

Dean C 12-03-2004 09:18 AM

Quote:

Originally Posted by Erwin
I would be more impressed by smaller amounts of efficient code that does the same thing. ;)

I was making a sexual innuendo :disappointed:

Erwin 12-03-2004 11:38 AM

Quote:

Originally Posted by Dean C
I was making a sexual innuendo :disappointed:

Uh... you don't make those with other guys. ;)

AN-net 12-03-2004 11:56 AM

Quote:

Originally Posted by Dean C
I was making a sexual innuendo :disappointed:

poor dean is misunderstood, *gives dean a lolly pop* i found it funny:)

Dean C 12-03-2004 01:54 PM

Quote:

Originally Posted by Erwin
Uh... you don't make those with other guys. ;)

You're no guy Erwina :p


All times are GMT. The time now is 04:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01159 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete