View Single Post
  #10   Spotlight this post!  
Unread 02-06-2006, 00:50
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: What would you say to newer members of the CD community?

Quote:
Originally Posted by mocat1530
I would also like to see some how-to's for folks who are new to the whole forum concept. When you decide to reply to a post what are all those buttons? What do the response fomatting icons really do? What is a PHP tag? The big thing I have searched for is the how-to on adding quotes to your responses. I can make the shaded box, but where does the "originally quoted by" come from?
I took me several months to discover all the features on these forums. I've started working on a Hitchhiker's Guide to Chief Delphi that goes and explains what anything and everything does with screenshots of the many of the features. So far I have about three pages written. The paper would focus on learning all the feaures of Chief Delphi, like learning what all the buttons do in the posting area do, how to do all the profile settings/avatar/who am i?, what UFH and WFA are, about CD-Media, CD-Swap, and CD-Event, what the spotlight list is, what is appropiate for signatures and avatars, etc. Almost like a giant orientation video.

To help answer your question, the PHP tags are only need if you have PHP code to post. The PHP tag will color-code the PHP code depending on it's syntax. Here is an example use of the PHP tag:
PHP Code:
<?php 
/**
 * Directory File Size Generator
 * Author: Arthur Dutra
 *
 * Function Syntax = getDirectorySize([directory_location]);
 **/
$totalsize 0;
function 
getDirectorySize($dir$pos=2){ 
    global 
$totalsize
    if(
$pos == 2
    
$handle = @opendir($dir); 
    while (
$file = @readdir ($handle)){ 
        if (
eregi("^\.{1,2}$",$file)) 
            continue; 
        if(
is_dir($dir.$file)){ 
        
getDirectorySize("$dir.$file/"$pos+3); 
    }else{ 
        
$size=filesize($dir.$file); 
            
$totalsize=$totalsize+$size
        }    } 
    @
closedir($handle); 
    return 
$totalsize;
?>
And here is how you get the "originally posted by" in the grey quote box:
Quote:
Originally Posted by username
Their quoted text.
If you want to see exactly how these were used, click the at the bottom right part of this quote in order to see the code used.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
Reply With Quote