rubenski wrote: There is one thing I would like to know still: where can I set the "registration attempts for this session" value?
Code: Select all
$sql = 'SELECT COUNT(session_id) AS attempts
FROM ' . CONFIRM_TABLE . "
WHERE session_id = '" . $userdata['session_id'] . "'";
if (!($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, 'Could not obtain confirm code count', '', __LINE__, __FILE__, $sql);
}
if ($row = $db->sql_fetchrow($result))
{
if ($row['attempts'] > 3)
{
message_die(GENERAL_MESSAGE, $lang['Too_many_registers']);
}
}
$db->sql_freeresult($result);
JuggoPop wrote: I got this installed, but I get a broken image for the Visual Confirmation...
boon.cc wrote: What is this???
Sorry for asking but I dont undestand well.
ycl6 wrote: So what is Visual Confirmation:
Quote from contrib/README.html
Visual Confirmation System
Author: psoTFX
Unfortunately there are people "out there" who have nothing better to do than cause other people trouble. Even worse are groups that write applications which cause problems. One very annoying (and pointless) way in which people can cause you trouble is by mass registering users. This Mod, back-ported from the forthcoming phpBB 2.2 helps eliminate or reduce this problem. It generates a random series of six alphanumeric characters as a png image. The user must then input these characters before they can register a new user. Should they fail three times in a row they will be locked out for the rest of that session
boon.cc wrote: Where can I download this MOD ???
ycl6 wrote:Code: Select all
############################################################## ## Author Notes: ## This is only the installation guide, ## the actually author for Visual Confirmation MOD is phpBB Group ## ## The original Visual Confirmation files can be found in ## contrib/visual_confirmation.zip ## ## includes/usercp_confirm.php can be found after you unzip ## contrib/visual_confirmation.zip ## ## * from phpBB 2.0.6 onwards, this code should have been added ## ##############################################################