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

Reply
 
Thread Tools
Moderate first 10 posts from new users (Anti-Spam) Details »»
Moderate first 10 posts from new users (Anti-Spam)
Version: 1.00, by JWB JWB is offline
Developer Last Online: Mar 2011 Show Printable Version Email this Page

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

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!

Show Your Support

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

Comments
  #2  
Old 03-30-2002, 02:56 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

interesting idea..
Reply With Quote
  #3  
Old 03-30-2002, 02:58 AM
JWB JWB is offline
 
Join Date: Nov 2001
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #4  
Old 05-15-2002, 11:36 AM
rascal rascal is offline
 
Join Date: Feb 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

A god send hack

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.
Reply With Quote
  #5  
Old 05-28-2002, 02:00 AM
Joshua Clinard Joshua Clinard is offline
 
Join Date: Nov 2001
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 05-28-2002, 10:08 AM
KarateKid's Avatar
KarateKid KarateKid is offline
 
Join Date: Oct 2001
Location: Sydney
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still created such a hack. Which is a little bit more dynamicly: https://vborg.vbsupport.ru/showthrea...threadid=36312
Reply With Quote
  #7  
Old 05-31-2002, 10:12 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 05-31-2002, 11:47 AM
KarateKid's Avatar
KarateKid KarateKid is offline
 
Join Date: Oct 2001
Location: Sydney
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 05-31-2002, 08:32 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Profanity - Er...

die Weltlichkeit?

Satan
Reply With Quote
  #10  
Old 12-31-2002, 05:11 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 10:22 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.04621 seconds
  • Memory Usage 2,283KB
  • Queries Executed 23 (?)
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
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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