vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Spam Decimator Version 1.0.5 (https://vborg.vbsupport.ru/showthread.php?t=93762)

Yorixz 10-10-2006 06:52 PM

Still hoping a lot for an updated version; an 'undo' feature would be nice, not to mention the wonderful idea of having a link to the userprofile/username in the admin notice email ;)

RaidenDAWG2 10-11-2006 06:16 PM

Version 2's in the works (finally), although it'll be at least December before I'm able to put the necessary time in to get it up and running properly due to schoolwork piling up on me.

I'm hesistant to set a new release date, but by the first of the year, there should be a new version out with more efficient code.

Noodles24 11-19-2006 06:36 AM

It'd be nice to have the option to not send an email to the spammers. I'm not sure if anyone's still maintaining this product so I may have to do it myself.

shadowevil 11-19-2006 09:46 AM

Mod is work for 3.6.x ??
I will install if you can update mod work for 3.6.x :)

CRego3D 11-25-2006 08:38 PM

Quote:

Originally Posted by shadowevil (Post 1120659)
Mod is work for 3.6.x ??
I will install if you can update mod work for 3.6.x :)


on the previous page, somebody says they are using it with 3.6 and workign well

CRego3D 11-25-2006 08:40 PM

Please, can you add an option to allow us to ban people with the same address as the spammer, or at least allow on the results page to pick users with the same adress and ban them there on the spot

Freezerator 11-26-2006 10:41 AM

Quote:

Originally Posted by shadowevil (Post 1120659)
Mod is work for 3.6.x ??
I will install if you can update mod work for 3.6.x :)

Running and working on 3.6.4

steven s 11-28-2006 01:04 AM

Quote:

Originally Posted by Freezerator (Post 1125414)
Running and working on 3.6.4

Didn't run on my 3.6.4. I used the version at the top of the forum. Clicked the spam button, the window came up. Click, some error message and never worked again. The I tried the other version found elsewhere. Never saw the spam gif in my postbit.
Quote:

Originally Posted by MPDev (Post 900312)
Second site installation (entirely different server, brand new 3.53 installation; virtually no other plugins) failed with:

Fatal error: Existing data passed is not an array
Called set_existing in /var/www/includes/functions_databuild.php on line 158
Called build_forum_counters in /var/www/includes/functions_decimator.php on line 107
Called move_spam_threads in /var/www/decimator.php on line 176
in /includes/class_dm.php on line 235

Those are the errors I got too. :confused:

Nathan2006 11-28-2006 10:19 PM

I can confirm that it works for me and I'm using version 3.64

Oh and here is a little spam button that I made cos I did not like the big one lol :D

steven s 11-28-2006 10:47 PM

Quote:

Originally Posted by Nathan2006 (Post 1127624)
I can confirm that it works for me and I'm using version 3.64

Oh and here is a little spam button that I made cos I did not like the big one lol :D

Did you use the version at the top of the thread or the version back a few pages?

RaidenDAWG2 11-29-2006 04:32 PM

Quick update...working on 2.0, slating it for a mid-December release.

Once I finish up my finals for the semester, I should have plenty o' time to fix the problems you guys have found (as well as add new features).

-RD

lukemax 01-06-2007 12:41 AM

I tested this function out, I went to another, created a user (test) and made a post, then I went to my main computer, logged in as Administrator, open the post, clicked on the spam button, on the next pace, when I clicked the decimate button Iget this error?

Fatal error: Existing data passed is not an array
Called set_existing in /home/lukemax/public_html/forum/includes/functions_databuild.php on line 164
Called build_forum_counters in /home/lukemax/public_html/forum/includes/functions_decimator.php on line 107
Called move_spam_threads in /home/lukemax/public_html/forum/decimator.php on line 176
in /includes/class_dm.php on line 235
Am I missing something?

mossy710 01-07-2007 04:12 AM

Hey, really nice mod, I have used it before on another forum and want to use it on my own. However when I follow all the install steps, I cannot see the spam button on any posts. I checked the templete edit many times, still nothing. :/

This is my postbit templete:

Quote:

<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->

<if condition="!in_array($post[usergroupid], array(5,6,7))">
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))">
<a href="#" onclick="window.open('decimator.php?userid=$post[userid]
&amp;threadid=$post[threadid]&amp;postid=$post[postid]','spam_decimator'
,'statusbar=yes,menubar=yes,toolbar=yes,scrollbars =yes,resizable=yes,width=800,
height=600'); return false;"><img src="images/misc/spambutton.gif" alt="Spam Kill"
border="0"></a></if></if>

