It works, but i have edited in themes.inc.php
After reading this topic, i checked sample theme.php version and there is indeed same code.
The problem that i use igames theme. The theme.php has no function and template input code inside.
I must copy both codes from /sample/theme.php.
First part is template part, found at row 813-867.
copy to theme/theme.php, then add the code what is written in the first topic post.
<!-- begin captcha mod -->
<tr>
<td class="tableb_compact" colspan="2">
{CONFIRM}
</td>
<td class="tableb_compact" colspan="2">
<input type="text" name="confirmCode" size="5" class="textinput"> <img src="captcha.php" align="middle">
</td>
</tr>
<!-- end captcha mod -->
behind code
<!-- END input_box_no_smilies -->
<td class="tableb_compact">
<input type="hidden" name="event" value="comment" />
<input type="hidden" name="pid" value="{PIC_ID}" />
<input type="submit" class="comment_button" name="submit" value="{OK}" />
</td>
</tr>
The <!-- xxx --> are just for marking new mods.
Second part, function part, is found at row 2248-2356. Copy whole part to your theme/theme.php, below the code.
Add after
'{COMMENT}' => $lang_display_comments['comment'],
the code
'{CONFIRM}' => $lang_display_comments['confirm'],
You may place both parts below own theme/theme.php without troubles.
The code for db_input.php is found by row 113: case 'comment':
The code for language file is found:
- by 'non_exist_comment' around row 101 (remove the comma because it's last string in array!)
(there are TWO 'non_exist_comment' codes, at row 90 and 101......
Forgot to remove it?)
- by 'report_comment_title' around row 1033 or 1034 after adding code, remove also comma.
You may copy same code in another language files and translate it in your language.
I use Dreamweaver to edit the php files without troubles. Even for Dutch language file.
Alle files are from version 1.4.10, but igames theme is perhaps added.
Actually, if you're good with php, you can also copy code from theme.inc.php because it's same code, but don't copy function_exist part, but only between {} in if function_exists code.