fusecon wrote: I tried this mod and either something is missing or it is conflicting with my huminizer and/or other spambot mods.
I ended up changing the mod a bit (moving your messages to the L_ area in the usercp file) and then discovered the error in the profile_add_body.tpl page:
<!-- BEGIN switch_register -->
<tr bgcolor="#FF0000">
<td colspan="2">
<span class="h1" style="color: white">{SPAMBOT_MESSAGE}</span><br /><br />
<span class="gen" style="color: white">{SPAMBOT_MESSAGE_EXPLAIN}</span>
</td>
</tr>
<!-- END switch_register -->
Eventually I just re copy and pasted it and got it to work. Strange. There must have been a bad character in there or something.
-dan
Code: Select all
if ( $mode == 'register' )
{
$template->assign_block_vars('switch_register', array());
Code: Select all
if ( $mode == 'register' )
{
$template->assign_block_vars('switch_register', array());
// Aquí esta el Stop Spambot Registration MOD
$template->assign_vars(array(
'SPAMBOT_MESSAGE' => $lang['Spambot_message'],
'SPAMBOT_MESSAGE_EXPLAIN' => $lang['Spambot_message_explain'])
);
// Aquí termina Stop Spambot Registration MOD
}
HB. wrote:fusecon wrote:I tried this mod and either something is missing or it is conflicting with my huminizer and/or other spambot mods.
I ended up changing the mod a bit (moving your messages to the L_ area in the usercp file) and then discovered the error in the profile_add_body.tpl page:
<!-- BEGIN switch_register -->
<tr bgcolor="#FF0000">
<td colspan="2">
<span class="h1" style="color: white">{SPAMBOT_MESSAGE}</span><br /><br />
<span class="gen" style="color: white">{SPAMBOT_MESSAGE_EXPLAIN}</span>
</td>
</tr>
<!-- END switch_register -->
Eventually I just re copy and pasted it and got it to work. Strange. There must have been a bad character in there or something.
-dan
Do you mind showing the code? I don't have a major problem, but the humanizer field and this warning box shows up twice on the registration screen.
alstro wrote: don't you think that people who makes this botscripts read this stuff in this forum too? and learn how to reg. on forums ?
Code: Select all
Could not delete stale confirm data
SQL Error : 1146 Table 'xxxxxdb.CONFIRM_TABLE' doesn't exist
Line : 1016
File : /path/path/path/includes/usercp_register.php
Code: Select all
Cannot redefine dss_rand()