News:

Join the Facebook Fan Page.

Main Menu

Stop Spammer

Started by M-DVD, December 31, 2008, 07:31:43 AM

Previous topic - Next topic

chase78

Hi,

After uninstalling Stop Spammer I cannot view members.

---
At the Members link under the Admin panel, at View all Members, Awaiting Approval and Awaiting Activation, I get this error:

Fatal error: Call to undefined function sprintfspamer() in /home/singthai/public_html/forums/Sources/Load.php(1738) : eval()'d code on line 54

---

I was told to look into ManageMembers.template.php and found

   if (empty($context['members']))
      echo '
         <tr class="windowbg2">
            <td colspan="6" align="center">', $context['browse_type'] == 'approve' ? $txt['admin_browse_no_members_approval'] : $txt['admin_browse_no_members_activate'], '</td>
         </tr>';
   else
   {
      foreach ($context['members'] as $member)
         echo '
         <tr>
            <td class="windowbg2" width="5%">', $member['id'], '</td>
            <td class="windowbg2">
               ', sprintfspamer($member, $member['href'], 'username', 2), '
            </td>
            <td class="windowbg">
               ', sprintfspamer($member, 'mailto:' . $member['email'], 'email', 3), '
            </td>
            <td class="windowbg2">
               ', sprintfspamer($member, $scripturl . '?action=trackip;searchip=' . $member['ip'], 'ip', 1), '
            </td>
            <td class="windowbg">', $member['dateRegistered'], '</td>
            <td class="windowbg" width="5%">
               <input type="checkbox" value="', $member['id'], '" name="todoAction[]" class="check" />
            </td>
         </tr>';

      echo '
         ', (!$modSettings['stopspammer_enable'] ? '' : '<tr class="titlebg">
            <td align="center" colspan="6">' . $modSettings['stopspammer_count'] . ' ' . $txt['stopspammer_count'] . '</td>
         </tr>
         <tr class="titlebg">
            <td colspan="6">
               <div style="width: 60%; 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>'), '

Any thoughts on how to reverse the changes?

I tried parsing the Stop Spammer mod page for changes to version 1.1.11 but there is no parsing to see the changes made.

Thanks!

snoopy_virtual

Quote from: chase78 on March 13, 2010, 01:58:47 AM
Hi,

After uninstalling Stop Spammer I cannot view members.

---
At the Members link under the Admin panel, at View all Members, Awaiting Approval and Awaiting Activation, I get this error:

Fatal error: Call to undefined function sprintfspamer() in /home/singthai/public_html/forums/Sources/Load.php(1738) : eval()'d code on line 54

---

I was told to look into ManageMembers.template.php and found

... etc ...

Any thoughts on how to reverse the changes?

I tried parsing the Stop Spammer mod page for changes to version 1.1.11 but there is no parsing to see the changes made.

Thanks!

The list of all the changes you need to do to reverse the installation manually is too long and depend on exactly what version of the mod you had installed.

So, first of all a few questions:

What version of the mod you had installed?

The file ManageMembers.template.php you are talking about is the one inside your /Themes/default/ folder or inside /Themes/your_particular_template/ folder?

Normally when you uninstall this mod all the needed changes inside the /Themes/default/ folder are automatic and you get a warning error message if they cannot be completed.

Did you get any warning error messages during uninstall?




If you answer those 3 questions I can give you the full list of changes the mod did when you installed it. Anyway, you can find that list if you open the files:
package-info.xml
languages.xml
install_1.xml
install_1.php
inside the mod's zip file you installed.

Of course, if the file giving you problems is just /Themes/default/ManageMembers.template.php the fastest solution will be to get the original one from the SMF 1.1.11 packages and overwrite the one you have now, but you cannot do that if you have any other mod which may have change that file as well, because this other mod will stop working.




Thinking about it I just realized the list of changes is so long that it will be a lot more quicker for me to do them myself than trying to write them here, so another solution will be to send me your ManageMembers.template.php file by email and I will clean it myself and send it back to you.

In case you cannot see my address in my profile it's: info at snoopyvirtualstudio dot com

Whatever you decide I'll wait for your answer.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

Eclipse16V

Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
I worked with:
SMF 2 in German

Shop:
SID Giessen

snoopy_virtual

Quote from: Eclipse16V on March 15, 2010, 01:38:17 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks

Sorry, I thought somebody said it was already compatible with RC3.

But if it's not, I will try to update it as soon as I have some spare time.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

~DS~

Quote from: snoopy_virtual on March 15, 2010, 04:23:12 PM
Quote from: Eclipse16V on March 15, 2010, 01:38:17 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks

Sorry, I thought somebody said it was already compatible with RC3.

But if it's not, I will try to update it as soon as I have some spare time.
Don't mind him, he's spamming
http://www.simplemachines.org/community/index.php?topic=370906.0
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

snoopy_virtual

Quote from: busterone on March 15, 2010, 05:51:49 PM
^^ no worries on the Stop Spammer mod anyway snoopy, it works just fine on RC3.  :)

