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)
-   -   Moderate first 10 posts from new users (Anti-Spam) (https://vborg.vbsupport.ru/showthread.php?t=36735)

JWB 03-29-2002 10:00 PM

Moderate first 10 posts from new users (Anti-Spam)
 
This hack checks to see how many post a user currently has, if it is 10 or less it will wait for the post to be validated. Otherwise, it will display the post as normal. In addition, it will display a alternate message telling the user that their post must be validated because they're a new member.

This hack is great to keep people from signing up, spamming, and leaving! This is my first hack and the only php I know is from looking at the source so if there is any problems please let me know.

It's currently installed at my site www.AllForums.net , so please REGISTER AND TRY IT OUT ;) .

If you use it please click the install button, I hope it helps you!

TECK 03-30-2002 02:56 AM

interesting idea.. ;)

JWB 03-30-2002 02:58 AM

Thanks, I got the idea because I get about 2 people a day who register and post this thing about mailing 6 dollars to them, blah blah... It makes me mad, and since 99% of the time it's not a member who actually stays and post real posts this should solve that problem...

rascal 05-15-2002 11:36 AM

This really helps a lot due to the increasing number of spamming going on my site.

A god send hack :D

Anyway what happens if a new member post more than 10 messages after registration? Will the 11th posts appear? Keeping in mind that the 10 posts has not been moderated yet.

Joshua Clinard 05-28-2002 02:00 AM

I would like to know that too. Can it be made to not let him post more than 10 until the first ones are approved?

KarateKid 05-28-2002 10:08 AM

I still created such a hack. Which is a little bit more dynamicly: https://vborg.vbsupport.ru/showthrea...threadid=36312

Chris M 05-31-2002 10:12 AM

I was wondering...

We have a problem with user who use profanity...

Is there a way to adapt this hack to make ALL his posts be moderated by Super Mods and Admins?

Satan

KarateKid 05-31-2002 11:47 AM

hm, I don't know what "profanity" means in german, sorry for my bad english.

But I think I know what you mean, actually, there are only members in the normal "registered" usergroup controlled by this hack. In other usergroups you have to modify the hack a little bit and add the other usergroup ;)

Chris M 05-31-2002 08:32 PM

Profanity - Er...

die Weltlichkeit?

Satan

John 12-31-2002 05:11 PM

Nice idea, some sloppy coding though - it kind of ruins the effect.

In both files, where you have to replace a line of code, you have this:
Code:

If ($allforumshack = 0) {
I think you mean:
Code:

if ($allforumshack == 0) {
= is assigning a value to a variable
== means "if it equals"

With a single = every user will get the second template.

I've also edited my code so that the moderation redirects don't apply to mods, super mods or admins.


All times are GMT. The time now is 09:02 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.01053 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_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
  • (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