file title box issues file title box issues
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

file title box issues

Started by vhero, May 18, 2007, 01:29:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vhero

when uploading an image to the gallery in the box where i put the file title, the box itself is HUGE

http://i71.photobucket.com/albums/i146/Vherostar/problem-1.jpg

see the pic for example plus it only allows caps however once i submitted it does not submit in caps.. Also if i press caps it goes bold its a wierd error I cannot figure out how to fix any help please?

Nibbler

Post a link and test account with upload rights.

vhero

site - http://epicrenders.com/gallery
login - u/test  p/test123

hope that helps

Nibbler

That's an issue with the theme. It is using an id that is already used by Coppermine (title). You'd need to edit the theme or upload.php.

vhero

what would i have to edit on upload to fix?? im not too savvy with php though i'm learning

Nibbler

Try changing


    // Create a text box.
    echo <<<EOT
        <tr>
            <td width="40%" class="tableb">
                        $text  $ordinal
        </td>
        <td width="60%" class="tableb" valign="top">
                <input type="text" style="width: 100%" name="$name" maxlength="$max_length" value="$default" class="textinput" id="$name" />
                </td>
        </tr>

EOT;


to


    // Create a text box.
    echo <<<EOT
        <tr>
            <td width="40%" class="tableb">
                        $text  $ordinal
        </td>
        <td width="60%" class="tableb" valign="top">
                <input type="text" style="width: 100%" name="$name" maxlength="$max_length" value="$default" class="textinput" id="upload_$name" />
                </td>
        </tr>

EOT;


untested though.

vhero