<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />

RaidenDAWG2 01-09-2007 04:22 AM

Quote:

Originally Posted by lukemax (Post 1151691)
I tested this function out, I went to another, created a user (test) and made a post, then I went to my main computer, logged in as Administrator, open the post, clicked on the spam button, on the next pace, when I clicked the decimate button Iget this error?

Fatal error: Existing data passed is not an array
Called set_existing in /home/lukemax/public_html/forum/includes/functions_databuild.php on line 164
Called build_forum_counters in /home/lukemax/public_html/forum/includes/functions_decimator.php on line 107
Called move_spam_threads in /home/lukemax/public_html/forum/decimator.php on line 176
in /includes/class_dm.php on line 235
Am I missing something?

If you're missing something, then I and everyone else who's had that problem is missing something ;)

All joking aside...yeah, no idea what's causing that, but the new version (should be finished by the weekend if my idea of crawling into a hole tomorrow due to the Buckeyes embarrassing performance tonight holds out) should fix it.

Quote:

Originally Posted by mossy710 (Post 1152389)
Hey, really nice mod, I have used it before on another forum and want to use it on my own. However when I follow all the install steps, I cannot see the spam button on any posts. I checked the templete edit many times, still nothing. :/

This is my postbit templete:

That should work, the only thing I can think of is maaaybe your usergroups aren't the default numbers. Check your mods, admins, and supers, if their usergroup numbers aren't 5,6, and 7, just edit the array(5,6,7) to array(your usergroups here comma separated) and make the appropriate changes in the settings in the vB settings.

To recap, new version hopefully this weekend. Hope to have it ready for testing tomorrow.

-RD

mossy710 01-09-2007 10:42 AM

I checked them and they are 5,6, and 7 :/

RaidenDAWG2 01-10-2007 12:37 AM

Quote:

Originally Posted by mossy710 (Post 1154469)
I checked them and they are 5,6, and 7 :/

Stupid question then...did you upload the entire package to the server (i.e. the image and the files)?

lukemax 01-10-2007 01:52 AM

thanks

mossy710 01-13-2007 04:38 AM

Quote:

Originally Posted by RaidenDAWG2 (Post 1155084)
Stupid question then...did you upload the entire package to the server (i.e. the image and the files)?

its all there :/

styleforum 01-25-2007 09:48 PM

Hey, I've been using this a while and it's great. Just now setting it up on 3.6.4 which I've just upgraded to, not sure if it will work yet, but I wanted to ask:

Is there some way to keep the spam button from showing up on users with at least X posts? Most spammers we kill off have only ~20 posts max, so I set up a conditional:

Code:

<!-- spam decimator -->
<if condition="$post[posts]<=80">
                <if condition="!in_array($post[usergroupid], array(5,6,7))"><if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))"><a href="#" onclick="window.open('decimator.php?userid=$post[userid]&amp;threadid=$post[threadid]&amp;postid=$post[postid]','spam_decimator','statusbar=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img src="images/smilies/spam[1].gif" alt="Spam Kill" border="0"></a></if></if></if></if>
<!-- / spam decimator -->

But there is a problem - the spam button shows up on people with under 80 posts, and also on people with over 1000 or so. I'd rather not have the chance that one of our 1000+ posters would get accidentally decimated by a drunk mod, because it would be a serious pain to fix. Is there a good way to do this so the button only shows up below X posts?

Thanks for all your work writing this, it's saved us a ton of time.

Bubble #5 02-05-2007 04:15 PM

Quote:

Originally Posted by styleforum (Post 1167316)
Just now setting it up on 3.6.4 which I've just upgraded to, not sure if it will work yet

So did you ever find out if it works on 3.6.4? :confused:



We keep getting this error message:


Quote:

Fatal error: Existing data passed is not an array
Called set_existing in /home/domain/public_html/forum/includes/functions_databuild.php on line 165
Called build_forum_counters in /home/domain/public_html/forum/includes/functions_decimator.php on line 107
Called move_spam_threads in /home/domain/public_html/forum/decimator.php on line 176
in /includes/class_dm.php on line 235

wArDoG 03-04-2007 01:27 PM

Quote:

