Advertisement:

Author Topic: Stop Spammer  (Read 678610 times)

Offline butchs

  • SMF Hero
  • ******
  • Posts: 1,712
  • Lost 7GB bandwidth!
    • EastCoastRollingThunder
Re: Stop Spammer
« Reply #640 on: March 31, 2010, 09:00:34 AM »
The second suggestion about adding spammers data to the cache is a lot more interesting, so I think I will implement this one first as soon as I have some time.

You can use the code I showed you at your site from the iphone mod to implement a cache delay.
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Offline subcor

  • Newbie
  • *
  • Posts: 5
Re: Stop Spammer
« Reply #641 on: March 31, 2010, 02:10:49 PM »
Hi!

I made a Hungarian translation. I don't know what to do with it so I just copy it here:

Code: [Select]
$txt['stopspammer_error'] = 'Hiba történt az Anti SPAM adatbázishoz való kapcsolódáskor.<br />
Kérem próbálja később, vagy vegye fel a kapcsolatot a webmesterrel';
$txt['stopspammer_count'] = 'Ezidáig blokkolt spammerek';
$txt['stopspammer_title'] = 'További tájékoztató keresése a `Stop Forum Spam`-ban';

$txt['stopspammer_enable'] = 'Stop Spammer MOD bekapcsolása/kikapcsolása';
$txt['stopspammer_show01'] = '"További információ" hivatkozás megjelenítése minden felhasználónak';
$txt['stopspammer_show01_sub'] = 'Egyetlen kattintással bármelyik felhasználót le lehet ellenőrizni';

$txt['stopspammer_faildb'] = 'Ha a kapcsolatfelvétel sikertelen az Anti SPAM adatbázissal...';
$txt['stopspammer_fail01'] = 'Hibaüzenet megjelenítése és regisztrációs megállítása';
$txt['stopspammer_fail02'] = 'Azonnali regisztráció engedélyezése';
$txt['stopspammer_fail03'] = 'Member Approval and show icon for check';
$txt['stopspammer_faildb1_sub'] = 'A szolgáltatója képes távoli kapcsolatot létesíteni a adatbázissal';
$txt['stopspammer_faildb2_sub'] = 'A szolgáltatója nem tudott távoli kapcsolatot létesíteni a adatbázissal, próbálkozzon később<br />
Ha a hiba továbbra is fennáll nézzen körül a támogatási topikban ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'Nem spammer: Ez az adat nem szerepelt a adatbázisban, de ellenőrizheti';
$txt['stopspammer_leyd02'] = 'Gyanús: Ezt a felhasználót nem sikerült ellenőrizni. Újraellenőrzés';
$txt['stopspammer_leyd03'] = 'Spammerek: Nézze meg ezen spammerek részletes leírását a tevékenységükről';

$txt['stopspammer_profilecheck'] = 'Ezen felhasználó ellenőrzése';
$txt['stopspammer_limitexceded'] = 'Meghaladta az ellenőrzési korlátot (5000 API lekérdezés naponta).<br />
Várjon holnapig és próbálja újra.';

$txt['in_stop_forum_spam'] = 'Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Ezen felhasználók ellenőrzése';
$txt['spammers_report'] = 'Ezen felhasználók bejelentése';
$txt['confirm_spammers_checks'] = 'Biztosan ellenőrizni kívánja a kijelölt felhasználókat?';
$txt['confirm_spammers_report'] = 'Biztosan jelenteni kívánja a kijelölt felhasználókat?\n\n
Vegye figyelembe, hogy ha bejelent egy felhasználót az SFS felé, akkor spammerként fog szerepelni az egész világon\n
és nem tud majd semmilyen SFS-hez kapcsolódó fórumokra regisztrálni.\n\n
Csak akkor jelentse, ha teljesen biztos affelől, hogy spammer az illető.\n
Amennyiben tévedés történt, kérem jelezze a mod készítőjének, hogy javítsa az SFS adatbázisában a hibát.';

Offline Vincent Volmer

  • Jr. Member
  • **
  • Posts: 214
  • Gender: Male
  • SMF2.0.15
    • digiscrapdigitaalscrappen on Facebook
    • @Digiscrap_NL on Twitter
    • Digiscrap Digitaal scrappen
Re: Stop Spammer
« Reply #642 on: April 06, 2010, 10:41:54 AM »
Hello,

After installing on RC3 (emulated RC2) I get some errors in the log, all errors are the same:

