coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Muurvaren on March 30, 2007, 05:17:18 PM

Title: moving the message 'OK' button
Post by: Muurvaren on March 30, 2007, 05:17:18 PM
After the installation of Captcha (Visual Confirmation) for adding comments, I noticed that the OK button is at a rather strange position. Maybe is was already there, maybe not. Anyhow, the link below shows this huge problem ;-)

http://www.muurvaren.nl/displayimage.php?album=5&pos=0&lang=english_gb

I want the OK-button at the right of the confirmation image, or below the confirmation text-box.
After (re)installing the Web Developer Toolbar I changed many settings in the CSS-file, but not with the result I' am after.

Who knows how to fix this? Thnx in advance!

Title: Re: moving the message 'OK' button
Post by: Sami on March 30, 2007, 05:43:38 PM
You should change {gallery-root}/plugins/captcha/codebase.php

look for $newcpch variable and change it the way you want
Title: Re: moving the message 'OK' button
Post by: Muurvaren on March 30, 2007, 05:59:11 PM
Quote from: Sami on March 30, 2007, 05:43:38 PM
You should change {gallery-root}/plugins/captcha/codebase.php
look for $newcpch variable and change it the way you want

No the codebase.php doesn't exist in my case.
So as the $newcpch

I searched the captcha.class.php on $newcpch, no Luck. I searched all the php files on $newcpch, no luck either...

Some more ideas?

Title: Re: moving the message 'OK' button
Post by: Muurvaren on March 30, 2007, 06:06:08 PM
Quote from: wadh on March 30, 2007, 05:59:11 PM
No the codebase.php doesn't exist in my case.
So as the $newcpch

I searched the captcha.class.php on $newcpch, no Luck. I searched all the php files on $newcpch, no luck either...

Found the codebase.php (plugins/sef_urls/) but not the $newcpch.

Title: Re: moving the message 'OK' button
Post by: Sami on March 30, 2007, 06:11:50 PM
Sorry It was my mistake , So you didn't use plugin version
then it should be more easier !

Edit themes/yourtheme/theme.php
and change position of {CONFIRM}

something like this :
<tr>
  <td class="tableb_compact" colspan="2">
    &nbsp;
  </td>
  <td class="tableb_compact" colspan="2">
    <input type="text" name="confirmCode" size="5" class="textinput"> <img src="captcha.php" align="middle">&nbsp;{CONFIRM}
  </td>
</tr>
Title: Re: moving the message 'OK' button
Post by: Muurvaren on March 30, 2007, 06:37:24 PM
Quote from: Sami on March 30, 2007, 06:11:50 PM
Sorry It was my mistake , So you didn't use plugin version
then it should be more easier !

Edit themes/yourtheme/theme.php
and change position of {CONFIRM}

something like this :
<tr>
  <td class="tableb_compact" colspan="2">
    &nbsp;
  </td>
  <td class="tableb_compact" colspan="2">
    <input type="text" name="confirmCode" size="5" class="textinput"> <img src="captcha.php" align="middle">&nbsp;{CONFIRM}
  </td>
</tr>


There is something happening, but not quit yet... ;)

http://www.muurvaren.nl/displayimage.php?album=3&pos=1

I tried several settings by changing the numbers, no good.

Title: Re: moving the message 'OK' button
Post by: Muurvaren on March 30, 2007, 07:16:23 PM
Quote from: Sami on March 30, 2007, 06:11:50 PM
Sorry It was my mistake , So you didn't use plugin version
then it should be more easier !

Looking into it know (multiline_comments?). OK installed it, looks promising but then there are other problems to resolve. To keep this tread clean I stick for know to the non-plug-in version. So the problem still exist...