Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #42  
Old 11-30-2002, 07:00 PM
Mijae's Avatar
Mijae Mijae is offline
 
Join Date: Nov 2001
Location: Russia
Posts: 523
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I figured it out.
Reply With Quote
  #43  
Old 12-03-2002, 03:28 PM
chad777 chad777 is offline
 
Join Date: May 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to make a page to list who has the most SPAM POINT like maybe a Wall of Shame page ?
Reply With Quote
  #44  
Old 03-02-2003, 10:56 AM
feldmaresciallo feldmaresciallo is offline
 
Join Date: Oct 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found a bug...

Quote:
// +++++++ Checking Special Admin And Moderator Options +++++++
$perms=getpermissions();
if ($bbuserinfo[usergroupid] == 6 and $spambyadmins) {
$fpost="posts";
} elseif(($bbuserinfo[usergroupid] == 5 OR $perms[ismoderator]) and $spambymods) {
$fpost="posts";
}
the controls in the table are wrong...
not
$spambyadmins
$spambymods

but
$spambyadmin
$spambymod

if you don't correct this, mods and Admin will count spam post even if option spam admin and mods are selected
Reply With Quote
  #45  
Old 03-29-2003, 11:51 PM
McDohl McDohl is offline
 
Join Date: Mar 2003
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey all.

I tried running the queries for the non-store hack edition of this Spam Killer and I got this

Quote:
You have an error in your SQL syntax near 'INSERT INTO setting VALUES ( NULL , 32, 'Spam Hack Enabled?', 'SPAMenabled',' at line 1
I'm sure I copied everything in right, but to no avail.

Any ideas? If someone could help me i'd appreciate it.

Thanks,
-Scott
Reply With Quote
  #46  
Old 03-29-2003, 11:57 PM
McDohl McDohl is offline
 
Join Date: Mar 2003
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, posted something wrong. x_x
Reply With Quote
  #47  
Old 03-07-2004, 07:36 PM
GTA3_Mafia GTA3_Mafia is offline
 
Join Date: Jan 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Error

SQL-query :

ALTER TABLE storeadmin ADD spamenabled int( 2 ) NOT NULL DEFAULT '1' ALTER TABLE storeadmin ADD spambyadmin int( 2 ) NOT NULL DEFAULT '1' ALTER TABLE storeadmin ADD spambymod int( 2 ) NOT NULL DEFAULT '1' ALTER TABLE storeadmin ADD characters int( 10 ) NOT NULL DEFAULT '250' ALTER TABLE storeadmin ADD pdeduction int( 10 ) NOT NULL DEFAULT '5' ALTER TABLE storeadmin ADD spamnewbie int( 2 ) NOT NULL DEFAULT '1' ALTER TABLE storeadmin ADD spamkill int( 10 ) NOT NULL DEFAULT '5' ALTER TABLE user ADD spamposts int( 5 ) unsigned NOT NULL DEFAULT '0'

MySQL said:


#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE storeadmin ADD spambyadmin int( 2 ) NOT NULL DE

?
Reply With Quote
Reply

Thread Tools

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 04:11 PM.


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.04569 seconds
  • Memory Usage 2,268KB
  • Queries Executed 21 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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