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)

RaidenDAWG2 11-04-2005 12:54 PM

Updated files are uploaded. If the error keeps coming up jmottle, if you can, take some screenshots, email'em to me (or attach them here, whichevery), and I'll see what I can do. I've gone through and checked every function, every line, every conditional, and I'm not seeing any additional things that would even remotely cause the bug you're getting. I've traced that code through a few times, tested it with a bunch of different settings on my test server and I got that error once, didn't touch anything, fixed the error in the file, and it ran perfectly the next time through...

I'm really sorry it's not working for you man, but I've tried literally every trick in the book and can't even force that error on my test server. I can tell you that my test server runs Linux, PHP 4.4, MySQL build 4.0.25 standard, and Apache 1.3.34, and I cannot find a single bug beyond what's already been fixed so...

If it doesn't work, screenshot me your settings as well as what pops up in the window, I'll see what I can do, otherwise...sorry man, I'm just not seeing it if there is a bug there, it may just be your system (stranger things have happened, believe me, when I had I think RC2 running on my test site it played all sorts of little tricks on my files...wasn't a fun week, lemme tell ya).

-RD

007 11-05-2005 04:00 PM

I don't want to use the email option. I'd rather the spammers not have any clue what's going on. How hard is it to disable it or edit it out? Thanks.

jmottle 11-05-2005 04:50 PM

No Joy. Even with version 1.0.4 I am still getting this error as soon as I press the Decimate button. The user ends up getting banned, but that is all is does.

Fatal error: Existing data passed is not an array
Called set_existing in X:\XXXXXXX\http://www.cgarchitect.com\vb\includ..._databuild.php on line 158
Called build_forum_counters in X:\XXXXXXX\http://www.cgarchitect.com\vb\includ..._decimator.php on line 22
Called delete_spam_threads in X:\XXXXXXXX\www.cgarchitect.com\vb\decimator.php on line 170
in \includes\class_dm.php on line 235

RaidenDAWG2 11-05-2005 05:02 PM

Quote:

Originally Posted by 007
I don't want to use the email option. I'd rather the spammers not have any clue what's going on. How hard is it to disable it or edit it out? Thanks.

Very simple, you can either uncheck the box that emails them, or if you're OK with editing templates, find the DOESPAMMER box, change the type to hidden and the value to 0.

Quote:

Originally Posted by jmottle
No Joy. Even with version 1.0.4 I am still getting this error as soon as I press the Decimate button. The user ends up getting banned, but that is all is does.

Fatal error: Existing data passed is not an array
Called set_existing in X:\XXXXXXX\http://www.cgarchitect.com\vb\inclu...s_databuild.php on line 158
Called build_forum_counters in X:\XXXXXXX\http://www.cgarchitect.com\vb\inclu...s_decimator.php on line 22
Called delete_spam_threads in X:\XXXXXXXX\www.cgarchitect.com\vb\decimator.php on line 170
in \includes\class_dm.php on line 235

Best I can tell ya is send me screenshots of all your options (ACP) and the two popup screens...like I said, I've tried literally everything to attempt to recreate that and haven't had any luck other than the one time where I found the bug and fixed it...

-RD

jmottle 11-05-2005 05:37 PM

Here ya go

OttawaGolf 11-06-2005 06:13 PM

This works fine for myself (admin) but no button for my moderators

RaidenDAWG2 11-06-2005 06:22 PM

Quote:

Originally Posted by OttawaGolf
This works fine for myself (admin) but no button for my moderators

Check your postbit template, make sure that all three group numbers are in the second array in the added code. For example, if your mods are group 5, admins 6, and super mods 7, it should read something to the effect of...

PHP Code:

<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))">button image/link code here</if> 

Also, that must be in each and every postbit if you have multiple styles.

OttawaGolf 11-06-2005 06:42 PM

Yes that is set correctly, and my mods do see the edit button and moderator's thread tools.

VBUsers 11-07-2005 05:27 AM

i installed your spam decimator hack and its great. the only thing is that a second Co admin usergroup (id:13) cant have access to it. i tried changing the arrays but it wont work. i tried adding it with a comma along with admins in vboptions and it wont take it. what can i do to make it work. all my other staff can see and use it but the 3 co admins. let me know thanks

RaidenDAWG2 11-07-2005 04:19 PM

Quote:

Originally Posted by lowandloudinc
i installed your spam decimator hack and its great. the only thing is that a second Co admin usergroup (id:13) cant have access to it. i tried changing the arrays but it wont work. i tried adding it with a comma along with admins in vboptions and it wont take it. what can i do to make it work. all my other staff can see and use it but the 3 co admins. let me know thanks

