Previous Thread
Next Thread
Print Thread
Hop To
#176236 01/31/2007 12:09 PM
Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
Does anyone know if I can ban users from particular countries - like "@*.ru" ?


UBB user since 1998
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
As you find them you could add them to the ban list.
I'm not too hot on the wildcard stuff.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

I'm not sure if Classic supports the wildcard character (*) or not -- you may be able to just use .ru -- give it a shot, can't hurt to try...



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
For some things it did, depending upon the version. I think that email bans did. I can't remember (so long ago) when we put in wildcarding for email bans.

Best advice is to try it. Add in *.ru in whatever form the control panel instructions give you, then log out and try to register with a .ru email address.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
I gave it a try - wildcard did not work. I guess I will have to wait until I upgrade in a few weeks smile


UBB user since 1998
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

I only said I wasn't sure because the examples (below) don't mention it. I have successfully (as far as I know) used simply example.com before, without the @ or *@.

Classic 6.7.2:
Quote
Email Ban List:
You may ban certain email addresses from registering on your forums.

To ban a specific email, type the full email address (as in, [email protected]).

To ban all email addresses from certain domain names, type an at sign then the domain name (as in @hotmail.com).

Put each banned email on its own line (hit the carriage return after each email entry to be banned).

The IP ban section doesn't mention wildcards either:
Quote
IP Ban List:
You may ban any IP numbers from registering, logging in, and posting.

Type in the complete IP number (such as 243.21.31.7), or use a partial IP number (such as 243.21.31.).

IP numbers are compared from the beginning of the number. If you enter a partial IP of 243.21.31, someone attempting to register who has an IP number of 243.21.31.5 will not be able to register, log in, or post.

Similarly, if you have an IP ban on 243.21, someone registering who has an IP of 243.21.3.44 will not be able to register, log in, or post.

Be careful when you add IPs to your ban list and be as specific as possible. As with the email ban list, put each IP number on its own line.

So yeah... give it a shot. wink


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1
Originally Posted by doug
I gave it a try - wildcard did not work. I guess I will have to wait until I upgrade in a few weeks smile


Did you try simply .ru?


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
To ban all email addresses from certain domain names, type an at sign then the domain name (as in @hotmail.com).

I'd go with jgeoff's advice, just .ru with no *


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
so just ".ru" - no "@" required?


UBB user since 1998
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
use the @, doug. I quoted what the control panel says in my quote. Do whatever it is that your control panel says to do.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
That doesn't work either. Thanks for all your help - I guess I need to update smile


UBB user since 1998
Joined: Nov 2006
Posts: 3,097
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,097
Likes: 1
Originally Posted by doug
That doesn't work either. Thanks for all your help - I guess I need to update smile

That sounds cool. Don't forget a solid backup of everything

Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1
Originally Posted by David Dreezer
To ban all email addresses from certain domain names, type an at sign then the domain name (as in @hotmail.com).

I'd go with jgeoff's advice, just .ru with no *
Originally Posted by doug
so just ".ru" - no "@" required?
Originally Posted by David Dreezer
use the @, doug. I quoted what the control panel says in my quote. Do whatever it is that your control panel says to do.


I'm confused now. laugh

If you don't know the domain name, can't really use the @ I would think...

It MAY work in Classic using simply .ru rather than *.ru -- one quick test and we'll know for sure. wink

But yeah, in Threads a simple %@%.ru should do it.


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
yes, my bad. I quoted your post, which quoted the control panel, and when I reiterated I left out the @ sign. I'd made a typo and in the process of cleaning it I deleted the @. Didn't notice until he picked up on it. Guess he's paying better attention than I am.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

Now I'm even more confused, thanks. laugh

So you're saying he should try  @.ru  ?


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
I'm saying he should do exactly what it says to do in his control panel (which I don't have in front of me).

You quoted it as saying use the @, right?

Quote
Email Ban List:
You may ban certain email addresses from registering on your forums.

To ban a specific email, type the full email address (as in, [email protected]).

To ban all email addresses from certain domain names, type an at sign then the domain name (as in @hotmail.com).

Put each banned email on its own line (hit the carriage return after each email entry to be banned).

Second line says it would look like this to me.

@.ru

Last edited by David Dreezer; 01/31/2007 8:13 PM. Reason: typo

This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

Okay, that's what I thought you meant. wink

But since (I'm pretty sure) I successfully just used domain.com rather than @domain.com, I figured perhaps .ru would work as well...

I can't test any of this since my Classic board is closed... maybe doug will try both and see...



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
I had previously tried using @.ru and that did not work but this morning I came back to this thread and have tried using .ru without the "@" and it worked smile

I will still be upgrading for other reasons though - thanks for your help on this.


UBB user since 1998
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

No problem cool


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
works good

Last edited by gliderdad; 02/03/2007 6:29 PM.
Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
Classic was designed to use the "chomp" command in the banning areas to save code and time. One of the things to remember when banning in the stock classic program is that you need to be very careful on what you ban.

Example: (Unless patched, I doubt it.)

If you ban the following:

mail.com

you also ban the following:

hotmail.com
gmail.com
snailmail.com

Pretty much anything that has the "mail.com" in that order in it

In the IP banning the example was used as 243.21.31 and 243.21

Same here from my experience so the following would be banned using an entry as 243.21.31

*.243.21.31
or
243.21.31.*

You don't need the wild card but this will indicate what how and where it will look using the stock banning system written with the chomp routine.

I hope this helps someone to understand how it works.

P.S. Hello Dave Dreezer, long time no see. How have you been?


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)