jjj0923
10-03-2002, 10:00 PM
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
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