I can write a quick work around for that, but it's gonna take me a couple days (this week alone I've got 2 programming labs, a 5-6 page paper, and oh yeah, stats homework due :ermm: yeah...that kinda week...). Shouldn't be too big of an issue, just adding a few lines here and there...

@ OttawaGolf: Haven't had time to look at the template yet, I have a feeling I goofed on placing something somewhere...I'll look into it this week...

@ jmottle...yeah, that one's still getting me...I really have no idea whatsoever what's causing that man, sorry :(

OttawaGolf 11-07-2005 07:11 PM

:D Thanks

VBUsers 11-08-2005 01:23 AM

thanks ill wait for it. good luck with your other work lol

RaidenDAWG2 11-12-2005 05:01 AM

1.0.5 released...OttawaGolf, this should fix your mods can't access problem...

-RD

VBUsers 11-12-2005 06:18 AM

any info on this.

i installed your spam decimator hack and its great. the only thing is that a second Co admin usergroup (id:13) cant have access to it. i tried changing the arrays but it wont work. i tried adding it with a comma along with admins in vboptions and it wont take it. what can i do to make it work. all my other staff can see and use it but the 3 co admins. let me know thanks

RaidenDAWG2 11-12-2005 01:33 PM

And for my next trick :)

Actually, I only released on update last night that fixed a one letter error. I'll be working on that this week. I'm going to be converting the three user levels (mod, super, admin) to arrays that will allow you to enter more than on usergroup on each line.

-RD

Yorixz 11-12-2005 01:56 PM

I'm wondering; any chance the warning part could be compatible (or working like -) Inferno Warning Hack, that would be totally perfect.

RaidenDAWG2 11-13-2005 01:50 AM

Are we talking just issuing warnings to users for spamming, or something completely different?

If it's just submitting warnings for users, I could probably build in features to work with both of the major warning systems (Inferno, of course, as well as Advanced Warning System, which I am partial to BTW ;)).

-RD

Yorixz 11-13-2005 08:06 AM

You can more or less forget what I said; the links of "View x's warnings" and "Warn x" are of the AWS right? I thought they were part of this hack; if that was the thing I would have 3 ways to warn people on my forum now but that isn't the case at all ;) I should've installed it before replying ;)

OttawaGolf 11-13-2005 09:18 PM

Quote:

Originally Posted by RaidenDAWG2
1.0.5 released...OttawaGolf, this should fix your mods can't access problem...

-RD

Thanks I'll install asap and report back

OttawaGolf 11-18-2005 12:53 PM

Quote:

Originally Posted by RaidenDAWG2
1.0.5 released...OttawaGolf, this should fix your mods can't access problem...

It did. Thanks. Great hack.

RaidenDAWG2 11-18-2005 07:59 PM

Quote:

Originally Posted by OttawaGolf
It did. Thanks. Great hack.

No problem :D

I'll be working on the updated version to allow multiple additional usergroups to use it as well...seems I finally need to learn how to process arrays properly in MySQL...

-RD

Spinball 12-14-2005 06:39 PM

Congratulations RaidenDAWG2 on porting this to 3.5. I originally requested this hack and I'm very happy to see it resurrected for the latest version.
Can I please make one query/suggestion? The original also left an optional entry in the user's profile notes with the title and note specified by admin.
We keep notes on banned users to explain why they were expelled. The original Spam Kill hack did that automatically as well. Is this facility included as it isn't in the feature list? If not, could you consider adding it, please?
Many thanks.

Spinball 12-14-2005 07:28 PM

I've created a standard Spam button which I thought I would share if RaidenDAWG2 doesn't mind

RaidenDAWG2 12-18-2005 01:27 PM

Quote:

Originally Posted by Spinball
I've created a standard Spam button which I thought I would share if RaidenDAWG2 doesn't mind

Much better than my original five second photoshopped version, nice work man :)

As for your suggestion, I definitely could throw that in the next release (when I originally worked on this, I had no clue how to approach user notes...now I do...benefit of four additional months of programming in vB I guess ;)).

At this point, announcing the eventual release (read: probably by the end of break) of Spam Decimator 1.1, with the following additional features:

-Ability to permit additional usergroups access
-Delete a spammer's PM's as well
-Add a user note to a user's record

Also, I'd be happy to take suggestions for things I haven't thought of/had suggested to me yet ;)

-RD

Spinball 12-18-2005 02:14 PM

Oooo feature wish list! Cool.
Ok, the original spam killer appended all the posts by the spammer to a particular thread (the thread ID was specified). And if he was the thread starter, all the replies to the thread were deleted.
This seems like a sensible option because it means fewer threads in the spam pit. Also the replies to spam threads are usually by members telling the spammer to 'f off' etc and so can be deleted.
Thanks!

RaidenDAWG2 12-20-2005 09:20 PM

Quote:

