Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Spam Killer Hack v1.0 (includes Lesane's Store Hack Addon) Details »»
Spam Killer Hack v1.0 (includes Lesane's Store Hack Addon)
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-03-2002 Last Update: Never Installs: 21
 
No support by the author.

As requested [ Here ] by Hot Dogg

// ++++++++++++++++++++++++++++++++++++++++++++++
// +++++++ Lesane Store Hack Version +++++++
// ++++++++++++++++++++++++++++++++++++++++++++++
// +++++++ Queries to Run (8) +++++++
// +++++++ File Modification (12) +++++++
// +++++++ storeadmin.php (3) +++++++
// +++++++ newthread.php (1) +++++++
// +++++++ newreply.php (1) +++++++
// +++++++ admin/user.php (5) +++++++
// +++++++ admin/functions.php (2) +++++++
// +++++++ Template Modifications (1) +++++++
// +++++++ postbit template (1) +++++++
// ++++++++++++++++++++++++++++++++++++++++++++++

// ++++++++++++++++++++++++++++++++++++++++++++++
// +++++++ Regular Spam Killer Version +++++++
// ++++++++++++++++++++++++++++++++++++++++++++++
// +++++++ Queries to Run (8) +++++++
// +++++++ File Modification (9) +++++++
// +++++++ newthread.php (1) +++++++
// +++++++ newreply.php (1) +++++++
// +++++++ admin/user.php (5) +++++++
// +++++++ admin/functions.php (2) +++++++
// +++++++ Template Modifications (1) +++++++
// +++++++ postbit template (1) +++++++
// ++++++++++++++++++++++++++++++++++++++++++++++

---------------------
What Does This Hack Do?
---------------------

* Notice: Please read the features and more below. If you have any questions please feel free to find support in the thread or at my forum!
Be sure to read the instructions closely since this is a double deal concerning different versions.
User the Store Hack Instructions if you're using a store and the regular instructions if you're not!

+++++++ Post Killer - What is it? +++++++
Allows you to seperate the spammers from the rest of the forum.
It will create a new post count called spam posts.
You will then be able to change the minimum amount of characters before a post is considered spam from the Admin CP.
Includes configuration for disabling Spam Killer from Administrators and Moderators!
Spam Posts are shown on the postbit right under the post count!
Post Count Deletion has been taken out in the deletion of posts and threads to keep post counts from falling into negatives when pruning or deleting!
Also i know some members were looking for taking out the drop of posts while deleting threads and posts
Another Addition is New Member Spam Killing. You can enable it or disable it from Admin CP as well.
If you enable it you can also configure the amount of posts before Spam Killing Begins on Newer Members.

+++++++ Lesane Store Hack Post Killer - More? Yep +++++++
Some History:
I honestly don't use Lesane's Store Hack. I really like the set up and think its a great hack, but just never used it.
but Hot Dogg requested such an addon so why not right Enough Talk

More Features? :
Not only does the Lesane Store Hack get all of the features of the Regular Post Killer Hack it gets a special feature!
Since it's based off of Points System it allows users to gain posts while posting.
But with the Spam Killer you have the ability to set the Spam Killer to actually take away a specified amount of points from the user rather then them gettig points for spamming
And its also controlled in the Admin CP.

+++++++ Differences? +++++++
The difference between the two hacks is that not only does the Lesane Store Hack get an extra feature but they're also based differently.
Since Lesane's Store Hack already has a set database storeadmin i used that so that the options to be configured are in the storeadmin.php
As for the regular Spam Killer they're in vbulletins setting options
Well i hope that all members... both the Store Users and regular users enjoy this hack and have some fun killing Spammers

Sorry but once again i don't have any screenshots -_- but i did beta test it so enjoy it... If anyone could provide any i would appreciate it

Hot Dogg the only thing i didn't add in was the smileys inclusion wasnt' sure about that but i did and some other features enjoy man

g-force2k2

Edit: quick fix in the lesane store setup thanks to Lovaboye For details on the two fixes view [ Here ]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-05-2002, 12:45 AM
Lovaboye Lovaboye is offline
 
Join Date: Apr 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we talk on aim? I get this message whenever i try to save my work in the config panel:

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: UPDATE storeadmin SET id='1',storename='Cool Store', pointname='Money', welcome='Welcome on the store', welcomed='Here you can buy different goodies for the forum', showimg='N', showrich='Y', showgoodie='Y',newthread=10, newreply=5, reply1=1, reply2=2, reply3=3, reply4=4, reply5=5, rpoint1=1, rpoint2=2, rpoint3=3, rpoint4=4, rpoint5=5, view1=1, view2=2, view3=3, view4=4, view5=5, vpoint1=1, vpoint2=2, vpoint3=3, vpoint4=4, vpoint5=5, spamenabled=1, characters='250', pdeduction='5', spambyadmin=1, spambymod=1, spamnewbie=1, =''
mysql error: You have an error in your SQL syntax near '=''' at line 1

mysql error number: 1064

Date: Thursday 04th of July 2002 09:34:54 PM
Script: http://www.mysite.com/forum/forum/admin/storeadmin.php
Referer: http://www.mysite.com/forum/admin/st...?action=config
Reply With Quote
  #13  
Old 07-05-2002, 01:25 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah whats your AIM?

g-force2k2

UPDATE storeadmin SET id='1',storename='Cool Store', pointname='Money', welcome='Welcome on the store', welcomed='Here you can buy different goodies for the forum', showimg='N', showrich='Y', showgoodie='Y',newthread=10, newreply=5, reply1=1, reply2=2, reply3=3, reply4=4, reply5=5, rpoint1=1, rpoint2=2, rpoint3=3, rpoint4=4, rpoint5=5, view1=1, view2=2, view3=3, view4=4, view5=5, vpoint1=1, vpoint2=2, vpoint3=3, vpoint4=4, vpoint5=5, spamenabled=1, characters='250', pdeduction='5', spambyadmin=1, spambymod=1, spamnewbie=1, =''

Take that coding and delete the ending. I believe thats the problem...

spamnewbie=1, =");

should be:

spamnewbie=1");

See if that fixes it

g-force2k2
Reply With Quote
  #14  
Old 07-05-2002, 03:19 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't see the purpose of this...it basically is determining if someone is a spammer by how many characters are in their post? That is not very accurate. Putting a spam post count isn't likely to upset the spammer either, it'll probably provoke their sick minds to spam even more. I just cut the problem at the roots, and ban the spammer when they first show themself.
Reply With Quote
  #15  
Old 07-05-2002, 03:25 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well it personally makes the poster think before posting a little more... because you have two different kinds of posters... those that post... number counting threads (sad) and you have users that actually post huge posts... sure you can't discern from just characters...

Sure its definately easier to ban imo and i probably wont' use my own hack i just made it because someone requested it

g-force2k2
Reply With Quote
  #16  
Old 07-05-2002, 04:09 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
I can't see the purpose of this...it basically is determining if someone is a spammer by how many characters are in their post? That is not very accurate. Putting a spam post count isn't likely to upset the spammer either, it'll probably provoke their sick minds to spam even more. I just cut the problem at the roots, and ban the spammer when they first show themself.
banning is extreme......it will make peeps think twice because they wont wanna lose there hard earned money
Reply With Quote
  #17  
Old 07-05-2002, 09:19 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

File has been updated thanks to lovaboye on helping me with a few things...

first off if you want just the two simple changes here they are

open storeadmin.php

find:

PHP Code:
$DB_site->query("UPDATE storeadmin SET id='1',storename='".addslashes($storename)."', pointname='".addslashes($pointname)."', welcome='".addslashes($welcome)."', welcomed='".addslashes($welcomed)."', showimg='$showimg', showrich='$showrich', showgoodie='$showgoodie',newthread=$newthread, newreply=$newreply, reply1=$reply1, reply2=$reply2, reply3=$reply3, reply4=$reply4, reply5=$reply5, rpoint1=$rpoint1, rpoint2=$rpoint2, rpoint3=$rpoint3, rpoint4=$rpoint4, rpoint5=$rpoint5, view1=$view1, view2=$view2, view3=$view3, view4=$view4, view5=$view5, vpoint1=$vpoint1, vpoint2=$vpoint2, vpoint3=$vpoint3, vpoint4=$vpoint4, vpoint5=$vpoint5, spamenabled=$spamenabled, characters='$characters', pdeduction='$pdeduction', spambyadmin=$spambyadmin, spambymod=$spambymod, spamnewbie=$spamnewbie$spamkill='$spamkill'"); 
replace it with:

PHP Code:
$DB_site->query("UPDATE storeadmin SET id='1',storename='".addslashes($storename)."', pointname='".addslashes($pointname)."', welcome='".addslashes($welcome)."', welcomed='".addslashes($welcomed)."', showimg='$showimg', showrich='$showrich', showgoodie='$showgoodie',newthread=$newthread, newreply=$newreply, reply1=$reply1, reply2=$reply2, reply3=$reply3, reply4=$reply4, reply5=$reply5, rpoint1=$rpoint1, rpoint2=$rpoint2, rpoint3=$rpoint3, rpoint4=$rpoint4, rpoint5=$rpoint5, view1=$view1, view2=$view2, view3=$view3, view4=$view4, view5=$view5, vpoint1=$vpoint1, vpoint2=$vpoint2, vpoint3=$vpoint3, vpoint4=$vpoint4, vpoint5=$vpoint5, spamenabled=$spamenabled, characters='$characters', pdeduction='$pdeduction', spambyadmin=$spambyadmin, spambymod=$spambymod, spamnewbie=$spamnewbie, spamkill='$spamkill'"); 
Second the postbit template

find:

<br>Spam Count: $posts[spamposts]

replace it with:

<br>Spam Count: $post[spamposts]

finito enjoy

g-force2k2
Reply With Quote
  #18  
Old 07-06-2002, 01:31 AM
Larz Larz is offline
 
Join Date: Jun 2002
Location: Copenhagen, Denmark
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
I can't see the purpose of this...it basically is determining if someone is a spammer by how many characters are in their post? That is not very accurate. Putting a spam post count isn't likely to upset the spammer either, it'll probably provoke their sick minds to spam even more. I just cut the problem at the roots, and ban the spammer when they first show themself.
Basically users have a tendency to post a lot of posts just to get the damn points - I call it post-running on my board, and it takes up about half my admin time, identifying the culprits and warning them to stop.

Any sort of option to detract "something" from those who post very short replys automatically - or just to add something to longer posts - is quite needed on my end.

That said, could you please verify the name of the hack for me - you say it includes Store Hack, but in this thread you call it an addon. Which is it? I'm not installing Store Hack again, I might look at an add-on for it.
Reply With Quote
  #19  
Old 07-06-2002, 01:59 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry larz for the confusion... but its actually two different' hacks... one compatible ( an addon, not a new release) for the Store hack and the other being a regular version... for those that have the store hack i'd suggested the Store Hack Add on

g-force2k2
Reply With Quote
  #20  
Old 07-06-2002, 07:13 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

g-force2k2, just by looking at the code, i can say that is not writen by you but pasted from other files. correct me if i'm wrong.
any coder knows what i'm talking about...

here it is an example:
Code:
find:

	if ($vpoint5 == '') 
	{
		$vpoint5 = 0;
	}

after it add:

	if ($characters == '') {
	  $characters="0";
	}
	if($pdeduction == '') {
	  $pdeduction="0";
	}
Reply With Quote
  #21  
Old 07-06-2002, 01:20 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Nakkid
g-force2k2, just by looking at the code, i can say that is not writen by you but pasted from other files. correct me if i'm wrong.
any coder knows what i'm talking about...

here it is an example:
Code:
find:

	if ($vpoint5 == '') 
	{
		$vpoint5 = 0;
	}

after it add:

	if ($characters == '') {
	  $characters="0";
	}
	if($pdeduction == '') {
	  $pdeduction="0";
	}
Nakkid what are you talking about? Seriously man have you just come trying to bash on me or is this some kind of joke... what coding is ripped and so easily recognized? Can you please explain?

g-force2k2
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05278 seconds
  • Memory Usage 2,340KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete