Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forum Crashers Hack..... Details »»
Forum Crashers Hack.....
Version: 1.00, by jjj0923 jjj0923 is offline
Developer Last Online: Jan 2012 Show Printable Version Email this Page

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

Forum Crashers Hack.

I didn't used to have to approve members.
But it seems as though some of the folks I've banned started showing back up with nasty user names that
would bash the forum or other members, so now I approve all members before they can post.

THIS HACK ONLY APPLIES TO YOU IF YOU APPPOVE NEW MEMBERS BEFORE THEY CAN POST WITH "Verify Email address in registration" and "Moderate New Members"

Unfortunately some of the forum crashers are AOL users so I could not block them by IP address since you never know what IP address an AOL user will visit with and you don't want to block legitimate users.

This hack is pretty simple and involved making three changes in just two modules since I display the name of the most recent member on the home page and it was embarrasing to log on and see user names such as "thisforumsucks" as the most recent member, etc....

So, there were three things I had to change.
a) Only display the most recent APPROVED member as the newest member ($newusername)
b) Do not display 'NON APPROVED' members in the list of folks on-line on the home page ($activeusers)
c) Do not display usernames of NON APPROVED folks in the list of members on-line in (online.php). Instead, I display 'Awaiting approval' as their user name, because I still wanted to see their IP address.

ps: I am running 2.2.5 and can only vouch for these changes working properly in 2.2.5

happy hacking!

- jeff

Show Your Support

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

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

install a simple hack to remove the title lenght, like i did ands also block alot of offensive words.

if a user tries to post a huge title my forum will detect that and remove the extra repetead letters etc.. or simply remove it completly it depends on the situation...

however, your idea is great.
Reply With Quote
  #3  
Old 10-04-2002, 09:47 PM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TECK
install a simple hack to remove the title lenght, like i did ands also block alot of offensive words.

if a user tries to post a huge title my forum will detect that and remove the extra repetead letters etc.. or simply remove it completly it depends on the situation...

however, your idea is great.
?? i think this hack is for usernames, not titles...
Reply With Quote
  #4  
Old 10-05-2002, 12:44 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im confused as to what this hack does?

- miSt
Reply With Quote
  #5  
Old 10-05-2002, 02:28 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It means that moderated unverified new users do not have their usernames as the Newest Member, only approved new users get shown.
Reply With Quote
  #6  
Old 10-05-2002, 02:51 PM
CJi CJi is offline
 
Join Date: Oct 2001
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like it!
Reply With Quote
  #7  
Old 10-05-2002, 10:11 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TECK
install a simple hack to remove the title lenght, like i did ands also block alot of offensive words.

if a user tries to post a huge title my forum will detect that and remove the extra repetead letters etc.. or simply remove it completly it depends on the situation...

however, your idea is great.
You always say stuff like you did on your forum, but I have never seen your forum active on the internet. "Soon Online". You have millions of members on your private server or something?
Reply With Quote
  #8  
Old 10-06-2002, 10:01 PM
jeffj jeffj is offline
 
Join Date: Jul 2002
Location: Chesapeake Bay
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin
It means that moderated unverified new users do not have their usernames as the Newest Member, only approved new users get shown.
thank you.... Erwin is exactly right.
In addition they do not show up in users on-line in the screen that is generated by online.php

- jeff
Reply With Quote
  #9  
Old 10-18-2002, 09:20 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by xiphoid
You always say stuff like you did on your forum, but I have never seen your forum active on the internet. "Soon Online". You have millions of members on your private server or something?
What I do with my forums is my own business, not yours, got it?
Reply With Quote
  #10  
Old 10-18-2002, 09:26 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by xiphoid


You always say stuff like you did on your forum, but I have never seen your forum active on the internet. "Soon Online". You have millions of members on your private server or something?
haha
Reply With Quote
Reply


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 06:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06724 seconds
  • Memory Usage 2,297KB
  • 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
  • (5)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
  • (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