Originally Posted by Spinball
Oooo feature wish list! Cool.
Ok, the original spam killer appended all the posts by the spammer to a particular thread (the thread ID was specified). And if he was the thread starter, all the replies to the thread were deleted.
This seems like a sensible option because it means fewer threads in the spam pit. Also the replies to spam threads are usually by members telling the spammer to 'f off' etc and so can be deleted.
Thanks!

Kinda had to compromise that a little in my original design. On the one hand, all spammer started threads are deleted (and there's an option to move them to a specified forum, which kinda replaced the spam pit if you will), on the other, any posts a spammer makes can be deleted (it's an option), but they aren't moved due to moving a single post from a thread to another (at least in my view) was a. a pain in the rear end (and a royal one at that) and b. not really all that useful (at least when I was thinking of how this would be used on my own site anyways).

-RD

StarBuG 01-13-2006 03:10 PM

Thx for this nice plugin.

I have a problem.
I have set a forum as spam trash that is in my admin forums which only can be accessed from admins. I entered the id and activated move to forum but the threads were not moved to the forum.

Congratulations, you've run Spam Decimator
Adios Spammer, spammer banned
Deleted 6 spammer threads
Moved all 0 spammer threads to private forum
Deleted 0 spammer posts
No users with matching IP addressesSpammer Emailed

Any suggestions?

Nick0r 01-22-2006 06:01 PM

Definitely needs an undo feature, or a setting that makes sure that people with over X amount of posts can't be spam killed. God damnit, it just happened to one of my best posters and it's a PITA to fix.

Spinball 01-22-2006 06:13 PM

Quote:

Originally Posted by Nick0r
Definitely needs an undo feature, or a setting that makes sure that people with over X amount of posts can't be spam killed. God damnit, it just happened to one of my best posters and it's a PITA to fix.

Agreed. If the user has, say, more than 20 posts, an 'Are you sure?' message would be a good safety feature.

RaidenDAWG2 01-24-2006 10:42 PM

Quote:

Originally Posted by Spinball
Agreed. If the user has, say, more than 20 posts, an 'Are you sure?' message would be a good safety feature.

I'll add that to my to-add list...sorry guys, my own site's been taking up most of my programming time (and school the other three quarters) so...it'll get done eventually...

-RD

StarBuG 01-25-2006 04:20 AM

What about my move thread problem?

RaidenDAWG2 01-25-2006 08:14 PM

Hmmm...which version of vB are you using?

-RD

StarBuG 02-06-2006 07:19 AM

vBulletin Version 3.5.3

MPDev 02-07-2006 01:07 PM

I had the same error a couple pages back about the array; had to uninstall. Thanks anyways.

Freezerator 02-12-2006 04:32 PM

Hi,

i really like your hack. Is it possible to have in the e-mail sent to the admin the mention wich user has been banned? No i only see who has done it, but not who is banned :)

MPDev 02-14-2006 07:05 PM

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

RaidenDAWG2 02-20-2006 11:29 PM

Quote:

Originally Posted by Freezerator
Hi,

i really like your hack. Is it possible to have in the e-mail sent to the admin the mention wich user has been banned? No i only see who has done it, but not who is banned :)

Yeah, I'm going to rework that section this weekend, make it customizable through ACP...

@MPDev, which settings are you using, and what actions were you trying to use when that happened? I'll try to recreate it on my dev server, see if I can't track that one down...

@StarBug, think I know what's causing that one, just haven't found the time to go in and take a crack at fixing the stupid thing yet...it should be up this weekend though...

Sorry guys, insanely busy quarter for me here at OSU...this weekend'll be the first I've gotten to work on this thing...

-RD

Webdude? 02-21-2006 02:00 AM

Disregard......

andrefedalto 02-22-2006 11:40 PM

getting the same Fatal error: Existing data passed is not an array bla bla bla error...
tryed to fix, but couldnt figure out what was causing it :(

RaidenDAWG2 02-24-2006 04:28 AM

Quote:

Originally Posted by andrefedalto
getting the same Fatal error: Existing data passed is not an array bla bla bla error...
tryed to fix, but couldnt figure out what was causing it :(

Makes two of us :(

If you could let me know what setting you're using (or even screenshot your settings page ;) sensitive info blanked out of course...) and what version of vB you're using, it would be greatly appreciated :)

BTW guys, I'm going to be working on getting this validated for 3.5.4 over the weekend especially. I don't believe there'll be any more features this time around, but if I get the time, there's one I'd like to implement, but only if I've got the time to finish it entirely...busy weekend with my own site as well (3.5.4 upgrades on live and test sites, as well as all associated template updates :()....

-RD


All times are GMT. The time now is 05:13 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.01418 seconds
  • Memory Usage 1,841KB
  • 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
  • (1)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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