Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: file title box issues  (Read 2966 times)

0 Members and 1 Guest are viewing this topic.

vhero

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
file title box issues
« on: May 18, 2007, 01:29:01 pm »

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?
« Last Edit: May 19, 2007, 01:47:11 pm by GauGau »
Logged

Nibbler

  • Guest
Re: file title box issues
« Reply #1 on: May 18, 2007, 01:44:51 pm »

Post a link and test account with upload rights.
Logged

vhero

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: file title box issues
« Reply #2 on: May 18, 2007, 02:01:19 pm »

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

hope that helps
Logged

Nibbler

  • Guest
Re: file title box issues
« Reply #3 on: May 18, 2007, 02:14:49 pm »

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.
Logged

vhero

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: file title box issues
« Reply #4 on: May 18, 2007, 02:54:33 pm »

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

Nibbler

  • Guest
Re: file title box issues
« Reply #5 on: May 18, 2007, 06:32:43 pm »

Try changing

Code: [Select]
    // 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

Code: [Select]
    // 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.
Logged

vhero

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: file title box issues
« Reply #6 on: May 18, 2007, 10:34:20 pm »

thanks! that worked great!
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.