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

I used the figlet mod at http://www.punres.org/files.php?pid=395 and modified it for guest posts only. It's been working really well. No spam since installing it.

bstudents.ca

Yeah, well, that captcha 1.0.5 was a bit rough around the edges so I dropped that and modified figlet slightly so that it is only enabled for guest posts and registering.

I've installed this mod and it's clever and simple. However, it's a bit rough around the edges. For instance when you fail the captcha the page is redirected and the user loses what they have typed when they go back. I'm wondering if there is a version out there that has been cleaned up so essentially all the functions that are called on the 'submit' or 'register' buttons on the unmodified version are called with the captcha. Ideally the captcha gif would just be a clean substitute for the buttons. Or is this the final version that's out there?

Cheers

mbabuzz.ca

5

(4 replies, posted in PunBB 1.2 troubleshooting)

Ok thanks. I suppose at this stage if it was a bug it would have been addressed by now. I am using IE 7 with tabs.

Cheers

6

(4 replies, posted in PunBB 1.2 troubleshooting)

Hi, yes, thanks, that cleared up the problem.

I came to my site this morning and some of yesterday's posts had todays date. It all straightened out once I cleared the cache. Of course, I don't want to have my users clear their cache. Is there a fix for this that you know of?

I've just installed PunBB 1.2.17. Very impressed by the speed and minimal package. It's nice to have so few tables to deal with.

However, today I created a user as a moderator, just 1 moderator at that point. Then I logged in later under the adminstrator account but when I click the Administration link at the top menu the moderator account is displayed with 4 menu options to the left (censoring, reports, index, users) and not the settings for the account I logged in under. Yet, when I click reports, I'm taken to the adminstrator settings and have the full menu on the left. When I click, user list, index, or rules at the top menu I am logged out. It seems that that users have been crossed.

I deleted the moderator account, confirmed it no longer exists in the user table, yet the problem is still occuring.

In other words, when I log in under the adminstrator account and click around, sometimes it displays the  deleted account settings and other times the admin account settings.

Any suggestions on clearing this up?

Cheers