Pagina 1 din 2
Cont Nou
Scris: 29-Sep-2004, 23:22:06
de george
Salut
La creearea contului , dupa ce dau click pe linku ala cu am peste 13 ani , imi apare formularul ce trebe completat
La " Verificare anti-roboti:" nu imi apare imaginea care presupun ca ar trebui sa contina litere sau cifre sa pe amadoua...
imi apar 5 casute cu cate un X roshu pe ele
Ce pot sa-i fac ??
Multumesc !
Scris: 30-Sep-2004, 00:41:31
de BuGsY
Imaginile (literele) trebuies urcate pe server în locaţia /images/anti_robotic_reg/
Verifică dacă sunt, verifică atribuţiile (dacă pot fi citite) şi nu în ultimul rând dă refresh la pagină.
Scris: 30-Sep-2004, 01:10:49
de george
ok am verificat si am pe server poze cu litere in locatia data de tine
acest MOD nu are si un panou de configurare ??
despre ce atributii vorbesti ??
Scris: 30-Sep-2004, 13:51:59
de flowers
Atributii: imaginile din directorul anti_robotic_reg sa aiba drept de read. Pentru asta poti simplu sa intri cu Internet Explorer la adresa ftp://... si sa dai click dreapta -> Properties pe folder sau la fel cu clienti ftp.
Scris: 30-Sep-2004, 22:11:14
de george
asa am facut
am verificat si la Owner , Group si All Uers sunt bifate casutele cu Read
la casutele cu Write e bifat doar la Owner
iar la Execute sunt bifate la lafel ca la Read
in concluzie eu zic ca e bine asa
ce mai poate fi ??
Scris: 30-Sep-2004, 22:13:44
de george
daca vrei sa vezi forumul e la
http://fibra.3x.ro
ma gandeam daca pot sa scot chestia aia cu verificare anti-roboti si cum sa fac sa o scot
poate imi da vreo idee mjr ca doar e forumul modificat de el......
Scris: 01-Oct-2004, 10:54:59
de flowers
Cauti MOD-ul Anti Robotic Register Flood si incerci sa-l dezinstalezi (urmezi eventual pasii invers ca la instalare). Vezi daca au fost facute modificari si in Baza de Date, nu numai in fisiere. Bafta!
Scris: 01-Oct-2004, 17:24:36
de george
Cauti MOD-ul Anti Robotic Register Flood si incerci sa-l dezinstalezi (urmezi eventual pasii invers ca la instalare). Vezi daca au fost facute modificari si in Baza de Date, nu numai in fisiere. Bafta!
flowers nu ma bag tata sa fac asta..... in primul rand am vrut sa instalez MOD-ul asta pe alt forum... si am reusit sa-l stric
deci daca nu am fost in stare sa-l instalez...... garantez ca nu voi fi in stare nici sa-l dezinstalez... asa de capul meu..
astept o idee de la mjr cu privire la aceasta problema... ori sa-mi spuna ce ar mai putea fi de facut sa se vada pozele alea , sau cum sa scot MOD-ul din forum...
Toate cele bune !
Scris: 01-Oct-2004, 18:01:34
de MJR
am verificat si eu acest lucru pe 3x.ro si nici la mine nu apar pozele. cred ca este o problema legata de configurarea serverului 3x.ro. altfel nu stiu dc nu ar aparea. poti sa testezi acest
DEMO si ai sa vezi ca totul merge perfect.
totusi, daca vrei sa dezinstalezi acest MOD, urmeaza urmatoarele instructiuni:
Cod: Selectaţi tot
#
#-----[ DESCHIDE ]--------------------------------------------
#
includes/constants.php
#
#-----[ CAUTA SI STERGE ]--------------------------------------------
#
// Anti Robotic Register
define('ANTI_ROBOT_TABLE', $table_prefix.'anti_robotic_reg');
#
#-----[ DESCHIDE ]--------------------------------------------
#
templates/fisubtext/profile_add_body.tpl
#
#-----[ CAUTA SI STERGE ]--------------------------------------
#
<!-- BEGIN switch_validation -->
<tr>
<td class="catSides" colspan="2" height="28">&</td>
</tr>
<tr>
<th class="thSides" colspan="2" height="12" valign="middle">{L_VALIDATION}</th>
</tr>
<tr>
<td class="row1" valign="top"><span class="gen">{L_VALIDATION}:<br /></span><span class="gensmall">{L_VALIDATION_EXPLAIN}</span></td>
<td class="row2" align="center"><span class="gen"><img src="{S_ANTI_ROBOT1}" alt="" border="0"><img src="{S_ANTI_ROBOT2}" alt="" border="0"><img src="{S_ANTI_ROBOT3}" alt="" border="0"><img src="{S_ANTI_ROBOT4}" alt="" border="0"><img src="{S_ANTI_ROBOT5}" alt="" border="0"><br /><br /><input type="text" name="reg_key" maxlength="5" size="6"></span></td>
</tr>
<!-- END switch_validation -->
#
#-----[ DESCHIDE ]--------------------------------------------
#
language/lang_romanian/lang_main.php
#
#-----[ CAUTA SI STERGE ]-------------------------------------
#
// Anti Robotic Registration
$lang['Wrong_reg_key'] = 'Eroare - Verificare anti-roboti';
$lang['Validation'] = 'Verificare anti-roboti';
$lang['Validation_explain'] = 'Pentru a evita inregistrarile automate (facute cu diverse programe) va rugam sa introduceti in casuta din dreapta, literele si cifrele din imaginea alaturata.';
#
#-----[ DESCHIDE ]--------------------------------------------
#
includes/usercp_register.php
#
#-----[ CAUTA SI STERGE ]--------------------------------------
#
function gen_reg_key()
{
$key = "";
$max_length_reg_key = 5;
$chars = array(
"a","b","c","d","e","f","g","h","i","j","k","l","m",
"n","o","p","q","r","s","t","u","v","w","x","y","z");
$count = count($chars) - 1;
srand((double)microtime()*1000000);
for($i = 0; $i < $max_length_reg_key; $i++)
{
$key .= $chars[rand(0, $count)];
}
return($key);
}
#
#-----[ CAUTA SI STERGE ]--------------------------------------
#
//
// Anti Robotic Registration
//
$sql = "SELECT * FROM " . ANTI_ROBOT_TABLE . " WHERE session_id = '" . $userdata['session_id'] . "' LIMIT 1";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not obtain registration information', '', __LINE__, __FILE__, $sql);
}
$anti_robot_row = $db->sql_fetchrow($result);
if (( strtolower($HTTP_POST_VARS['reg_key']) != $anti_robot_row['reg_key'] ) or ($anti_robot_row['reg_key'] == ''))
{
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Wrong_reg_key'];
}
else
{
$sql = "DELETE FROM " . ANTI_ROBOT_TABLE . " WHERE session_id = '" . $userdata['session_id'] . "'";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not check registration information', '', __LINE__, __FILE__, $sql);
}
}
// --------------------------
//
#
#-----[ CAUTA SI STERGE ]-------------------------------------
#
//
// Anti Robotic Registration
//
if ($mode == 'register')
{
$sql = "DELETE FROM " . ANTI_ROBOT_TABLE . " WHERE timestamp < '" . (time() - 3600) . "' OR session_id = '" . $userdata['session_id'] . "'";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not obtain registration information', '', __LINE__, __FILE__, $sql);
}
$reg_key = gen_reg_key();
$sql = "INSERT INTO ". ANTI_ROBOT_TABLE . " VALUES ('" . $userdata['session_id'] . "', '" . $reg_key . "', '" . time() . "')";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not check registration information', '', __LINE__, __FILE__, $sql);
}
}
//-----------------------
//
#
#-----[ CAUTA SI STERGE ]--------------------------------------
#
// Anti Robotic Registration MOD
'L_VALIDATION' => $lang['Validation'],
'L_VALIDATION_EXPLAIN' => $lang['Validation_explain'],
'S_ANTI_ROBOT1' => append_sid('antirobot_pic.'.$phpEx.'?id=1'),
'S_ANTI_ROBOT2' => append_sid('antirobot_pic.'.$phpEx.'?id=2'),
'S_ANTI_ROBOT3' => append_sid('antirobot_pic.'.$phpEx.'?id=3'),
'S_ANTI_ROBOT4' => append_sid('antirobot_pic.'.$phpEx.'?id=4'),
'S_ANTI_ROBOT5' => append_sid('antirobot_pic.'.$phpEx.'?id=5'),
#
#-----[ CAUTA SI STERGE ]--------------------------------------
#
else
{
$template->assign_block_vars('switch_validation', array() );
}
#
#-----[ SQL ]---------------------------------------------
#
Sterge tabelul: phpbb_anti_robotic_reg (din phpmyadmin)
Sterge de pe server:
/antirobot_pic.php
/images/anti_robotic_reg/ (tot folderul)
Scris: 01-Oct-2004, 20:12:08
de george
iti multumesc MJR

am rezolvat si forumul meu merge ok
si mai am si eu o intrebare la tine ... ca doar e modificat de tine
crezi ca daca incerc sa restaurez o baza de date salvata de pe un forum normal ( adica v 2.0.10 ) , pe forumul modificat de tine , imi va reusi ??
sau e posibil sa-l trantesc ??