Hi, no problem. I'm assuming you have figlet installed and working. If so, I have edited the readme.txt that is included in the figlet package linked to in my above post.
Cheers
#
#---------[ 1. UPLOAD ]-------------------------------------------------------
#
figlet.php to ./
Figlet.php to ./figlet/
standard.flf to ./figlet/
#
#---------[ 2. OPEN ]---------------------------------------------------------
#
post.php
#
#---------[ 3. FIND (Line 27) ]---------------------------------------------
#
require PUN_ROOT.'include/common.php';
#
#---------[ 4. After, ADD ]-------------------------------------------------
#
if ($pun_user['is_guest'])
{
require PUN_ROOT.'figlet.php';
}
#
#---------[ 5. FIND (Line 72) ]-------------------------------------------------
#
// Did someone just hit "Submit" or "Preview"?
if (isset($_POST['form_sent']))
{
#
#---------[ 6. After, ADD ]-------------------------------------------------
#
if ($pun_user['is_guest'] && !isset($_POST['preview']))
{
if (!check_figlet ())
{
message ("You have not entered the spam check text correctly. Please try again.");
}
}
#
#---------[ 7. FIND (Line 578) ]-------------------------------------------------
#
<p><input type="submit" name="submit" value="<?php echo $lang_common['Submit'] ?>" tabin
#
#---------[ 8. Before, ADD ]-------------------------------------------------
#
<?php if ($pun_user['is_guest'])
{
print_figlet();
}
?>
#
#---------[ 9. SAVE/UPLOAD ]-------------------------------------------------
#
post.php
#
#---------[ 10. OPEN ]---------------------------------------------------------
#
viewtopic.php
#
#---------[ 11. FIND (Line 27) ]---------------------------------------------
#
require PUN_ROOT.'include/common.php';
#
#---------[ 12. After, ADD ]-------------------------------------------------
#
if ($pun_user['is_guest'])
{
require PUN_ROOT.'figlet.php';
};
#
#---------[ 13. FIND (Line 382) ]---------------------------------------------
#
<p><input type="submit" name="submit" tabindex="2" value="<?php echo $lang_common['Submit'] ?>" accesskey="s" /></p>
#
#---------[ 14. Before, ADD ]-------------------------------------------------
#
<?php if ($pun_user['is_guest'])
{
print_figlet();
}
?>
#
#---------[ 15. SAVE/UPLOAD ]-------------------------------------------------
#
viewtopic.php
#
#---------[ 16. OPEN ]---------------------------------------------------------
#
register.php
#
#---------[ 17. FIND (Line 27) ]---------------------------------------------
#
require PUN_ROOT.'include/common.php';
#
#---------[ 18. After, ADD ]-------------------------------------------------
#
require PUN_ROOT.'figlet.php';
#
#---------[ 19. FIND (Line 175) ]---------------------------------------------
#
$timezone = intval($_POST['timezone']);
#
#---------[ 20. Before, ADD ]-------------------------------------------------
#
// Spam protection with figlet
if (!check_figlet ()) {
message ("Spam protection not passed.");
}
#
#---------[ 21. FIND (Line 398) ]---------------------------------------------
#
<p><input type="submit" name="register" value="<?php echo $lang_register['Register'] ?>" /></p>
#
#---------[ 22. Before, ADD ]-------------------------------------------------
#
<?php print_figlet (); ?
#
#---------[ 23. SAVE/UPLOAD ]-------------------------------------------------
#
register.php
#
#---------[ 24. OPEN ]---------------------------------------------------------
#
figlet.php
#
#---------[ 25. ADJUST (if needed)]---------------------------------------------------------
#
$figlet_secret
$figlet_size
$figlet_file
$figlet_font