Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Captcha on Post
#2
This tip will force Captcha to the new users having the post count below 5 posts.

Open the following files;
./showthread.php line 1052
./newreply.php line 438 and 1030
./newthread.php line 370 and 881;

Search for;
if($mybb->settings['captchaimage'] == 1 && function_exists("imagepng") && !$mybb->user['uid'])

and Change it into;

if($mybb->settings['captchaimage'] == 1 && function_exists("imagepng") && (!$mybb->user['uid'] || $mybb->user['postnum'] < 5))

Change the 5 the the number of posts you want to check against.


Messages In This Thread
Captcha on Post - by high105 - 2012-04-19, 02:28 AM
RE: Captcha on Post - by Yaldaram - 2012-04-19, 07:22 AM
RE: Captcha on Post - by SunDi3yansyah - 2013-02-26, 02:05 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)