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)
-   -   Anti-spam post decrementer (https://vborg.vbsupport.ru/showthread.php?t=41112)

Raz 07-16-2002 11:45 AM

Quote:

Originally posted by FireFly

It will not go below 0. If you want it to, run this query:
[sql]ALTER TABLE user CHANGE posts posts SMALLINT DEFAULT 0 NOT NULL;[/sql]

Remember, doing this will reduce your very maximum post count to 32767.

Boofo 07-16-2002 12:02 PM

Where is LongINT when you need it? :)

Quote:

Originally posted by Raz
Remember, doing this will reduce your very maximum post count to 32767.

Admin 07-16-2002 12:08 PM

Quote:

Originally posted by Raz
Remember, doing this will reduce your very maximum post count to 32767.
True, heh, if you have spamme- err active posters use this...
[sql]ALTER TABLE user CHANGE posts posts MEDIUMINT DEFAULT 0 NOT NULL;[/sql]

Boofo 07-16-2002 12:18 PM

Which will do what? :)

Admin 07-16-2002 12:30 PM

If you don't have any users with more than 32,000 posts, use the first one. If you do, use the second one.

Boofo 07-16-2002 12:37 PM

I don't have very many users with 32 posts let alone 32,000 posts. I think I'll be safe with the first one (for now, anyway.) :)

Quote:

Originally posted by FireFly
If you don't have any users with more than 32,000 posts, use the first one. If you do, use the second one.

trilOByte 07-25-2002 05:53 PM

What would be very cool, is if somehow this hack could be tied into the posting timelimit. If a user posts more than XX seconds apart, then the post count increments, if less than XX seconds, then the post count decrements. We have some *very* prolific posters who tend to spam threads a lot, but we don't want to penalise regular users with a 90 second posting limit.

Leah 04-19-2003 03:52 AM

I'd like to install this hack, but I have one problem with it.
In my newreply.php, it says:

Quote:

".iif ($foruminfo[countposts],"posts=posts+1,storep=storep+'$fool',","")."
I can't seem to get it right when trying to change this one.


All times are GMT. The time now is 07:48 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.01022 seconds
  • Memory Usage 1,727KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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