Code: [Select]
URL http://digiscrap.nl/index.php?action=profile;u=1
8: Undefined index: stopspammer_profilecheck
File: ../Sources/Profile.php
Line: 357

The text string: $txt['stopspammer_profilecheck'] = 'Controleer dit lid'; is present in Modifications.dutch.php

For the rest all is working fine!!

Vincent


Offline EdwinK

  • Jr. Member
  • **
  • Posts: 370
  • Gender: Male
  • Free is always better
Re: Stop Spammer
« Reply #643 on: April 07, 2010, 05:53:46 PM »
I hope a RC3 version will be ready soonish.

Offline Skoen

  • Language Moderator
  • SMF Friend
  • Sr. Member
  • *
  • Posts: 872
  • Gender: Male
  • I'm a shoe, so don't step on me ;)
    • Radio 3 Norge
Re: Stop Spammer
« Reply #644 on: April 13, 2010, 12:02:37 AM »
Hi.
I've made a Norwegian translation.
Here it is:

Quote
$txt['stopspammer_error'] = 'Feil ved Anti SPAM DB. Tilkobling feilet.<br />
Prøv igjen senere eller kontakt webmaster';
$txt['stopspammer_count'] = 'Blokkerte spammere frem til i dag';
$txt['stopspammer_title'] = 'F&aring; mer informasjon hos `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Aktiver/Deaktiver MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Vis link "Mer info" til alle medlemmer';
$txt['stopspammer_show01_sub'] = 'Du kan velge medlemmer ved &aring; klikke en gang p&aring; de';

$txt['stopspammer_faildb'] = 'Dersom tilkoblingen feiler til Anti SPAM DB...';
$txt['stopspammer_fail01'] = 'Vis feilmelding og stopp registering';
$txt['stopspammer_fail02'] = 'Tillat &oslash;yeblikkelig registrering';
$txt['stopspammer_fail03'] = 'Medlemmer m&aring; godkjennes og vis gult ikon for en senere sjekk';
$txt['stopspammer_faildb1_sub'] = 'Din vert kan koble eksternt til databasen';
$txt['stopspammer_faildb2_sub'] = 'Din vert klarte ikke &aring; koble til databasen. Pr&oslash;v igjen senere.<br />
Dersom denne feilen ikke l&oslash;ses, sjekk Supportemne og s&oslash;k ';
Alf Otto 'Skoen' Fagermo
Retired Norwegian translator


Offline Vincent Volmer

  • Jr. Member
  • **
  • Posts: 214
  • Gender: Male
  • SMF2.0.15
    • digiscrapdigitaalscrappen on Facebook
    • @Digiscrap_NL on Twitter
    • Digiscrap Digitaal scrappen
Re: Stop Spammer
« Reply #645 on: April 13, 2010, 12:53:36 AM »
Hello,

After installing on RC3 (emulated RC2) I get some errors in the log, all errors are the same:

Code: [Select]
URL http://digiscrap.nl/index.php?action=profile;u=1
8: Undefined index: stopspammer_profilecheck
File: ../Sources/Profile.php
Line: 357

The text string: $txt['stopspammer_profilecheck'] = 'Controleer dit lid'; is present in Modifications.dutch.php

For the rest all is working fine!!

Vincent



Error is gone after removing the SimpleSEF mod. With Pretty URLs all is working fine!

VIncent

Offline Storman™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,027
Re: Stop Spammer
« Reply #646 on: April 13, 2010, 02:58:11 PM »
Hi

Just installed this mod and it's pretty impressive so far, however I've got two issues:

1. Getting an error message as below in the Forum Error log:

8: Undefined index: types
File: /var/www/vhosts/mysite.com/httpdocs/forum/Sources/ManageMembers.php
Line: 381


2. Secondly, I've had a few rouge registrations that are listed at stopforumspam.com etc. However, the mod doesn't seem to pick them up at the registration stage. If I manually check the user then it picks them up no problem and highlights them accordingly. Am I missing something here ?

Using SMF 1.1.11

Cheers  ;)
Any Backup method is bettter than no Backup method....

Offline EcF

  • Semi-Newbie
  • *
  • Posts: 10
Re: Stop Spammer
« Reply #647 on: April 14, 2010, 05:42:12 PM »
I installed Stop Spammer, and a few things happened:

1. I tried to Check Member and got an error page
2. I clicked the "Members" link and got this
Fatal error: require_once() [function.require]: Failed opening required '/home/ecfhq/public_html/forums/Sources/StopSpammer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ecfhq/public_html/forums/Sources/ManageMembers.php on line 95

So I tried uninstalling the mod and it still gives me the message.

Can anyone help please?


I reinstalled it and got this message:

Template Parse Error!
There was a problem loading the /Themes/default/ManageMembers.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected ',' in .../Themes/default/ManageMembers.template.php on line 92

83:          ', (!$modSettings['stopspammer_enable'] ? '' : '<tr class="titlebg">
84:             <td colspan="8">
85:                <div style="margin: auto" class="leyend_stopspammer">
86:                   <img src="' . $settings['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
87:                   <img src="' . $settings['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />
88:                   <img src="' . $settings['default_images_url'] . '/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd03'] . '<br />
89:                </div>
90:             </td>
91:          </tr>

92:          ', (!$modSettings['stopspammer_enable'] ? '' : '<tr class="titlebg">

93:             <td colspan="8">
94:                <div style="margin: auto" class="leyend_stopspammer">
95:                   <img src="' . $settings['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
96:                   <img src="' . $settings['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />


Offline Wizzlefits

  • Jr. Member
  • **
  • Posts: 115
  • Gender: Male
  • Don't ask! I have NO idea!
    • The Bloody Blog
Re: Stop Spammer
« Reply #648 on: April 14, 2010, 08:21:57 PM »
EcF...
It looks like the script was doubled and not in it's entirety. Or just corrupt.

Anyway it should look like this....
Code: [Select]
else
echo '
<td class="windowbg"></td>';
echo '
</tr>';
}
echo '
', (!$modSettings['stopspammer_enable'] ? '' : '<tr class="titlebg">
<td colspan="8">
<div style="margin: auto" class="leyend_stopspammer">
<img src="' . $settings['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
<img src="' . $settings['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />
<img src="' . $settings['default_images_url'] . '/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd03'] . '<br />
</div>
</td>
</tr>
<tr>
<td class="windowbg2" align="right" colspan="8">
<label>' . $txt['in_stop_forum_spam'] . '</label>
<input type="submit" name="spammers_checks" value="' . $txt['spammers_checks'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_checks'] . '\');" />
<input type="submit" name="spammers_report" value="' . $txt['spammers_report'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_report'] . '\');" />
</td>
</tr>'), '
<tr>
<td class="windowbg2" align="right" colspan="8">', $context['can_delete_members'] ? '
<input type="submit" name="delete_members" value="' . $txt[608] . '" onclick="return confirm(\'' . $txt['confirm_delete_members'] . '\');" />' : '', '
<input type="hidden" name="sc" value="', $context['session_id'], '" />
<input type="hidden" name="sort" value="', $context['sort_by'], '" />
<input type="hidden" name="start" value="', $context['start'], '" />', $context['sort_direction'] == 'up' ? '
<input type="hidden" name="desc" value="1" />' : '', '
</td>
</tr>';
}
echo '
</table>
</form>';
}

function template_search_members()

I copied a few extra lines 76 to 114 so you can see the whole thing, in case something else is missing in that area.

Offline flutter

  • Jr. Member
  • **
  • Posts: 225
Re: Stop Spammer
« Reply #649 on: April 14, 2010, 08:31:05 PM »
Just wondering.  There is a feature to remind members when they have not activated, the choice is remind and sen email and when you delete it's delete and send email.  What do these emails say?  Where do I find them and can I edit them?

Offline Wizzlefits

  • Jr. Member
  • **
  • Posts: 115
  • Gender: Male
  • Don't ask! I have NO idea!
    • The Bloody Blog
Re: Stop Spammer
« Reply #650 on: April 14, 2010, 08:58:40 PM »
Just wondering.  There is a feature to remind members when they have not activated, the choice is remind and sen email and when you delete it's delete and send email.  What do these emails say?  Where do I find them and can I edit them?

You can find it in "Themes/default/languages/ManageMembers.english.php" down at the bottom.

Offline EcF

  • Semi-Newbie
  • *
  • Posts: 10
Re: Stop Spammer
« Reply #651 on: April 14, 2010, 09:14:19 PM »
where should I place this script?

Offline Wizzlefits

  • Jr. Member
  • **
  • Posts: 115
  • Gender: Male
  • Don't ask! I have NO idea!
    • The Bloody Blog
