[stats-dev] listmode

Paul Richards paul at quakenet.org
Thu Apr 24 21:59:27 EDT 2003


[20:24:09] (@TheCougar): hey paul, fix the stats/secure pages so they use
stats_participant_listmode
[20:24:09] (@TheCougar): :)
[20:24:25] (@paul): what's stats_participant_listmode?
[20:24:33] * TheCougar rolls eyes
[20:24:47] (@TheCougar): 0 List with email address
[20:24:47] (@TheCougar): 1 List with participant ID
[20:24:47] (@TheCougar): 2 List with participant name
[20:24:47] (@TheCougar): 8 Participant is a hacker (but display and rank
them)
[20:24:49] (@TheCougar): ...

What are we planning on using this table for, purely storing the
descriptions ?

At the moment, we're doing something like to 'choose' listmode. We can't
change ID's or implement new ID's unless we also change the php code, so I'm
wondering what this buys us...

Paul


    function getDisplayName()
    {
        if ($this -> _listmode == 0 || $this -> _listmode == 8 || $this ->
_listmode == 9) 
            $listas = $this -> Getemail();
         else if ($this -> _listmode == 1) 
            $listas = "Participant #" . number_style_convert($this ->
GetID());
         else if ($listmode == 2) 
            if ($name == "")
                $listas = "Participant #" . number_style_convert($this ->
GetID());
            else
                $listas = $this -> getName();
            else
                $listas = "Record error for #" . number_style_convert($this
-> GetID()) . "!";
        return $listas;
    } 


--
To unsubscribe, send 'unsubscribe stats-dev' to majordomo at lists.distributed.net



More information about the stats-dev mailing list