I knew somebody had said that.

Thanks mate.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

chase78

Quote from: snoopy_virtual on March 14, 2010, 08:57:24 AM

Thinking about it I just realized the list of changes is so long that it will be a lot more quicker for me to do them myself than trying to write them here, so another solution will be to send me your ManageMembers.template.php file by email and I will clean it myself and send it back to you.

In case you cannot see my address in my profile it's: info at snoopyvirtualstudio dot com

Whatever you decide I'll wait for your answer.

Thank you Snoopy Virtual!

I will send you when am at home on the weekend.
Btw nice avatar image.

Thank you for your help!~!~!  8) :) ;)

KensonPlays

Once this is updated to officially support RC3, I will be one mod closer to updating!

Owner of Mesozoic Haven

snoopy_virtual

Quote from: chase78 on March 16, 2010, 10:10:53 PM
...
I will send you when am at home on the weekend.
...

File sent back already cleaned.

Cheers.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

flapjack

both polish translations for the latest revision

snoopy_virtual

#630
Thanks for the translation flapjack. I will add it to the full languages package as soon as I can.


El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

flapjack

sorry for the confusion, I've deleted two already, couldnt upload, maybe it's because my poor connection

snoopy_virtual

It happens sometimes when you upload a file.

The file is uploaded correctly but your browser don't refresh properly and you think is not uploaded.  ;)

Thanks again.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

Vincent Volmer

Hello,

Is this mod updated for SMF2.0RC3?

Thanks,
Vincent

Robert A. Rosenberg

I think that there was a statement up-thread that no change was needed since one of the users had installed it on RC3 and it worked.

Vincent Volmer

Hmmm okay, I installed with emulated RC2.

Works fine as far as I can see.

Thanks,
Vincent

fortexg

Hi, I am new to SMF and need help cleaning a spam-ridden forum.
I was naive in thinking out-of-the-box SMF has some spam protection, which now I know it does not.
I installed my first form about 3 months back and it now has 3600+ users, almost all of them spammers.
I manually deleted the users with most posts/threads (top spammer had ~5000 posts).
The problem is, the bulk "Delete Member" option in "View all members" only deletes the user, not the posts/topics. In order to also delete the posts, you need to manually select each member to view their profile, then select the delete member and delete topics/posts option. After deleting about 50 or so members + posts, I figured to delete the 3000+ spammers this way would take several full-time days of clicking, and this is nonsense.

Anyway, I installed the stop spammer 2.3.7., hoping It has the "bulk delete members + posts/topics" option, but I only found the "delete members" button, which still only deletes members, but not also their posts/topics. And once you delete a member, there seems to be no way to get rid of the posts also (except manually post-by-post).

So, my question is: can "bulk delete members + posts/topics" be done in SMF - either through Stop Spam or otherwise?
If not, could this feature please be added to Stop Spam?

Thanks.
F

fortexg

Hi, using Stop spam for a few days I hit the 5000 API queries/day limit on hxxp:stopforumspam.com [nonactive].

A discussion on their forum suggested cache should be used in applications accessing the spammer database.

Would you please consider adding cache for spammers data to your mod?

Thanks.

snoopy_virtual

@ fortexg

Those 2 suggestions are useful. I will see what can I do about them.

Anyway, the first suggestion (adding something for "bulk delete members + posts/topics") maybe would be better to do it with a separate mod.

I mean: I think it's better if we keep this mod as simple as possible, so it's compatible with as many other mods as possible and almost everybody can use it. To add an option as powerful as this one I will need to change too many lines of code inside SMF and it will not be compatible with a lot of other mods.

The good news is this change you are suggesting won't need to be used all the time, but only the first time you clean a forum, so my idea will be to do a new mod just to clean a forum (with this option to "bulk delete") and then (once the forum is already cleaned) you will be able to use the original mod StopSpammer normally.

This way, the people who cannot use the mod for bulk cleaning a forum (because it's not compatible with other mods they are using) will be able to continue using mod StopSpammer and clean the forums manually, as we have been doing until now.




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.

Thanks for the idea.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

giveaway365.com


Advertisement: