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-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


All times are GMT. The time now is 01:49 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.01193 seconds
  • Memory Usage 1,752KB
  • 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_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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