Originally Posted by lukemax (Post 1151691)
I tested this function out, I went to another, created a user (test) and made a post, then I went to my main computer, logged in as Administrator, open the post, clicked on the spam button, on the next pace, when I clicked the decimate button Iget this error?

Fatal error: Existing data passed is not an array
Called set_existing in /home/lukemax/public_html/forum/includes/functions_databuild.php on line 164
Called build_forum_counters in /home/lukemax/public_html/forum/includes/functions_decimator.php on line 107
Called move_spam_threads in /home/lukemax/public_html/forum/decimator.php on line 176
in /includes/class_dm.php on line 235
Am I missing something?


I had the same problem and fixed it by changing the default setting of 1 in the "Threads moved to Forum" setting to a real forum. In my case I set up a spam forum as a child forum in the moderators forum. Changed the forum id from 1 to 73. Now SD works as advertised. Thanks a million for this mod. Life just got that much easier. :up: :)

Bubble #5 03-06-2007 06:44 AM

I thought this hack was supposed to be supported? :(

AFemaleProdigy 03-06-2007 02:00 PM

OMG I love this! Installed on 3.6.5 (two different sites too). Been using it and it's great! Thanks! :D

styleforum 03-13-2007 03:18 AM

Quote:

Originally Posted by Bubble #5 (Post 1175294)
So did you ever find out if it works on 3.6.4? :confused:

Sorry I don't know enough to help you much, but yeah, it works fine on 3.6.4 as of right now... could it be a conflict with another plugin?

Bubble #5 03-13-2007 03:16 PM

I don't know, it shouldn't be.

Since there is no support to get it working I guess our only option is to UNinstall it and use this spam hack instead.

W1zzard 03-21-2007 08:50 AM

suggestion: when doing the ip address scan also display postcount and usergroup (banned?). this would make it easier to identify ips that are used for spamming only

Smitty 03-28-2007 12:59 PM

Quote:

Originally Posted by RaidenDAWG2 (Post 1032306)
Haven't tested it, but it should theoretically work with 3.6 assuming none of the functions it calls have changed...

I should know here within the next couple weeks for certain though. Still need to upgrade my development environment to 3.6.

-RD

I have just put it on 3.6.5 and done several tests. I did the 'limit' (see https://vborg.vbsupport.ru/showpost....&postcount=113 ).

It appears to work well. Good job, and thanks! It will be nice if a Version 2 comes out.

KidCharlemane 04-15-2007 05:30 PM

Quote:

Originally Posted by styleforum (Post 1167316)
Hey, I've been using this a while and it's great. Just now setting it up on 3.6.4 which I've just upgraded to, not sure if it will work yet, but I wanted to ask:

Is there some way to keep the spam button from showing up on users with at least X posts? Most spammers we kill off have only ~20 posts max, so I set up a conditional:

Code:

<!-- spam decimator -->
<if condition="$post[posts]<=80">
                <if condition="!in_array($post[usergroupid], array(5,6,7))"><if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))"><a href="#" onclick="window.open('decimator.php?userid=$post[userid]&amp;threadid=$post[threadid]&amp;postid=$post[postid]','spam_decimator','statusbar=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img src="images/smilies/spam[1].gif" alt="Spam Kill" border="0"></a></if></if></if></if>
<!-- / spam decimator -->

But there is a problem - the spam button shows up on people with under 80 posts, and also on people with over 1000 or so. I'd rather not have the chance that one of our 1000+ posters would get accidentally decimated by a drunk mod, because it would be a serious pain to fix. Is there a good way to do this so the button only shows up below X posts?

Thanks for all your work writing this, it's saved us a ton of time.

Anyone come up with a workaround for this yet? Ive twice had a mod nuke the wrong member this week and had to go through and manually undelete all the posts. I'd hate for a member with +1000 post count to get nuked by mistake.

Smitty 04-24-2007 11:00 PM

