Topic: remove style section of profile

I would like to remove the style section of the profile page for my board, since I only have one choice there anyways (the style to match my site). I tried just removing the <tr>...</tr> part for the styles from profile.php but when I uploaded it I got "Unable to fetch user data". Uploaded the original and it was fine again. Is there any way I can get rid of it?

Re: remove style section of profile

I check and it works good .

Find line 1134 and remove this

<tr>
            <td class="puncon1right" style="width: 140px; white-space: nowrap"><?php echo $lang_profile['Style'] ?>  </td>
            <td class="puncon2">
                <div style="padding-left: 4px"><?php echo $lang_profile['Style info'] ?></div><br>
                 <select name="form[style]">
<?php

        $d = dir($pun_root.'style');
        while (($entry = $d->read()) !== false)
        {
            if (substr($entry, strlen($entry)-4) == '.css')
                $styles[] = substr($entry, 0, strlen($entry)-4);
        }
        $d->close();

        while (list(, $temp) = @each($styles))
        {
            if ($user['style'] == $temp)
                echo "\t\t\t\t\t".'<option value="'.$temp.'" selected>'.str_replace('_', ' ', $temp).'</option>'."\n";
            else
                echo "\t\t\t\t\t".'<option value="'.$temp.'">'.str_replace('_', ' ', $temp).'</option>'."\n";
        }

?>
                </select>
            </td>
        </tr>
The best things in life are free*

* plus shipping and handling

[img]http://members.lycos.co.uk/maciekziolkowski/gmailsign.jpg[/img]

Re: remove style section of profile

ah worked that time, thanks