Page 1 of 1
..Increase the size of the box the security code box?
Posted: Fri Apr 20, 2007 1:35 am
by Popparod
http://www.afbawindgap.org/mboard/mboard.php
...Hi...!
...it's me again....sorry to bother you...
...is there a way to increase the size of the box the security code is in..?
......and put it directly over the input box...?
....Oh yeah...
....My mail works on both gBook an mBoard...
....Thanks for all your help....
...................................Rodney...............
Posted: Fri Apr 20, 2007 9:18 am
by Klemen
The easiest way (without having to change any of the image PHP code) is to open mboard.php in Notepad, find
Code: Select all
<img src="print_sec_img.php" width="100" height="20" alt="Security image" border="1">
and change width to 200 and height 40. The numbers might not be as smooth but should do the job.
width="100" height="20"
Posted: Fri Apr 20, 2007 9:33 pm
by Popparod
....Thanks....
Posted: Mon Jan 07, 2008 2:38 am
by perthmetro
Try this if you have the number as text only...
place these tags in the
style.css file
p.secnumber {
text-align:right;
padding-right:500px;
margin-bottom:-15px;
}
input.security {
font-size: 25px;
font-weight:bold;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
color:#000000;
background-color:#FFFFFF;
}
Then add this code
Code: Select all
<p class="secnumber">Security number:
<b><font size="20px"><?php
if ($settings['autosubmit']==1) {
echo '<img src="print_sec_img.php" width="200" height="40" alt="Security image" border="1">';
} elseif ($settings['autosubmit']==2) {
echo $_SESSION['secnum'];
}
?>
</font></b>
</p>
<p class="secnumber">confirm above number:
<input class="security" type="text" size="7" name="secnumber" maxlength="5"></p>
<p>
<?php
foreach ($_POST as $k=>$v) {
if ($k == 'secnumber') {continue;}
echo '<input type="hidden" name="'.htmlspecialchars($k).'" value="'.htmlspecialchars(stripslashes($v)).'">';
}
?>
</p>
<p class="secnumber"><input class="security" type="submit" value=" Continue "></p>
</form>
</td>
</tr>
</table>
<p> </p>
<p> </p>
<?php
printDownHTML();
exit();
}
between:
Code: Select all
<p>This is a security check that prevents automated signups of this forum (SPAM).
Please enter the security number displayed below into the input field and click
the continue button.</p>
and this
Code: Select all
function JunkMark($email,$comments) {