I found this in another thread for another product here ( https://vborg.vbsupport.ru/showthrea...81#post1234781 ):
Quote:

We had a problem with this plugin inserting the nofollow tags when a user passed the 1,000 post mark. The problem was a comma inserted into the number of posts (e.g. 1,000). We fixed it by changing this line in the plug in:

PHP Code:

if (is_member_of($post567) OR $post['posts'] > 50

to this (which strips the unwanted comma from the post count):

PHP Code:

 if (!(is_member_of($post567)===FALSE) || str_replace(",","",$post['posts']) > 50


I haven't tried it yet, but plan to tonight or tomorrow.

KidCharlemane 04-24-2007 11:05 PM

VB gives a parsing error when you try to add that code.

Smitty 04-24-2007 11:27 PM

Quote:

Originally Posted by KidCharlemane (Post 1234993)
VB gives a parsing error when you try to add that code.

OK - Well, I was just about play around with this because there are some 1000+ posters that on my forum the button shows up on, but I'm not a php person so.... I looked at the statements and haven't a clue other than 'trial and error'.

Currently I have
PHP Code:

<!-- Start Spam Assassin -->
<if 
condition="$post[posts]<=10">
<if 
condition="!in_array($post[usergroupid], array(5,6,7))">
<if 
condition="in_array($bbuserinfo[usergroupid], array(5,6,7))"><a href="#" onclick="window.open('decimator.php?userid=$post[userid]&amp;threadid=$post[threadid]&amp;postid=$post[postid]','spam_decimator','statusbar=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img src="images/misc/spambutton.gif" alt="Spam Kill" border="0"></a></if></if></if>
<!-- 
End Spam Assassin --> 

NOTE: Now that I look, I may have an unnecessary line:
PHP Code:

<if condition="!in_array($post[usergroupid], array(5,6,7))">
<if 
condition="in_array($bbuserinfo[usergroupid], array(5,6,7))"



Anyway, and I *think* we know it's in this line:
PHP Code:

<if condition="$post[posts]<=10"

Anyway, I posted what I saw because it looked like a similar problem of determining correct post count for the 'if' statement and I figured maybe someone with php experience might be able to help. I really like this mod and would like to figure out how to make this aspect of it work correctly.

W1zzard 05-03-2007 08:36 PM

to disable deletion for users with more than 50 posts add change the code around
$error = "Cannot decimate mods/admins!!!";
to

PHP Code:

        if(($spammerinfo['usergroupid'] == 6) || ($spammerinfo['usergroupid'] == 5) || ($spammerinfo['usergroupid'] == 7))
        {
            
$error "Cannot decimate mods/admins!!!";
        }
        if (
$spammerinfo[posts]>50)
        {
            
$error "This user has too many posts. Are you sure he's a spammer?";
        } 


Smitty 05-03-2007 08:56 PM

Quote:

Originally Posted by W1zzard (Post 1240860)
to disable deletion for users with more than 50 posts add change the code around
$error = "Cannot decimate mods/admins!!!";
to

PHP Code:

        if(($spammerinfo['usergroupid'] == 6) || ($spammerinfo['usergroupid'] == 5) || ($spammerinfo['usergroupid'] == 7))
        {
            
$error "Cannot decimate mods/admins!!!";
        }
        if (
$spammerinfo[posts]>50)
        {
            
$error "This user has too many posts. Are you sure he's a spammer?";
        } 


In decimate.php, correct?

W1zzard 05-03-2007 09:04 PM

yes sir

Smitty 05-03-2007 09:43 PM

Thanks! I'll try it. At least that should present a 'Caution'.

WarDoGG 06-05-2007 04:49 PM

Please help im getting this error !

Quote:

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

* Bitfield Collision: can_view_ratestats = can_see_whorated_others

RaidenDAWG2 07-19-2007 07:08 PM

Quote:

Originally Posted by WarDoGG (Post 1261876)
Please help im getting this error !

That looks like a problem between two different products, unfortunately, neither of which I'm familiar with.

What's your vB version, and what other products do you have installed?

trifive 08-11-2007 10:07 PM

It doesn't seem to work on the latest version of vb Version 3.6.8

Any help would be appreciated

otis

RaidenDAWG2 08-12-2007 08:13 PM

Quote:

Originally Posted by trifive (Post 1315488)
It doesn't seem to work on the latest version of vb Version 3.6.8

Any help would be appreciated

otis

Good to know...I'll more than likely do an update for 3.6.8 in the next month or so. I've got some downtime I'd like to utilize to do some programming, soooo...give me a few weeks...

Smitty 08-12-2007 08:35 PM

I haven't upgraded vB on my site yet, so I'll probably wait a bit to see if you update this. My moderators LOVE this hack, and so do I. I'd donate but I don't see a donate button.


All times are GMT. The time now is 05:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01510 seconds
  • Memory Usage 1,877KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_php_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete