vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Spam Killer Hack v1.0 (includes Lesane's Store Hack Addon) (https://vborg.vbsupport.ru/showthread.php?t=40648)

Mijae 11-30-2002 07:00 PM

I think I figured it out.

chad777 12-03-2002 03:28 PM

Anyway to make a page to list who has the most SPAM POINT like maybe a Wall of Shame page ?

feldmaresciallo 03-02-2003 10:56 AM

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

McDohl 03-29-2003 11:51 PM

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

McDohl 03-29-2003 11:57 PM

Sorry, posted something wrong. x_x

GTA3_Mafia 03-07-2004 07:36 PM

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

?


All times are GMT. The time now is 10:35 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.01046 seconds
  • Memory Usage 1,728KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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