Re: Stop Spammer
« Reply #652 on: April 14, 2010, 09:25:26 PM »
where should I place this script?

Attached is the whole file.

Offline EcF

  • Semi-Newbie
  • *
  • Posts: 10
Re: Stop Spammer
« Reply #653 on: April 14, 2010, 10:04:29 PM »
I'm sorry, do I place this in the Sources folder and remove the template name or what? Thanks for your help.

Offline EcF

  • Semi-Newbie
  • *
  • Posts: 10
Re: Stop Spammer
« Reply #654 on: April 14, 2010, 10:14:30 PM »
I get this message: Unable to load the 'main' template.

Offline Wizzlefits

  • Jr. Member
  • **
  • Posts: 115
  • Gender: Male
  • Don't ask! I have NO idea!
    • The Bloody Blog
Re: Stop Spammer
« Reply #655 on: April 14, 2010, 10:26:56 PM »
I'm sorry, do I place this in the Sources folder and remove the template name or what? Thanks for your help.

Just replace the one in "Themes/default/ManageMembers.template.php" with the one attached above.
Leave Sources/ManageMembers.php alone.
The problem is messed up code in "Themes/default/ManageMembers.template.php".
Simply put....
Sources/ManageMembers.php can not read the corrupt code in "Themes/default/ManageMembers.template.php"

Hope that makes sense. or is that cents? LOL!

Offline EcF

  • Semi-Newbie
  • *
  • Posts: 10
Re: Stop Spammer
« Reply #656 on: April 15, 2010, 09:30:53 AM »
Thanks..

Offline Storman™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,027
Re: Stop Spammer
« Reply #657 on: April 15, 2010, 12:48:47 PM »
Quote
Secondly, I've had a few rouge registrations that are listed at stopforumspam.com etc. However, the mod doesn't seem to pick them up at the registration stage. If I manually check the user then it picks them up no problem and highlights them accordingly. Am I missing something here ?

Just wondered if anyone has any info on my question above. As mentioned, it doesn't seem to pick up dodgy members at the registration stage. yet if I run a "check" they are highlighted. Just wondered if I've missed understood how it works ? I thought it would pick them up at the registration stage and then mark them "for approval" ? That doesn't seem to be happening...  ???
Any Backup method is bettter than no Backup method....

Offline Robert A. Rosenberg

  • Semi-Newbie
  • *
  • Posts: 29
  • Gender: Male
Re: Stop Spammer
« Reply #658 on: April 17, 2010, 03:04:36 PM »
Quote
Secondly, I've had a few rouge registrations that are listed at stopforumspam.com etc. However, the mod doesn't seem to pick them up at the registration stage. If I manually check the user then it picks them up no problem and highlights them accordingly. Am I missing something here ?

Just wondered if anyone has any info on my question above. As mentioned, it doesn't seem to pick up dodgy members at the registration stage. yet if I run a "check" they are highlighted. Just wondered if I've missed understood how it works ? I thought it would pick them up at the registration stage and then mark them "for approval" ? That doesn't seem to be happening...  ???


While I can not help you with the issue of why the rogue user is not caught at registration time yet is immediately caught if you then select it for a recheck, this does raise an issue where I have with a feature I would like to see.

There are times when if I do the check at registration (or a recheck) I get a false positive on something like Username. In my case, I have a Dave where I get a Red Icon for the entry although the Email Address and IPN is not flagged.

It would be useful, if when I get an entry like this if I could flag it to say "Ignore this match on this field for this entry." This would still check the IPN and Email Address but NOT the Username for the entry on a recheck. Right now, the entry loses its authorization and must have it reissued.

Addition of this feature would allow periodical rechecks to catch entries that were OK at registration but went rogue after that (ie: Was not in the database at registration but now are). This would, I assume, require an additional flag for the entry which would be inspected at check time (if an entry is going to be marked bad) so this match can be overridden and the entry is left as good.

Offline smartdeviceresource

  • Jr. Member
  • **
  • Posts: 133
    • Smart Device Resource
Re: Stop Spammer
« Reply #659 on: April 19, 2010, 07:10:18 PM »
My guess is that they got through reg and then were flagged, because they were not in the SFS database until just then.  Check the date next to the users name at http://www.stopforumspam.com/ and I bet the date is later than there signup
after some thought, i've learned to be humble and leave the answering to the experts, until i too am an expert.  sorry to anyone who I've confused, with my answers